今天要给测试们安装一套服务,机器新拿过来在 yum inastall wget的时候出现了
file:///mnt/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/repodata/repomd.xml"
应该是yum源出问题了 查了好多资料都没用 最后比对之前的服务器
1.拷了一个CentOS-Base.repo过来
2.然后把rhel7.repo 改成rhel7.repo.bak
3.重新执行yum repolist
再执行yum inastall wget的时候就好了 感觉第二步才是关键