security update
Linux

 Installing security updates on RHEL 9

Keeping the security of your Red hat system up to date is a very important task. So you should keep your server’s security profile in shape to avoid it being compromised.

In this post blog, we will cover How to install security update on Linux Red Hat 9.

Prerequisite

You need a Red Hat subscription attached to your server.

Learn more about How to register and subscribe a Red Hat Enterprise Linux.

Installing security updates steps

Use dnf command to security updates :

# dnf update --security

type « y » to confirm :

...
Transaction Summary
===========================================
Upgrade  ... Packages

Total download size: ... M
Is this ok [y/d/N]: y

Once the security update is installed, use the command bellow to list all processes that require a manual restart :

# dnf needs-restarting

 Installing a security update provided by a specific advisory

You may don’t want to install all the security update, just a specific one.

For that, you need the ID of the security advisory that you want to update.

Learn more about identifying the security advisory updates.

Use the commande bellow to update a specific security update :

# dnf update --advisory=<Update_ID>

Confirm and start the installation by pressing « y » :

...
Transaction Summary
===========================================
Upgrade  ... Packages

Total download size: ... M
Is this ok [y/d/N]: y

You might also like

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *