已加载插件:fastestmirror, langpacks Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 12: Timeout on http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock: (28, 'Resolving timed out after 30565 milliseconds')
One of the configured repositories failed (未知), and yum doesn't have enough cached data to continue. At this point the only
出现这种错误通常是因为你的服务器无法连接到 CentOS 的镜像服务器,可能是网络问题或 DNS 配置问题。我是通过手动配置镜像源来解决这个问题的,过程如下: