Link to home
Start Free TrialLog in
Avatar of migarama1
migarama1

asked on

Migrate a lamp server to new hardware (Centos 5.3)

I need to move my LAMP installation (Centos 5.3, Apache 2, Mysql, Bind, Postfix, all the installed Perl modules, SSL certificate etc.)

to new hardware

old hardware: compaq proliant DL360 g3 in RAID 1 (2 disks à 30GB)
new: Compaq Proliant DL360 g3 in RAID 1 (2 disks à 130GB)

Now my question: what is the simplest way to achieve this?

- have I to install centos 5.3 on the new server, or can I create an image of the old server?
- it would be great if someone could help with a STEP BY STEP guide

Current status: RAID 1 has been configured on the new server

Thanks
Avatar of elf_bin
elf_bin

Simplest way?  Keep the disks the same (RAID and so on) and use clonezilla (http://clonezilla.org/) to clone the entire machine to the new one (remembering to switch off the old one before you switch on the new one).  You may have a few issues with hardware drivers, but the OS *should* sort that out for you.
Avatar of migarama1

ASKER

The old server is co-located in another city. Best would be if I could setup the new box at home and once finished, bring it in to the server center.

Installation of Centos on the new box is not a problem. I need to know which folder I need from the old machine to preserve theconfiguration of httpd, Mysql, Bind, Postfix, all the installed Perl modules, SSL certificate etc.

So I could pack each folder and download it
i.e. the folder /home with all the web data
 

ASKER CERTIFIED SOLUTION
Avatar of elf_bin
elf_bin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial