标签:failed bin load class 分类 workman 修改 arc 版权
linux上执行wget报错:unable to resolve host address
爱摄影的coder 2018-07-21 10:25:19 7270 收藏 4
分类专栏: Linux
版权
使用wegt命令报错情况
[root@centosserver2 downloads]# wget http://mirror.bit.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
--2018-04-28 18:40:17-- http://mirror.bit.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
Resolving mirror.bit.edu.cn (mirror.bit.edu.cn)... failed: Name or service not known.
wget: unable to resolve host address `mirror.bit.edu.cn`
这是DNS配置的问题
cat /etc/resolv.conf 可以查看DNS客户机配置文件
我这里原来是
#nameserver 172.16.1.1,
修改成了谷歌的一组解析服务器
nameserver 8.8.8.8
nameserver 8.8.4.4
[root@centosserver2 etc]# vi resolv.conf # Generated by NetworkManager search olandms.com #nameserver 172.16.1.1 nameserver 8.8.8.8 #googleDNS nameserver 8.8.4.4 #googleDNS
参考资料:Linux中/etc/resolv.conf文件简析
linux上执行wget报错:unable to resolve host address
标签:failed bin load class 分类 workman 修改 arc 版权
原文地址:https://www.cnblogs.com/ios9/p/14624747.html