标签:lis html lin span name and main install title
在CentOS 6.3 x86_64下安装php-mcrypt的时候出现了问题:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,需要安装epel源。
解决方法: 一句话:把/etc/yum.repos.d/epel.repo,文件第3行注释去掉,把第四行注释掉。具体如下:
打开/etc/yum.repos.d/epel.repo,将
修改为
再清理源,重新安装
如果还是不行,修改DNS,到/etc/resolv.conf下添加一下:
nameserver 8.8.8.8
search localdomain
然后重启network服务:service network restart
yum安装时出现:Cannot retrieve metalink for repository: epel. Please verify its path and try again
标签:lis html lin span name and main install title
原文地址:http://www.cnblogs.com/dpf-learn/p/7645122.html