The Latest version CentOS 7.7 is available to upgrade. All the CentOS 7.6, 7.5, 7.4, 7.3, 7.2 7.1 and 7.0 users can upgrade their system to the latest release. All the users running with WHM/cPanel don’t need to do anything. WHM/cPanel will automatically upgrade its operating system to the next scheduled upgrade. If you are using CentOS without cPanel, this article is helpful for you for upgrading your current CentOS 7.x to the latest CentOS 7.6.
Step 1 – Check Current CentOS Version
CentOS systems keep version details in
cat /etc/centos-release CentOS Linux release 7.6.1810 (Core)
Step 2 – Backup Important Data
Before upgrading centos make sure you have taken a backup of all your data to the remote location. Below are a few suggested items to 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 3 – Upgrade to CentOS 7.7
The following are the steps to help you to upgrade CentOS to the 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.
Step 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.7.1908 (Core)