For use this repo create file centos.alt.ru.repo in /etc/yum.repo.d
for CentOS/RHEL 5
[CentALT]name=CentALT Packages for Enterprise Linux 5 - $basearchbaseurl=http://centos.alt.ru/repository/centos/5/$basearch/enabled=1gpgcheck=0
and enable EPEL repository
for i386
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpmrpm -ihv http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
for x86_64
rpm -ihv http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpmrpm -ihv http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
for CentOS/RHEL 6
[CentALT]name=CentALT Packages for Enterprise Linux 6 - $basearchbaseurl=http://centos.alt.ru/repository/centos/6/$basearch/enabled=1gpgcheck=0
and enable EPEL repository
for i386
rpm -ihv http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpmrpm -ihv http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
for x86_64
rpm -ihv http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpmrpm -ihv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
ただ、前年ながら、ちょっと情報が古すぎて、サイト名が異なっていますので注意が必要です。
一応、順を追って簡単に解説してみます。
EPELのリポジトリを登録する
# CentOS 5[32bit]$rpm-ihvhttp://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm...# CentOS 5[64bit]$rpm-ihvhttp://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm...# CentOS 6Scientific Linux 6[32bit]$rpm-ihvhttp://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm...# CentOS 6Scientific Linux 6[64bit]$rpm-ihvhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm...
コメントを投稿 :