[1] | Update your system with ‘yum’ command. However, before doing it, Install ‘yum-plugin-fastestmirror’ that looks for fast server and download packages from there automatically when yum command is used. |
[root@dlp ~]#
yum -y install yum-plugin-fastestmirror
Setting up Install Process Dependencies Resolved =================================================================== Arch
Version
Repository
Size
=================================================================== noarch
1.1.26-11.el6
sl
16 k
Transaction Summary 1 Package(s)
Upgrade 0 Package(s)
Total download size: 16 k | 17 kB 00:00
Running rpm_check_debug 1/1
Installed: Complete! |
[2] | The yum-autoupdate script is placed in /etc/cron.daily and it runs everyday by anacron. But it’s risks to update packages automatically without testing if you can not stop your server easily, then turn to false the auto-update setting like follows. |
[root@dlp ~]# vi /etc/sysconfig/yum-autoupdate
ENABLED=”false”