How to Upgrade CentOS 6.6 from CentOS 6.5/6.4/6.3/6.2/6.1/6.0

CentOS 6.6 has been released, If you are using older version 6.x release of CentOS, this article will help to upgrade to 6.6. This new release has lots of security changes and updates of packages. Currently my server is running with CentOS 6.5. Follow the below steps

Check Current CentOS Release:

/etc/redhat-release is the file having the current version of CentOS running on your system. Use following command to check the current release.

# cat /etc/redhat-release

CentOS release 6.5 (Final)

Upgrade CentOS to Latest Release:

Following are the steps to help you to upgrade CentOS to latest release. Before upgrading centos make sure you have taken backup of all your data to remote location.

For you reference,below the items, you may need to backup first.. It may be there are more database.. So take a backup of all your data first.

Step 1: Backup Important Data

Below is few suggested items to take backup.

  • Backup all databases ( MySQL, PostgreSQL, etc.. )
  • Backup all configuration files ( Apache, PHP, MySQL, DNS and Other services )
  • Backup all websites data running in webserver
  • Backup other service if any running on system

Step 2: Upgrade CentOS

Use yum upgrade command to upgrade your current running system.

# yum clean all
# yum update

After successful completion of above command just reboot your system.

# reboot

Step 3: Verify Upgrade

Finally verify that your system has been upgraded successfully. To confirm it check the /etc/redhat-release file content.

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


Founder of I love to work with Linux and other open source application. Also I like to share knowledge with my friends and other Linux users. Follow me on Twitter, Add me on Google+ or Like Facebook page.

1 Comment

  1. Why not use …

    yum -y upgrade

    it removes obsolete packages.

Leave a Reply


Support us!

If you like this site please help and make click on any of these buttons!