読者です 読者をやめる 読者になる 読者になる

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