Differences

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

Link to this comparison view

Next revision
Previous revision
server-administration:centos5-automatic-updates [2010-08-23 19:12:48]
garrett.plasky created
server-administration:centos5-automatic-updates [2011-07-01 19:13:34]
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</sxh>
-service yum-cron start +
-</code>+
  
 {{tag>centos how-to vps}} {{tag>centos how-to vps}}