vmware虚拟机centos7 sudo yum update gcc 报错:Could not resolve host: centos.ustc.edu.cn
没有配置DNS会引起的问题
yum命令
ssh命令等不能进行
错误:
Could not resolve host: centos.ustc.edu.cn;
本文例子: CentOS7 下DNS配置
网络适配器设置
1.root权限登录终端 输入
$ ip add
ens33 为我的名字 记下
2.查找配置文件
$ cd /etc/sysconfig...
转载
2019-09-05 10:52:39 ·
841 阅读 ·
0 评论