Install security updates/patches only on CentOS 8
The
You can download this article in PDF format to support us through the following link.
Download the guide in PDF format
turn off
The
The
The
CentOS Linux provides information about security vulnerabilities affecting operating system components and services in the form of security bulletins. Keeping the system updated and ensuring that there are no security holes is OKR for any Linux Sysadmin.
In this article, we will discuss how to update installed packages on CentOS systems to improve security. This is necessary if you have a critical application running in production and you are worried about application damage due to an upgrade in dependencies.
You can use the following command to list the security updates for CentOS 8 Linux machines:
sudo yum updateinfo list updates security
Install security updates only on CentOS 8 Linux
If you want to display the list of security updates installed on the system, use the following command:
$ sudo yum updateinfo list security installed
To install all security updates, use the following command:
sudo yum update --security
Please note that no --security
Parameter, the yum command will install all updates that contain bug fixes and enhancements.
Confirm the installation by pressing the y key:
.......
Transaction Summary
===========================================
Upgrade ... Packages
Total download size: ... M
Is this ok [y/d/N]: y
You can confirm whether all processes need to be restarted after installing the updated software package:
sudo yum needs-restarting
If you want to lock the update to a specific version of CentOS Linux, first set up the release:
sudo subscription-manager release --list
sudo subscription-manager release --set=
You can then confirm whether the update was successful and enjoy the fun of running CentOS Linux with the latest security updates.
More information about CentOS Linux.
The
The
The
You can download this article in PDF format to support us through the following link.
Download the guide in PDF format
turn off
The
The
The