标签:linux
1.yum -y install epel-release
2.修改/etc/yum.repos.d/epel.repo,将#baseurl和mirrorlist修改为baseurl和#mirrorlist如下
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=
https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
3.yum clean all
4.正常使用
标签:linux
原文地址:http://11987715.blog.51cto.com/11977715/1933188