Monday, November 24, 2008

Convert RHEL5 to CentOS5

I bet everyone will be wanting to know this.

OK,  start with downloading the following from CentOS

RPM-GPG-KEY-CentOS-5
centos-release
centos-release-notes
yum
yum-updatesd

Un-install the following:

rpm -e --nodeps redhat-release
rpm -e --nodeps yum-rhn-plugin

Add the CentOS key:

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

Then add all the rpm's you downloadedL

rpm -Uhv *rpm

The system is ready, run:

yum -y upgrade

Done.


No comments: