Converting RHEL6 to CentOS6
yum clean all
mkdir CentOS_downloads
cd CentOS_downloads
wget http://www.gtlib.gatech.edu/pub/centos/6.4/os/x86_64/Packages/centos-release-6-4.el6.centos.10.x86_64.rpm
wget http://www.gtlib.gatech.edu/pub/centos/6.4/os/x86_64/RPM-GPG-KEY-CentOS-6
wget http://www.gtlib.gatech.edu/pub/centos/6.4/os/x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm
wget http://www.gtlib.gatech.edu/pub/centos/6.4/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
wget http://www.gtlib.gatech.edu/pub/centos/6.4/os/x86_64/Packages/yum-utils-1.1.30-14.el6.noarch.rpm
rpm –root /yourroot/ –import RPM-GPG-KEY-CentOS-6
rpm –root /yourroot/ -e –nodeps redhat-release-server
rpm –root /yourroot/ -e yum-rhn-plugin rhn-check rhnsd rhn-setup rhn-setup-gnome
rpm –root /yourroot/ -Uvh –force *.rpm
yum –installroot=/yourroot/ upgrade