LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-18-2009, 10:45 AM   #1
support_ip
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Migration questions


Hi,

I have a Fedora Core 6 server and need to migrate the distribution to Centos but without loosing any configuration because I don't have all the information regarding all the application installed on this server.

Does anyone knows of a procedure for this migration?

Or is it really not recommended to do so ?

Thanks.

Eric
 
Old 08-18-2009, 11:59 AM   #2
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
i suggest you consult the list of installed applications on your server, then dump all the config files for them.

if you do this you will be in for a long and painful, excruciatingly painful slog at reconfiguring EVERYTHING

i personally would question as to whether the advantage of using centos is worth the hastle of migrating

this is a big goal you're setting yourself
 
Old 08-18-2009, 12:19 PM   #3
support_ip
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
RE: Migration questions

Thanks for the reply, I'll take it under consideration.
 
Old 08-18-2009, 02:01 PM   #4
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
excuse my curiosity, but what gains do you achieve by moving to centos over fedora core 6?
 
Old 08-18-2009, 02:50 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
FC6 has had no security updates in a couple of years. Centos has current updates and will continue to receive them until 2012(?). Centos has FF 3 in the repos, FC6 does not and will not(same goes for many packages). However, since Centos/RHEL5 was based on FC6 the migration process will be greatly simplified. The vast majority of your config files will just be a matter of swapping them in. As was said above back everything up first. After that I would do a clean install, install all your packages, and then swap in your backed up config files. For those packages you cannot find in one of the regular Centos repos you can usually do a direct install with FC6, you can also do this with rpms built for newer systems (F8 is probably the limit) but the further you get from FC6 the less likely they are to work without issue. The rpmforge has a lot of packages for el5 and atrpms is considered safe to use with other repos(unlike the issues with it on Fedora). For el5 livna/rpmfusion is basically useless, there are very few packages they support on el5.

Keep in mind that for the most part RHEL/Centos will not change the major revisions of most packages, but they do back patch those packages to be the equivalent (roughly) of current packages. An easy example of this is the kernel. RHEL/Centos5.X has a 2.6.18 based kernel and will have for its entire life cycle. However the current kernel (2.6.18-128.4.1.el5) is probably much closer to a vanilla .26 kernel than it is to a vanilla .18 kernel. Many of the packages on the system will follow a similar path.

Last edited by lazlow; 08-18-2009 at 02:53 PM.
 
Old 08-19-2009, 08:07 AM   #6
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
perhapse you should consider migrating distro by distro from fc6 to f10 by updating your repo's and updating, there are some tutorials on the net as to how to do this, however it is not recommended by fedora's developers, also you should consider going over to ubuntu if you plan to change code base, they maintain security updates up til 4 years after release and actively support distro upgrades.
 
Old 08-19-2009, 12:21 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Upgrading FC6 via yum is particularly troublesome. Fedora 7 and later versions dropped the hdX drive designations for pata. They use the sdX designations for both pata and sata (most distros will eventually go this way, with time frame probably in years). But FC6 still uses the hdX designations. In a very high percentage of attempts the system gets lost when a drive goes from being called hda to sda and if you have a mixed sata/pata environment it gets further complicated becuase hda can(but not always, 50/50) become sda which moves sda to sdb. This is in addition to all the normal things that can (and often do) go wrong trying to use a yum update.

Last edited by lazlow; 08-19-2009 at 12:23 PM.
 
Old 08-19-2009, 04:59 PM   #8
athmane
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 1
Hi All,

It's known than RHEL 5 (and CentOS 5) is based on Fedora [Core] 6, so i think that the migration will be relatively easy, but it depend on the kind of the server, you can use the list of the installed groups to get an idea about the server.

Code:
# yum grouplist
[...]
Installed Groups:
   DNS Name Server
   Editors
   Mail Server
   MySQL Database
   Network Servers
   System Tools
   Text-based Internet
   Web Server
   Yum Utilities
Available Groups:
   Administration Tools
   Authoring and Publishing   
   [...]
   Virtualization
   Web Development
   Window Managers
   Windows File Server
   X Software Development
   X Window System
   XFCE-4.4
Done
 
Old 08-21-2009, 12:26 PM   #9
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
ok, my lack of knowledge in the red hat side of linux is my downfall here, i was under the impression that centos was a distro that had it's roots in a vanila kernel rather than a RHEL5 kernel, my mistake
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows migration questions enyawix Linux - Software 3 05-16-2009 03:54 PM
Quick questions about Slackware migration civint Slackware 4 03-01-2007 05:50 AM
Questions about possible migration KezzerDrix Ubuntu 1 04-05-2005 05:52 PM
Migration from Windows to Linux questions? nihat10 Linux - Software 1 11-09-2004 09:26 PM
Migration from Redhat to Slackware... Some Questions. Hendrix Slackware 4 09-04-2003 10:38 PM


All times are GMT -5. The time now is 07:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration