How To Upgrade CentOS to latest version

CentOS 7.2 has recently Released. All the CentOS clients can upgrade their framework to most recent discharge. Clients running with WHM/cPanel don’t have to do anything. WHM/cPanel will consequently update their working system on next planned upgrade. On the off chance that you are utilizing CentOS without cPanel, you can follow this article to update your current CentOS 7.x to most recent CentOS 7.2

You can check your current version by using below command:

cat /etc/redhat-release

Before upgrading your CentOS version make sure to have backup of all your data to remote location.

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

Now following steps help you to upgrade CentOS to latest version:


yum clean all
yum update

On the successful completion of above command reboot your system:


Now to verify that your system has been successfully upgraded, check the following:

# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)