centos7最小化安装中使用yum命令报错:14: curl#6 - “Could not resolve host: mirrorlist.centos.org; 未知的错误“

目录

说明

报错内容

报错原因

解决方案

方案一

方案二


说明

Linux虚拟机软件选择

最小化安装

网卡

ens33

报错内容

已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"


 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. Contact t

你可能感兴趣的:(网络,linux,centos,yum)