How To Upgrade CentOS 7.2 from CentOS 7.1/7.0

CentOS 7.2 Released. Recently latest version of CentOS 7.2 has been released. All the CentOS 7.1 and 7.0 users can upgrade their system to latest release. All the users running with WHM/cPanel don’t need to do anything. WHM/cPanel will automatically upgrade their operating system on next scheduled upgrade. If you are using CentOS without cPanel, this article is helpful for you for upgrading your current CentOS 7.x to latest CentOS 7.2
Upgrade Centos 7

1. Check Your CentOS Version

CentOS systems keep version details in /etc/redhat-release and /etc/centos-release. You just need to check content of one of these files.
# cat /etc/redhat-release  CentOS Linux release 7.1.1503 (Core) 

2. Backup Important Data

Before upgrading centos make sure you have taken backup of all your data to remote location. 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

3. Upgrade CentOS 7

Following are the steps to help you to upgrade CentOS to latest release. 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 

4. 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 Linux release 7.2.1511 (Core) 

Thanks for Visit Here

Comments