How to Convert RHEL 5 to CentOS 5

by

Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUponShare on VKBuffer this page

Question : How to  convert RHEL5 to Centos 5,x ?   (tutorial updated 11/11/2009)

centos

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