Upgrading CentOS 7.x to CentOS 7.9

1.Open the terminal or SSH into the Linux system.

 

2.Log in to the system using root privileges.

 

3.To check the current system version, use the following command:

  • cat /etc/ redhat-release 

 

4.To upgrade to CentOS 7.9 operating system, run the following commands:

  • yum install update -y 

"yum install <package_name>": The command "<package_name>" is used to install a specific software package. You need to replace "<package_name>" with the actual name of the package you want to install. Adding the "-y" option allows for automatic confirmation of prompts during the installation process. "yum update" is used to update all installed software packages in the system to their latest versions.

 

 

 

The installation process may take some time. Please wait for the installation to complete. When you see the message "Complete!", it means that the installation is finished.

 

 

5.You can use the command "cat /etc/redhat-release" to check if you have successfully upgraded to CentOS 7.9.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to switch to a different repository for CentOS 8 EOL

 CentOS 8 reached its end of life at the end of 2021. When using yum repositories for...

To change the network interface name in CentOS 7.x

一.modify GRUB 1.Edit the GRUB configuration file by running the command: `vi...

To modify the hostname on CentOS

Method One:   1.Open a terminal or SSH into the Linux system. 2.Log in to the system with...

An incorrect configuration in the /etc/fstab file on the Linux system is causing login issues

Encountering communication issues with the machine, I checked the system error messages through...

How to use the atop monitoring tool in Linux

Atop is a monitoring tool used to monitor resources and processes in Linux systems. It...