LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-19-2010, 08:00 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Rep: Reputation: 39
Upgrading from Fedora Core 7 to CentOS 5.4


Hi there --

I need to upgrade one of our systems from its current distribution, Fedora Core 7, to the most recent version distribution, release 5.4, of the CentOS operating system. Can I do an in-place upgrade of the operating system without any adverse side-effects? Are there any issues that I should be concerned with before proceeding? Thanks.
 
Old 01-19-2010, 08:23 AM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
Ive update several Fedora Core 2 machines to CentOS 5.2 with little to no issues. You should be able to adjust this to CentOS 5.4 but I have not upgraded any to 5.4.




I posted a how to here. Read it a few times and maybe find a practice server to test it on to make sure you have any bugs worked out for your setup.

http://www.linuxquestions.org/questi...-2ways-639140/
 
Old 01-19-2010, 10:14 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,646

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
*

Be careful, CentOS 5.4 is Fedora 6 based.

So some packages are older versions than the Fedora 7 ones.
 
Old 01-19-2010, 10:17 AM   #4
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Original Poster
Rep: Reputation: 39
Hi there --

Thanks for your reply. Correct me if I am wrong, but isn't CentOS 5.4 based on the RHEL 5, as opposed to Fedora Core 6? Please pardon my ignorance.
 
Old 01-19-2010, 10:35 AM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
CentOS 5.4 is a clone of RHEL 5.4 which is based on Fedora Core 6.


Actually I think RHEL 5 is based on Fedora Core 6. 5.+ are probably based on newer versions of Fedora than 6. I've used Fedora 8-9 packages for CentOS 5.2.

Last edited by ncsuapex; 01-19-2010 at 10:38 AM. Reason: .
 
1 members found this post helpful.
Old 01-19-2010, 11:03 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,646

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
http://mirror.centos.org/centos/5.4/os/i386/CentOS/
grep fc6 CentOS-5.4-file-list
.. shows 143 original fc6 packages.
And there are hundreds ( thousands ? ) of those,
but marked el5.

RH versions http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux
.....
Attached Files
File Type: txt grep-fc6.txt (8.7 KB, 2 views)

Last edited by knudfl; 01-19-2010 at 11:13 AM.
 
Old 01-20-2010, 07:27 AM   #7
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Original Poster
Rep: Reputation: 39
It would appear there could be some problems transitioning from Fedora to CentOS in this scenario. That being the case, it would probably be easier to go from Fedora Core 7 to the Fedora Core 12 distribution. What do you think?
 
Old 01-20-2010, 07:59 AM   #8
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
If you have a test server I'd give it a shot. I'm kind of curious to see what would happen. But I would NOT upgrade a production server for now doing this method.
 
Old 01-20-2010, 04:18 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,914

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
they ARE TWO different opperating systems .They are similar and share SOME things -- but NOT ALL .

you can try but do not expect the results to work .
can you say " Frankenstein "

just use your backups of data and do a fresh install
then import the data
 
Old 01-20-2010, 07:29 PM   #10
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
For a prod server, definitely do a clean install. Look at it this way, if the target was RHEL instead of Centos, RH would NOT support it.
Doesn't mean it can't be physically done of course, but I wouldn't trust it in the long term.
 
Old 01-21-2010, 09:41 AM   #11
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
I cant speak from experience on going from Fedora Core 7 to CentOS 5.4 but I have done FC2 to CentOS 5.2 upgrades probably a hundred times, most in testing but I do have 20-30 production machines that I have upgraded from FC2 to CentOS 5.2 and have had 0(ZERO) problems with them. The only issue I had was with the apaches modules section in httpd.conf. I had to remove the modules sections from the old httpd.conf and insert the module section that comes with httpd.conf on CentOS 5.2 and it worked perfectly.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading fedora core 6 to core 8 surverma Fedora - Installation 3 11-28-2007 11:13 PM
Upgrading Fedora Core 2 to Core 3 Dummy-in-Linux Linux - Newbie 5 11-11-2004 10:45 AM
Upgrading to Fedora Core 2 dvishloff Fedora - Installation 1 09-23-2004 06:38 AM
Upgrading to fedora core 2 corbis_demon Linux - Newbie 3 06-28-2004 07:19 AM
Upgrading via Internet Fedora Core 1 to Fedora Core 2 cdean Linux - Newbie 2 05-30-2004 11:14 PM


All times are GMT -5. The time now is 05:07 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