LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubunut to CentOS with tar =) (https://www.linuxquestions.org/questions/linux-newbie-8/ubunut-to-centos-with-tar-%3D-909704/)

ochieman2000 10-23-2011 05:27 PM

Ubunut to CentOS with tar =)
 
Hello, so I have a ubunut server running, it host a wordpress, minecraft, and soon a mail server soon. The issue I have is I want to migrate to CentOS.

I used tar and added my entire directory to it. So I have this large tar with -cpvzf

Now I have sent copied them over and extracted them to the new centos system but I have a thought. Is it possible to unload them to a centos install and not have to redoo all the configs and such?

I feel the answer will be no as ubuntu and centos are VERY different cause centos is rpm.

Thanks Again everyone =)

btmiller 10-24-2011 06:05 AM

In principle it would be possible to do a live migration from Ubuntu to CentOS (after all Linux From Scratch can be built from a different host distribution or LiveCD), but honestly the process would be so complex and error-prone you'd most likely render your system non-functional. If it were me, I'd just install CentOS on the server as usual, wiping out the Ubuntu server install, and then manually install the server and other software that you need. Make sure you take a full backup of the Ubuntu server before doing this (you might even want to use something like Clonezilla to produce a bootable bare metal recovery disk in case something goes wrong). You also should verify the back-up of the old server before proceeding.


All times are GMT -5. The time now is 09:29 PM.