Automatic updates on CentOS

If you want to be sure all security updates are installed automatic you can use yum-cron. Be sure you have configured your yum correctly not to update wrong things from different repositories.


1. Install yum-cron

yum install yum-cron

2. add yum-cron to your runlevels

chkconfig --levels 35 yum-cron on

3. start yum-cron

service yum-cron start

That’s it. Check /var/log/yum.log frequently for errors and other information.

Leave a Reply

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