全新安装 CentOS 7.2.1511。服务器最初是用网络管理器配置的,yum 工作正常。最近禁用了网络管理器并使用传统服务 (/etc/sysconfig/network-scripts) 配置了网络。新的 IP 地址已分配给 NIC。安装程序最初在 10.xxx 网络上,现在在 192.168.xx 网络上。
当我尝试运行 yum 时,出现以下错误:
Loaded plugins: fastestmirror, langpacks
http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
http://mirror.centos.org/centos/%24releasever/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
One of the configured repositories failed (CentOS-$releasever - …Run Code Online (Sandbox Code Playgroud)