yanglgzh 发表于 2017-6-23 09:00:00

CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决

  在VMWare上安装好centos后,使用yum安装nodejs报错:can not resolve host 'mirritlist.centos.org',
  百度上很多都说在/etc/resolv.conf文件末尾添加nameserver 8.8.8.8 nameserver 8.8.4.4 serchdomain localdomain,然并卵。
  其实只要重启一下eth0网络适配器就可以了,它会自动连接网络的。
  ifdown eth0
  ifup eth0
页: [1]
查看完整版本: CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决