阅读内容

解决Ubuntu的Unable to resolve host name localhost问题

[日期:2008-09-03] 来源:Linux社区  作者:orumdi


解决Ubuntu的Unable to resolve host name localhost问题:

How to fix it:

Make sure your /etc/hosts file has an appropriate entry for localhost (something like below)

127.0.0.1 localhost loopback

Make sure your /etc/nsswitch.conf file specifies a fallback to /etc/hosts, for example

hosts: dns [NOTFOUND=continue] files

在一个英文网站看到的!




相关资讯       Ubuntu 
本文评论       全部评论
发表评论
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款


点评: 字数
姓名:

L
I
N
U
X


GOOGLE搜索
Google