Convert RHEL 6.2 to CentOS 6.x

Posted on April 17, 2013

0


# yum clean all
# rpm -e subscription-manager

# mkdir /root/centos
# cd /root/centos

# wget http://mirror.centos.org/centos/6.3/os/x86_64/RPM-GPG-KEY-CentOS-6
# wget http://mirror.centos.org/centos/6.3/os/x86_64/Packages/centos-release-6-3.el6.centos.9.x86_64.rpm
# wget http://mirror.centos.org/centos/6.3/os/x86_64/Packages/yum-3.2.29-30.el6.centos.noarch.rpm
# wget http://mirror.centos.org/centos/6.3/os/x86_64/Packages/yum-utils-1.1.30-14.el6.noarch.rpm
# wget http://mirror.centos.org/centos/6.3/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm

# rpm –import RPM-GPG-KEY-CentOS-6
# rpm -e –nodeps redhat-release-server
# rpm -e yum-rhn-plugin rhn-setup rhn-check rhn-setup-gnome rhnsd (if this is not removing you can do yum remove yum-rhn-plugin rhn-setup rhn-check rhn-setup-gnome rhnsd)
# rpm -Uhv –force *.rpm

Not you can try yum install PackageName

Advertisements
Posted in: Tech News