Skip to content

Convert RHEL 6 to CentOS 6.3

Every so often I search the Internet and I find what I am looking for to solve a problem.  This site has all of the steps to do what I wanted to do.  I have a server at my house that has been turned off for a few months.  It had an expired RHEL 6 license and I did not want to continue to pay for the subscription since the client that I built it for was no longer my customer.  I did want to continue to use the server so I wanted to convert it to CentOS.  I found some simple steps and then I tweaked them for the current release.

So these are the steps to upgrade from RHEL 6 to CentOS 6.3

  1. # yum clean all
  2. # mkdir ~/centos
  3. # cd ~/centos
  4. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/RPM-GPG-KEY-CentOS-6
  5. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/centos-release-6-3.el6.centos.9.x86_64.rpm
  6. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/yum-3.2.29-30.el6.centos.noarch.rpm
  7. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/yum-3.2.29-30.el6.centos.noarch.rpm
  8. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/yum-utils-1.1.30-14.el6.noarch.rpm
  9. # wget http://mirror.centos.org/centos-6/6.3/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
  10. # rpm –import RPM-GPG-KEY-CentOS-6
  11. # rpm -e –nodeps redhat-release-server
  12. # rpm -e yum-rhn-plugin rhn-check rhnsd rhn-setup rhn-setup-gnome
  13. # yum upgrade

As I write this my system is downloading all updates and doing the updating. I’ll know everything is OK after a reboot.