Install Security Updates on CentOS 7

Hi everyone,

In This post I will show how to configure CentOS 7, to install automatic security updates

1- Install yum-cron

sudo yum install yum-cron

2- Edit yum-cron.conf

sudo nano /etc/yum/yum-cron.conf

# Edite as linhas abaixo no arquivos

update_cmd = security
apply_updates = yes

3- Start Service

sudo systemctl enable yum-cron
sudo systemctl start yum-cron

4- [Plus] Check update security

yum –security check-update

5-[Plus] Install update security

yum –security update

Leave a Reply

Your email address will not be published. Required fields are marked *