CentOSでローカルにyumリポジトリを持つ

こんな感じでいいのかな。

# wget -r ftp://ftp.riken.jp/Linux/caos/centos/5.0/updates/i386/
/etc/yum.confを編集。
[updates]
baseurl=http://localhost/ftp.riken.jp/Linux/caos/centos/5.0/updates/i386/
# yum update

でも、今回はNICが使えない状況なので、DVDからリポジトリをコピってやる必要がある。
file://とかは使えないのかな?
CDとかDVDメディアの場合は、どう記述するんだろう。