install yum-cron:
sudo yum install yum-cron
configure yum-cron and update the following:
start and enable yum-cron service:
sudo systemctl start yum-cron
sudo systemctl enable yum-cron
update_cmd = security
apply_updates = yes
if, in case you have problem installing because of conflicting files from yum-cron and yum installations, with a similar message as below:
do a yum update then try installing yum-cron again:
sudo yum update
sudo yum install yum-cron
(src: https://serversforhackers.com/c/automatic-security-updates-centos)
(src: https://serversforhackers.com/c/automatic-security-updates-centos)
No comments:
Post a Comment