问题描述
安装dnf和gdb的时候装不上显示正在尝试其它镜像。
http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; 未知的错误" 正在尝试其它镜像。
解决方法
之前选的是仅主机模式,改为NAT模式就好了。
安装dnf和gdb的时候装不上显示正在尝试其它镜像。
http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; 未知的错误" 正在尝试其它镜像。
之前选的是仅主机模式,改为NAT模式就好了。