turboLinux_White Box Enterprise Linux_Fedora Core_Red Hat Memo/CentOS_yum
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
*CentOSをyumでUpadate [#vc499064]
RIGHT:更新日 &lastmod();
***一番近いUpdateサイトを指定 [#j6f911a0]
yum install yum-fastestmirrorで指定する
# yum install yum-fastestmirror
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base 100% |========================...
updates 100% |========================...
addons 100% |========================...
extras 100% |========================...
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. P...
---> Downloading header for yum-fastestmirror to pack in...
yum-fastestmirror-1.0.4-2 100% |========================...
---> Package yum-fastestmirror.noarch 0:1.0.4-2.el5.cent...
--> Running transaction check
Dependencies Resolved
========================================================...
Package Arch Version Rep...
========================================================...
Installing:
yum-fastestmirror noarch 1.0.4-2.el5.centos ...
Transaction Summary
========================================================...
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 11 k
Is this ok [y/N]: y <==yを指定
Downloading Packages:
(1/1): yum-fastestmirror- 100% |========================...
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: yum-fastestmirror #############...
Installed: yum-fastestmirror.noarch 0:1.0.4-2.el5.centos
Complete!
***CentOSPlusの追加 [#i3a58449]
/etc/yum.repos.d/CentOS-Base.repoを以下のようにenabled=1...
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releas...
#baseurl=http://mirror.centos.org/centos/$releasever/cen...
gpgcheck=1
##enabled=0
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentO...
***インストールパッケージの表示 [#w20b792a]
# yum list
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up repositories
Determining fastest mirrors
Reading repository metadata in from local files
Installed Packages
Deployment_Guide-en-US.noarch 5.0.0-21.el5.ce...
Deployment_Guide-ja-JP.noarch 5.0.0-21.el5.ce...
GConf2.i386 2.14.0-9.el5 ...
ImageMagick.i386 6.2.8.0-3.el5.4...
(略)
***updatge可能なパッケージの一覧 [#y3fe6974]
# yum check-update
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up repositorieshttps://wwwism.dyndns.org/?cmd=ed...
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
***Upadte [#gface5f1]
# yum update
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
***Search [#h4f3b241]
キーワードでパッケージ検索
$ yum search jpeg
Loaded plugins: fastestmirror
===================================== Matched: jpeg
======================================
kdegraphics.i386 : K Desktop Envitonment -グラフィックス...
ImageMagick.i386 : 画像の表示/処理用の X アプリケーション
gd.i386 : PNG や JPEG 画像を高速作成するためのグラフィッ...
gd-devel.i386 : gd 用の開発ライブラリとヘッダーファイル
gd-progs.i386 : libgd を使用したユーティリティプログラム
libexif.i386 : イメージファイルから特別な情報を展開する...
libjpeg.i386 : JPEG 画像形式のファイルを操作するためのラ...
libjpeg-devel.i386 : libjpeg ライブラリを使用するプログ...
libmng.i386 : Library for Multiple-image Network Graphic...
***参考ページ [#v6b87491]
[[CentOS 5 インストール個人的ノート:http://tmcosmos.org/l...
終了行:
*CentOSをyumでUpadate [#vc499064]
RIGHT:更新日 &lastmod();
***一番近いUpdateサイトを指定 [#j6f911a0]
yum install yum-fastestmirrorで指定する
# yum install yum-fastestmirror
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base 100% |========================...
updates 100% |========================...
addons 100% |========================...
extras 100% |========================...
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. P...
---> Downloading header for yum-fastestmirror to pack in...
yum-fastestmirror-1.0.4-2 100% |========================...
---> Package yum-fastestmirror.noarch 0:1.0.4-2.el5.cent...
--> Running transaction check
Dependencies Resolved
========================================================...
Package Arch Version Rep...
========================================================...
Installing:
yum-fastestmirror noarch 1.0.4-2.el5.centos ...
Transaction Summary
========================================================...
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 11 k
Is this ok [y/N]: y <==yを指定
Downloading Packages:
(1/1): yum-fastestmirror- 100% |========================...
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: yum-fastestmirror #############...
Installed: yum-fastestmirror.noarch 0:1.0.4-2.el5.centos
Complete!
***CentOSPlusの追加 [#i3a58449]
/etc/yum.repos.d/CentOS-Base.repoを以下のようにenabled=1...
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releas...
#baseurl=http://mirror.centos.org/centos/$releasever/cen...
gpgcheck=1
##enabled=0
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentO...
***インストールパッケージの表示 [#w20b792a]
# yum list
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up repositories
Determining fastest mirrors
Reading repository metadata in from local files
Installed Packages
Deployment_Guide-en-US.noarch 5.0.0-21.el5.ce...
Deployment_Guide-ja-JP.noarch 5.0.0-21.el5.ce...
GConf2.i386 2.14.0-9.el5 ...
ImageMagick.i386 6.2.8.0-3.el5.4...
(略)
***updatge可能なパッケージの一覧 [#y3fe6974]
# yum check-update
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up repositorieshttps://wwwism.dyndns.org/?cmd=ed...
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
***Upadte [#gface5f1]
# yum update
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
***Search [#h4f3b241]
キーワードでパッケージ検索
$ yum search jpeg
Loaded plugins: fastestmirror
===================================== Matched: jpeg
======================================
kdegraphics.i386 : K Desktop Envitonment -グラフィックス...
ImageMagick.i386 : 画像の表示/処理用の X アプリケーション
gd.i386 : PNG や JPEG 画像を高速作成するためのグラフィッ...
gd-devel.i386 : gd 用の開発ライブラリとヘッダーファイル
gd-progs.i386 : libgd を使用したユーティリティプログラム
libexif.i386 : イメージファイルから特別な情報を展開する...
libjpeg.i386 : JPEG 画像形式のファイルを操作するためのラ...
libjpeg-devel.i386 : libjpeg ライブラリを使用するプログ...
libmng.i386 : Library for Multiple-image Network Graphic...
***参考ページ [#v6b87491]
[[CentOS 5 インストール個人的ノート:http://tmcosmos.org/l...
ページ名: