Installation, Backup and Restore Procedure for Alfresco community edition.
Comments
Content
Alfresco Installation Procedure
Requirements : 1. Fresh Installation of a ubuntu 9.04 Desktop Edition 32Bit. 2. Mysql 3. phpMyadmin Steps : 1) Open the terminal window and login as root. Follow these steps, if installing alfresco on other ubuntu versions. 1) Edit the source.list file using the following command : nano /etc/apt/source.list Find the below lines : # deb http://archive.canonical.com/ubuntu jaunty partner # debsrc http://archive.canonical.com/ubuntu jaunty partner and remove the comments available infront of these lines. 2) Now save the file by pressing the “Ctrl+O” buttons and then press “Enter” button. 3) Press “Ctrl+X” to exit the editing file. 4) Update the repositories using the following command : aptget update 2) Install the alfresco community version using the following command : aptget install alfrescocommunity 3) Enter the mysql admin password, to accept the Sun Java license, configure the alfresco database username and password (the default is to choose alfresco/alfresco), allow for the automatic configuration of tomcat.
Backup Procedure : 1) Stop the tomcat server using the following command : /etc/init.d/tomcat6 stop 2) Login as root and copy the “alfresco” folder from “/var/lib” folder without changing the permissions. Terminal Method : scp r p /var/lib/alfresco root@(destination ip):/(destination path) 3) In phpMyadmin, export the “alfresco” database. 4) Start the tomcat server using the following command : /etc/init.d/tomcat6 start Restoring Procedure : 1) Stop the tomcat server using the following command : /etc/init.d/tomcat6 stop 2) Login as root and replace the “alfresco” folder in the “/var/lib” folder without changing the permissions. Terminal Method : scp r p (source file location) root@(destination ip):/var/lib/alfresco 3) In phpMyadmin, drop the “alfresco” database. 4) Create a new database named “alfresco” and import the database to restore. 5) Start the tomcat server using the following command : /etc/init.d/tomcat6 start