How to convert RHEL 5 to Centos 5

Step 1 : 

rpm -e --nodeps redhat-release

Step 2 : 

rpm -e --nodeps yum-rhn-plugin

Step 3 :

wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

Step 4 :

rpm --import RPM-GPG-KEY-CentOS-5

Step 5 :

rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-notes-5.3-3.x86_64.rpm

Step 6 :

rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-5-3.el5.centos.1.x86_64.rpm

Step 7 :

wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm

Step 8 :

yum clean all
yum update

Post to Twitter

This entry was posted in centos, RHEL. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>