安装epel
,yum -y install epel-release
后,yum安装时出现如下异常
One of the configured repositories failed (未知),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
解决办法:1、将/etc/yum.repos.d/epel.repo
中的mirrorlist
改为baseurl
如果失败继续
2、
/etc/resolv.conf
文件中增加nameserver 144.144.144.144