01/24 2012

さくらのVPSでは最新版への自動更新デーモンのyum-updatesdがインストールしてありますが、常駐してメモリを使う為、標準ではOFFになってます。
なので、常駐せずに定期的に自動アップデートを起動してくれるyum-cron をインストールします。

[root@ ~]# yum -y install yum-cron

自動でインストールまでされると管理上問題がある場合は、以下のように更新チェックと更新ファイルのダウンロードのみを行うように設定します。

[root@ ~]# vi /etc/sysconfig/yum-cron

CHECK_ONLY=yes
DOWNLOAD_ONLY=yes

そして起動します。

[root@ ~]# service yum-cron start
Enabling nightly yum update:                               [  OK  ]

[root@ ~]# chkconfig yum-cron on
[root@ ~]# chkconfig --list yum-cron
yum-cron        0:off   1:off   2:on    3:on    4:on    5:on    6:off

さくらのVPS CentOSでサーバ構築 11 – yum - AKIBE @AKIBE