Switch from RHEL5 to CentOS5

If it doesn't fit in another category, ask it here.

Switch from RHEL5 to CentOS5

Postby t1shopper » 2009/12/03 23:37:58

I don't believe we're getting our money's worth for our $500 per year RHEL5 license so we want to move over to CentOS and donate the money here instead.

Since we run a really basic server (PHP5, MySQL5, Apache2) I believe all we need to do is change the repositories over but having never done that, can you point me to instructions? (I saw the thread here but it's from 2007 so maybe it's out-of-date?)
[font=Courier]
$ uname -a
2.6.18-164.2.1.el5 #1 SMP Mon Sep 21 04:37:42 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/*release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

---== YUM Config files ==---
/etc/yum/yum-updatesd.conf
/etc/yum/pluginconf.d/rhnplugin.conf
/etc/yum/pluginconf.d/security.conf
/etc/yum.repos.d/adobe-linux-i386.repo
/etc/yum.repos.d/pidgin.repo
/etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[/font]
t1shopper
 
Posts: 21
Joined: 2009/12/03 23:15:27

Re: Switch from RHEL5 to CentOS5

Postby toracat » 2009/12/04 01:00:50

The CentOS Wiki article (thanks to pschaff):

http://wiki.centos.org/HowTos/MigrationGuide

will help you. Look for the "Migration from RHEL5 to CentOS5" section.
User avatar
toracat
Forum Moderator
 
Posts: 7005
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Switch from RHEL5 to CentOS5

Postby t1shopper » 2009/12/04 06:32:44

If I'm reading the migration guide correctly it seems drastic to remove all RHEL rpm's with [font=Courier]$ rpm -e [/font] then reinstall everything?

At this time, I just want a way to keep up on security patches - not wipe everything clean.

I had thought we could just "use CentOS for updates?" Is that possible? We have tons of PHP code and MySQL databases running - if we switch out the PHP and MySQL rpm's I just don't believe that - especially the MySQL databases - would come back up. We'd probably need to do restores on the databases.

$100 donated to CentOS immediately for solid steps on how to migrate over smoothly.
t1shopper
 
Posts: 21
Joined: 2009/12/03 23:15:27

Re: Switch from RHEL5 to CentOS5

Postby adebened » 2009/12/04 07:52:06

Hello,

The last section of the above howto ("Migration from RHEL5 to CentOS5") should be all that's required. After that, when you do a yum update, packages will automatically be hauled in from the CentOS repositories instead of RHEL. You won't need to delete any other packages than the four mentioned in the howto. The migration is quite smooth from what I recall (I did it to a machine once). I think there was some very minor issue with the package desktop-backgrounds-basic but the post here, near the bottom, tells you how to get around that (it might not even be a problem anymore).

$100 donated to CentOS immediately for solid steps on how to migrate over smoothly.

Umm...
adebened
 
Posts: 290
Joined: 2007/04/16 22:03:20

Re: Switch from RHEL5 to CentOS5

Postby pschaff » 2009/12/04 18:56:33

t1shopper wrote:
If I'm reading the migration guide correctly it seems drastic to remove all RHEL rpm's with [font=Courier]$ rpm -e [/font] then reinstall everything?

Not sure why you consider removing 4 RPMs (redhat-release-notes redhat-release yum-rhn-plugin redhat-logos) and installing 3 (centos-release centos-release-notes redhat-logos) "drastic".

At this time, I just want a way to keep up on security patches - not wipe everything clean.

I had thought we could just "use CentOS for updates?" Is that possible? We have tons of PHP code and MySQL databases running - if we switch out the PHP and MySQL rpm's I just don't believe that - especially the MySQL databases - would come back up. We'd probably need to do restores on the databases.

$100 donated to CentOS immediately for solid steps on how to migrate over smoothly.

The documented procedure should provide what you say you want. The CentOS donation policy seems to still be under review, so perhaps you could offer to buy the developers a brew. :-)
pschaff
Retired Moderator
 
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: Switch from RHEL5 to CentOS5

Postby t1shopper » 2009/12/10 20:03:36

adebened & pschaff: Thank you , I missed it that it's only removing 4 RPMs! Thank you. So now since I cannot give money to CentOS, how do I buy developers a brew? Seriously.
t1shopper
 
Posts: 21
Joined: 2009/12/03 23:15:27

Re: Switch from RHEL5 to CentOS5

Postby toracat » 2009/12/10 20:48:13

t1shopper wrote:
how do I buy developers a brew? Seriously.

By going to one of these beer events if you are in the London or Berlin area:

http://wiki.centos.org/Events/BeerEvent
User avatar
toracat
Forum Moderator
 
Posts: 7005
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Switch from RHEL5 to CentOS5

Postby t1shopper » 2009/12/14 01:17:38

Humm. I'm in California, USA. How about this: http://www.mrbeer.com/category-exec/category_id/181
t1shopper
 
Posts: 21
Joined: 2009/12/03 23:15:27

Re: Switch from RHEL5 to CentOS5

Postby toracat » 2009/12/14 15:29:49

Being in California, I should offer to collect, brew and drink the beer on the CentOS devs behalf. [Thanks, Alan, for this advice] :-D
User avatar
toracat
Forum Moderator
 
Posts: 7005
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Switch from RHEL5 to CentOS5

Postby AlanBartlett » 2009/12/14 16:04:14

The other alternative would be to put aside whatever sum of money you would like to donate -- until such time as monetary donations can be accepted once again.

Those of us who are accustomed with the CentOS project instinctively know that things move very slowly in CentOS-devs land.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 9193
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Next

Return to CentOS 5 - Miscellaneous Questions

Who is online

Users browsing this forum: No registered users and 0 guests