Linux系统运行yum安装rpm包的时候提示wget unable to resolve host address
wget:无法解析主机地址。这就能看出是DNS解析的问题。

错误提示


wget: unable to resolve host address

解决办法:

1.登入root(VPS)。
2.进入/etc/resolv.conf。
3.修改内容为下
nameserver 8.8.8.8 #google域名服务器
nameserver 8.8.4.4 #google域名服务器

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2021-09-05
  • 2021-05-17
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2021-08-25
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案