cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate Alfresco 2.1 from windows to Linux

mouldy63
Champ in-the-making
Champ in-the-making
I'm after a bit of advice. I have a very old Alfresco installation, details below. It's been customised quite a lot. I'm looking to move it (and preferably upgrade it) to a Linux box, probably Redhat. What's the best way to go about this? I would imagine that the version is so old that upgrading it will be very difficult. If upgrading is too difficult, can I just copy the alfresco web app to tomcat on the new server, and do a database backup & restore? How would I get the content across.

I searched the forum but couldn't find anything applicable.

Thanks.

Version: 2.1
OS: Windows server 2003
DB: MySQL 4.1
App server: Tomcat 5.5
Java: 1.6
1 REPLY 1

michaelböckling
Champ in-the-making
Champ in-the-making
Hi Mouldy,

wow, that version is ancient!

If the system is customized too heavily, simply moving it to linux shouldn't be much of a problem. I would try this:
<ul>
  <li>install a plain 2.1 Alfresco on Linux, start it up and make sure everything works as it should (ImageMagick, OpenOffice etc.)</li>
  <li>stop the plain version and delete all data (contentstore, db & index) and the Alfresco webapp</li>
  <li>make a full backup of the current system, which means: contentstore, db, index and application code</li>
  <li>move the backup files to the linux system</li>
  <li>copy all the old code including customisations to the empty tomcat instance</li>
  <li>strt your new instance and hope for the best Smiley Happy</li>
</ul>
If you use the Alfresco provided Linux distributions to setup the plain instance, the problematic parts should be taken care of, like CIFS native code etc.

The backup is actually pretty straightforward. You just have to copy the Lucene index, the content store and do a database dump, and thats pretty much it. If you do it while Alfresco is shut down, theres not much that can go wrong, assuming your DB runs on Linux as well (MySQL instead of SQL Server).
All your code should be in tomcat/shared/classes and tomcat/webapps/alfresco, so if you copy that, you should be covered.

Best regards,
Michael Böckling