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
  5. # wget
  6. # wget
  7. # wget
  8. # wget
  9. # wget
  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.