码迷,mamicode.com
首页 > 其他好文 > 详细

centos 推荐使用epel源

时间:2016-08-01 13:50:07      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

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

[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

 

centos 推荐使用epel源

标签:

原文地址:http://www.cnblogs.com/bass6/p/5725438.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!