Monday, 23 November 2015


Migrate Alfresco Data from windows to Linux

i have installed alfresco community edition with mysql

to back up data from windows server 2008 to linux rhel do the following steps

1. Stop Alfresco server if it is running
2  Copy all data from alf_data from windows server to linux server
3. backup database alfresco with mysql dump
4. change  data.dir.root  setting in  solarcore.proporties  in alf_data\solr\workspace-SpacesStore\conf for searching to work properly
5.restore database that was back up properly
  
    

Sunday, 22 November 2015

Creating a hello world in Alfresco

Create a file hello.get.desc.xml with the fillowing content



<webscript>
<shortname>hello world</shortname>
<discription>Hello world example</discription>
<url>/helloworld</url>
</webscript>

now create a file hello.get.html.ftl

<html>
<body>
<p>hello</p>
</body>
</html>

copy both file in /tomcat/share/extention/tamplates/webscripts

create directory /templates/webscripts if not present