Alfresco Ubuntu Installation and Backup Procedure

Embed Size (px)

DESCRIPTION

Installation, Backup and Restore Procedure for Alfresco community edition.

Citation preview

AlfrescoInstallationProcedureRequirements: 1. FreshInstallationofaubuntu9.04DesktopEdition32Bit. 2. Mysql 3. phpMyadmin Steps: 1) Opentheterminalwindowandloginasroot. Followthesesteps,ifinstallingalfrescoonotherubuntuversions. 1) Editthesource.listfileusingthefollowingcommand: nano/etc/apt/source.list Findthebelowlines: #debhttp://archive.canonical.com/ubuntujauntypartner #debsrchttp://archive.canonical.com/ubuntujauntypartner andremovethecommentsavailableinfrontoftheselines. 2) NowsavethefilebypressingtheCtrl+ObuttonsandthenpressEnterbutton. 3) PressCtrl+Xtoexittheeditingfile. 4) Updatetherepositoriesusingthefollowingcommand: aptgetupdate 2) Installthealfrescocommunityversionusingthefollowingcommand: aptgetinstallalfrescocommunity 3) Enterthemysqladminpassword,toaccepttheSunJavalicense,configurethealfresco databaseusernameandpassword(thedefaultistochoosealfresco/alfresco),allowforthe automaticconfigurationoftomcat.

BackupProcedure: 1) Stopthetomcatserverusingthefollowingcommand: /etc/init.d/tomcat6stop 2) Loginasrootandcopythealfrescofolderfrom/var/libfolderwithoutchangingthe permissions. TerminalMethod: scprp/var/lib/alfrescoroot@(destinationip):/(destinationpath) 3) InphpMyadmin,exportthealfrescodatabase. 4) Startthetomcatserverusingthefollowingcommand: /etc/init.d/tomcat6start RestoringProcedure: 1) Stopthetomcatserverusingthefollowingcommand: /etc/init.d/tomcat6stop 2) Loginasrootandreplacethealfrescofolderinthe/var/libfolderwithoutchangingthe permissions. TerminalMethod: scprp(sourcefilelocation)root@(destinationip):/var/lib/alfresco 3) InphpMyadmin,dropthealfrescodatabase. 4) Createanewdatabasenamedalfrescoandimportthedatabasetorestore. 5) Startthetomcatserverusingthefollowingcommand: /etc/init.d/tomcat6start