Chinaunix首页 | 论坛 | 博客
  • 博客访问: 46997
  • 博文数量: 21
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 100
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-18 23:10
个人简介

A lot of water under the bridge.

文章分类

全部博文(21)

分类: LINUX

2014-03-21 19:59:47

//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)



阅读(1047) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~