Step 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.
Step 2 – Backup Important Data
Before upgrading centos make sure you have taken backup of all your data to the remote location. Below are 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 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.
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.
No comments:
Post a Comment