CentOS 初期設定(リポジトリ追加)

CentOSってデフォルトの状態では、ろくすっぽパッケージが入ってないのですよね・・。

CentOSリポジトリを増やす
http://rally.jp/comp/archives/2008/02/centos.php

上記の記事を参考にして、設定します。

まずは、yum-fastestmirrorをインストール。

/etc/rc.d/init.d/yum-updatesd stop
chkconfig yum-updatesd off
yum install yum-fastestmirror
wget ftp://ftp.riken.jp/Linux/centos/5.2/os/i386/CentOS/yum-cron-0.6-1.el5.centos.noarch.rpm
rpm -ihv yum-cron-0.6-1.el5.centos.noarch.rpm
/etc/rc.d/init.d/yum-cron start
chkconfig yum-cron on

次に、Extra Packages for Enterprise Linux (EPEL) をインストールします。
DLはこちらから。
http://fedoraproject.org/wiki/EPEL

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
rpm -ihv epel-release-5-3.noarch.rpm

後は、Dag Wieersさんところのリポジトリ追加しておけばとりあえず事足りるかな。
http://dag.wieers.com/rpm/