Update System2011/03/13 |
[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 Resolving Dependencies --> Running transaction check ---> Package yum-plugin-fastestmirror.noarch 0:1.1.26-11.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved =================================================================== Package Arch
Version
Repository
Size =================================================================== Installing: yum-plugin-fastestmirror noarch
1.1.26-11.el6
sl
16 k Transaction Summary =================================================================== Install 1 Package(s) Upgrade 0 Package(s) Total download size: 16 k Installed size: 35 k Downloading Packages: yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm | 17 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : yum-plugin-fastestmirror-1.1.26-11.el6.noarch 1/1 Installed: yum-plugin-fastestmirror.noarch 0:1.1.26-11.el6 Complete! [root@dlp ~]# yum -y update
|
[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 # line 7: change to false ENABLED=" false " |
Sponsored Link |