If you are new to Unixmen, you may want to subscribe : ![]()
![]()
![]()
![]()
|
25 May 2009
Posted in
Linux tutorials -
Frequently Asked Questions
Question : How to convert RHEL5 to Centos 5,x ? (tutorial updated 11/11/2009)
![]()
Answer : Some times you have to change from paid world to the free world, this is the way to convert your paid or your non licensed Linux RHEL to the Free cenots OS .
Under root ,
yum clean all
mkdir ~/centos
cd ~/centos/
wget http://mirror.centos.org/centos/5.4/os/i386/RPM-GPG-KEY-CentOS-5
wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/centos-release-5-4.el5.centos.1.i386.rpm
wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/centos-release-notes-5.4-4.i386.rpm
wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
rpm –import RPM-GPG-KEY-CentOS-5
rpm -e –nodeps redhat-release
rpm -e yum-rhn-plugin
rpm -Uvh –force *.rpm
yum upgrade
Now you will notice that the RHN messages are gone.
you are done , Now reboot for System
NB : I tried this method and worked for me fine, I have no warranty that will work for you either, please repport any issue in our Forum
Related Articles By Tags:
-
2009-06-13 11:49:06 | Aravind - System Admin

Hi,
Good Job i worked for me as well. Link to the packages is outdated now pls update
Regards,
Aravind G V
-
2009-07-23 07:36:11 | Mike Hanby - Updated package list

Here's the updated package list (for x86_64) using CentOS 5.3
$ mkdir ~/centos5
$ cd ~/centos5
$ wget http://mirror.centos.org/centos/RPM-GPG-KEY- CentOS-5
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-5-3.el5.centos.1.x86_64.rpm
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-notes-5.3-3.x86_64.rpm
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-metadata-parser-1.1.2-2.el5.x86_64.rpm
$ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
-
2009-08-18 13:43:39 |Administrator| pirat9

#yum clean all
#mkdir ~/packages
#cd ~/packages/
#wget http://mirror.centos.org/centos/5.3/os/i386/RPM- GPG-KEY-CentOS-5
#wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/centos-release-5-3.el5.centos.1.i386.rpm
#wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/centos-release-notes-5.3-3.i386.rpm
#wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/yum-3.2.19-18.el5.centos.noarch.rpm#wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
#rpm –import RPM-GPG-KEY-CentOS-5
#rpm -e –nodeps redhat-release
#rpm -e yum-rhn-plugin
#rpm -Uvh –force *.rpm
#yum upgrade
-
2009-12-28 13:24:29 | Junko - Red Hat to CentOS 5.4 x86_64

yum clean all
mkdir centos ;cd centoswget http://mirror.centos.org/centos/5/os/x86_64/RPM- GPG-KEY-CentOS-5
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-5-4.el5.centos.1.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-notes-5.4-4.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-metadata-parser-1.1.2- 3.el5.centos.x86_64.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-fastestmirror-1.1.16- 13.el5.centos.noarch.rpmrpm --import RPM-GPG-KEY-CentOS-5
rpm -e --nodeps redhat-release
rpm -e yum-rhn-plugin
rpm -Uvh --force *.rpm
yum upgrade
-
2009-12-28 23:15:43 | Topherdev - RHEL 5.3 to CentOS 5.4 under VMware

Thanks for the article PIRAT9.
My upgrade required this package too:
wget://http://mirror.centos.org/centos/5.4/os/ i386/CentOS/yum-fastestmirror-1.1.16- 13.el5.centos.noarch.rpm
-
2010-04-07 06:46:42 | Dylan - RHEL 5.2 to Centos 5.4 under VMware

Hi guys,
Just to let you know I didn't have to be as forceful:Code:
rpm --import RPM-GPG-KEY-CentOS-5
rpm -e yum-rhn-plugin
rpm -Uvh centos-release-5-4.el5.centos.1.x86_64.rpm centos-release-notes-5.4-4.x86_64.rpm
rpm -Uvh yum-*
yum upgrade
| < Prev | Next > |
|---|


Will this work on a Dell Poweredge server with an active RAID?
thx