How to Upgrade CentOS 7.7 from CentOS 7.6-7.0

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 /etc/redhat-release and /etc/centos-release. You just need to check content of one of these files.

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.

# reboot

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)

All done.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值