Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
server-administration:centos5-automatic-updates [2010-08-23 19:12:48]
garrett.plasky created
server-administration:centos5-automatic-updates [2011-05-14 00:02:06]
garrett.plasky Approved
Line 3: Line 3:
 It's important to keep your server software up-to-date.  The commands below will enable automatic nightly updates using CentOS 5's default yum package manager. It's important to keep your server software up-to-date.  The commands below will enable automatic nightly updates using CentOS 5's default yum package manager.
  
-<code console> +<sxh bash>yum -y install yum-cron crontabs vixie-cron 
-yum -y install yum-cron crontabs vixie-cron +service cron start 
-service cron start +chkconfig --level 2345 yum-cron on 
-chkconfig --level 2345 yum-cron on +service yum-cron start</code>
-service yum-cron start +
-</code>+
  
 {{tag>centos how-to vps}} {{tag>centos how-to vps}}