Centos epel源

RHEL 5(centos 5): rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

 

导入DAG的PGPKey : rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

 

/etc/yum.repos.d/epel.repo

[epel]

name=Extra Packages for Enterprise Linux 5 – $basearch

#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch

failovermethod=priority

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

priority=11

[epel-debuginfo]

name=Extra Packages for Enterprise Linux 5 – $basearch – Debug

#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

gpgcheck=1

[epel-source]

name=Extra Packages for Enterprise Linux 5 – $basearch – Source

#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

gpgcheck=1

 

http://blog.famillecollet.com/pages/Config-en

你可能感兴趣的:(Linux)