July 25, 2014

Upgrading CentOS 5.5 to CentOS 5.6

Before upgrading CentOS 5.5 to 5.6 it cannot be stressed enough how important it is to make a backup of your system before you do this. Actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell.

Clean All Packages

# yum clean all

The following command will get a list of packages that are going to be updated.

# yum list updates

Upgrade CentOS 5.5 to 5.6

# yum update

Finally reboot the server for Kernel changes to take effect

# reboot

Verify that CentOS 5.6 is working:

# cat /etc/redhat-release
CentOS release 5.6 (Final)

Or:

# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.6 (Final)
Release: 5.6
Codename: Final

Or:

# rpm -q centos-release
centos-release-5-6.el5.centos.1

  • http://www.lotto-results.co.za Powerball Results

    Thank you for this, very precise!  I even clicked on a ad for your troubles

  • http://www.facebook.com/people/Sunil-Giri/100000013280394 Sunil Giri

    Thankyou verymuch. 

  • http://www.facebook.com/people/Sunil-Giri/100000013280394 Sunil Giri

    good one
     

  • Dave F.

    Now that 5.9 is released, how can I get it to stop on 5.6?