beckwei@ubuntu-wjc:~$ sudo gedit /etc/hosts.conf
[sudo] password for beckwei:
** (gedit:8801): WARNING **: Cannot extract frame (168, 0) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (168, 24) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (168, 48) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (0, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (24, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (48, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (72, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (96, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (120, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (144, 72) from the grid
** (gedit:8801): WARNING **: Cannot extract frame (168, 72) from the grid
看着好像是gedit的错误,但是不知道怎么解决?
[问题]出现如下问题,网上查了半天也没有解决方法
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- youyuer
- 帖子: 18
- 注册时间: 2007-11-23 17:00
- youyuer
- 帖子: 18
- 注册时间: 2007-11-23 17:00
- youyuer
- 帖子: 18
- 注册时间: 2007-11-23 17:00
yaoms 写了:我的/etc里只有这些(host*):youyuer 写了:yaoms 写了:/etc/hosts.conf ??? 没有这个文件
你试试 sudo gedit /etc/hosts
有这个文件,可以打开配置的hosts.conf是干什么用的?host.conf hostname hosts hosts.allow hosts.deny
指定DNS
/etc/host.conf
告诉网络域名服务器如何查找主机名。(通常是 /etc/hosts,然后就是名称服
务器;可通过 netconf 对其进行更改)
/etc/hosts
包含(本地网络中)已知主机的一个列表。如果系统的 IP 不是动态生成,就
可以使用它。对于简单的主机名解析(点分表示法),在请求 DNS 或 NIS 网络名
称服务器之前,/etc/hosts.conf 通常会告诉解析程序先查看这里。