[CentOS] Unattended Updates

What are unattended updates

Unattended updates is a service within Linux that will automatically download and install updates on your Linux Machine allowing your Server to stay up to date.

How to install and configure unattended updates

From your SSH console type:

yum install yum-cron.noarch

Open the configuration file

vi /etc/sysconfig/yum-cron

locate the mail part of the config

# by default MAILTO is unset, so crond mails the output by itself

# example:  MAILTO=root


set the mail address to an address of your choice.

Save the file and start the cron service

service yum-cron start

Enabling nightly yum update:                               [  OK  ]

This will enable automatic backups for your VPS with email notifications

Was this article helpful?
0 out of 0 found this helpful