yumを設定(2004年12月29日)
実験用マシンにインストールしたWHBLで、yumを使ってみます(*^^)v
yum.confを編集します。
# vi /etc/yum.conf
国内ミラーサイト(理化学研究所さんを設定)
変更前
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=whitebox-release
tolerant=1
exactarch=1
[base]
name=White Box Enterprise Linux $releasever - $basearch - Base
baseurl=http://whiteboxlinux.org/pub/$releasever/en/os/$basearch
[updates-released]
name=White Box Enterprise Linux $releasever - $basearch - Released Updates
baseurl=http://whiteboxlinux.org/pub/$releasever/en/updates/
#[updates-testing]
#name=White Box Enterprise Linux $releasever - $basearch - Unreleased Updates
#baseurl=http://whiteboxlinux.org/pub/$releasever/en/os/testing/
変更後
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=whitebox-release
tolerant=1
exactarch=1
[base]
name=White Box Enterprise Linux $releasever - $basearch - Base
baseurl=http://ftp.riken.jp/Linux/whitebox/$releasever/en/os/$basearch/
ftp://ftp.riken.jp/Linux/whitebox/$releasever/en/os/$basearch/
[updates-released]
name=White Box Enterprise Linux $releasever - $basearch - Released Updates
baseurl=http://ftp.riken.jp/Linux/whitebox/$releasever/en/updates/
ftp://ftp.riken.jp/Linux/whitebox/$releasever/en/updates/
#[updates-testing]
#name=White Box Enterprise Linux $releasever - $basearch - Unreleased Updates
#baseurl=http://whiteboxlinux.org/pub/$releasever/en/os/testing/
# yum list
# yum check-update