CentOS4で、php5やmysql5をインストール出来るようにする

移転しました。

参考URL
http://d.hatena.ne.jp/oppara/20070703/p1

# vi /etc/yum.repos.d/CentOS-Base.repo 

    #additional packages that extend functionality of existing packages

    [centosplus]

    name=CentOS-$releasever - Plus

    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus

    #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/

    gpgcheck=1

    #enabled=0

    enabled=1 ←ここを1に

    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

    #contrib - packages by Centos Users

    [contrib]

    name=CentOS-$releasever - Contrib

    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib

    #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/

    gpgcheck=1

    #enabled=0

    enabled=1 ←ここを1に

    gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4