CentOS 5
システム最新化
[1] yumコマンドでシステムを最新化します。が、その前に、yumを使うとき、通信速度の早いミラーサーバーを探して、そこからダウンロードするyumプラグインを先に入れておきます。
[root@ns ~]#
yum -y install yum-fastestmirror

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base
100% |=========================| 1.1 kB 00:00

updates
100% |=========================|
951 B 00:00

addons
100% |=========================|
951 B 00:00

extras
100% |=========================| 1.1 kB 00:00

Reading repository metadata in from local files
primary.xml.gz
100% |=========================| 798 kB 01:27

base
: #################################### 2334/2334

Added 2334 new packages, deleted 0 old in 9.34 seconds
primary.xml.gz
100% |=========================| 489 kB 00:01

updates
: #################################### 222/222

Added 222 new packages, deleted 0 old in 1.00 seconds
primary.xml.gz
100% |=========================| 157 B 00:01

Added 0 new packages, deleted 0 old in 0.00 seconds
primary.xml.gz
100% |=========================| 4.2 kB 00:00

extras
: #################################### 16/16

Added 16 new packages, deleted 0 old in 0.04 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yum-fastestmirror to pack into transaction set.
yum-fastestmirror-1.0.3-1 100% |=====================| 4.9 kB 00:00
---> Package yum-fastestmirror.noarch 0:1.0.3-1.el5.centos set to be updated
--> Running transaction check

Dependencies Resolved

===================================================================
Package
Arch
Version
Repository
Size

===================================================================
Installing:
  yum-fastestmirror
noarch
1.0.3-1.el5.centos
extras
11 k


Transaction Summary
==================================================================
Install
1 Package(s)

Update
0 Package(s)

Remove
0 Package(s)


Total download size: 11 k
Downloading Packages:
(1/1): yum-fastestmirror-
100% |=======================| 11 kB 00:00

Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
   Installing: yum-fastestmirror
#################################### [1/1]

Installed: yum-fastestmirror.noarch 0:1.0.3-1.el5.centos
Complete!
[root@ns ~]#
yum -y update
# システム最新化