CentOS – configuring nightly automatic updates

I believe that yum-cron now comes package with, but if it doesn’t this do the trick.

Upgrade yum first
# yum upgrade yum
Check to see if you already have yum-cron – the cron job for updating
# rpm -qa|grep yum-cron
If you need to get yum-cron do
# yum install yum-cron.noarch
To configure yum-cron do
# /etc/init.d/yum-cron start
Check it’s running
# /etc/init.d/yum-cron status
Configure it to run at boot
# /sbin/chkconfig yum-cron on


About hedscratchers

A UK ex-pat now living in the USA.
This entry was posted in Linux & Solaris. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s