Fork me on GitHub

[Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Name or service not known"

  • 修改/etc/resolv.conf文件
[root@lihui ~]# vi /etc/resolv.conf




nameserver 8.8.8.8
nameserver 114.114.114.114
  • 重启
[root@lihui ~]# service network restart

 

posted @ 2019-02-24 12:50  youxiu326  阅读(3384)  评论(0编辑  收藏  举报