centos 推荐使用epel源

 注意:本人还没有发现这个源有什么优点!!!!

[root@bass yum.repos.d]# ls
CentOS-Base.repo       CentOS-fasttrack.repo  CentOS-Vault.repo
CentOS-Debuginfo.repo  CentOS-Media.repo
[root@bass yum.repos.d]# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
warning: /var/tmp/rpm-tmp.PHC9xu: Header V3 DSA/SHA1 Signature, key ID 217521f6: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@bass yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL 
CentOS-Base.repo       CentOS-Media.repo      epel-testing.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo      
CentOS-fasttrack.repo  epel.repo              
[root@bass yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
[root@bass yum.repos.d]# yum install yum-priorities
[root@bass yum.repos.d]# ls |grep epel
epel.repo
epel-testing.repo
[root@bass yum.repos.d]# pwd
/etc/yum.repos.d

 

posted @ 2016-08-01 13:04  bass  阅读(426)  评论(0编辑  收藏  举报