码迷,mamicode.com
首页 > 其他好文 > 详细

Error prompt:“wget: unable to resolve host address”---Solution

时间:2014-07-11 22:31:13      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:style   strong   os   io   div   re   

//Situation

  System prompts that:"wget: unable to resolve host address".

 
//Analysis
   Unable to resolve host address means the problem of DNS(Domain Name System).
 
 //Solution
   To fix the problem, the configuration file "resolv.conf" should be  modified as follow steps:
             1. Get the root permission:      su -i
             2. Open the file with vi editor:      vi /etc/resolv.conf
             3. Press "i" into edit mode, and modify the content by:
                   nameserver 8.8.8.8 #google‘s DNS
                   nameserver 8.8.4.4 #google‘s DNS(backup)

 

Error prompt:“wget: unable to resolve host address”---Solution,布布扣,bubuko.com

Error prompt:“wget: unable to resolve host address”---Solution

标签:style   strong   os   io   div   re   

原文地址:http://www.cnblogs.com/tyingk/p/3833024.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!