google相册被封,想学:http://www.pycsky.com/other/739/
不知道在ubuntu改哪个文件?
9.10 对应于windows的host文件在哪里?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 63
- 注册时间: 2009-07-07 9:38
9.10 对应于windows的host文件在哪里?
上次由 hifiu 在 2009-08-06 13:55,总共编辑 1 次。
-
- 帖子: 3681
- 注册时间: 2008-05-03 23:42
Re: 9.10 对应于windows的host文件在哪里?
/etc/hosts
-
- 帖子: 63
- 注册时间: 2009-07-07 9:38
Re: 9.10 对应于windows的host文件在哪里?
谢谢!请问格式该怎么写啊?
- highwind
- 帖子: 1362
- 注册时间: 2008-09-05 23:31
- 系统: LinuxMint17
Re: 9.10 对应于windows的host文件在哪里?
哈,又翻墙?
茕茕
问题大海之一粟:http://forum.ubuntu.org.cn/viewtopic.php?f=74&t=212497
NEMO-Actions使用方法:http://forum.ubuntu.org.cn/viewtopic.php?f=175&t=456548
在线编码转换:http://2cyr.com/decode/?lang=en
问题大海之一粟:http://forum.ubuntu.org.cn/viewtopic.php?f=74&t=212497
NEMO-Actions使用方法:http://forum.ubuntu.org.cn/viewtopic.php?f=175&t=456548
在线编码转换:http://2cyr.com/decode/?lang=en
- linjiework
- 帖子: 240
- 注册时间: 2009-07-07 19:52
Re: 9.10 对应于windows的host文件在哪里?
格式为
127.0.0.1 localhost
127.0.1.1 Ubuntu.local Ubuntu
第一个是 IP 地址,第二个是域名,第三个不太清楚,应该是别名吧。
127.0.0.1 localhost
127.0.1.1 Ubuntu.local Ubuntu
第一个是 IP 地址,第二个是域名,第三个不太清楚,应该是别名吧。
阿呆 : 天下第一呆!
-
- 帖子: 63
- 注册时间: 2009-07-07 9:38
Re: 9.10 对应于windows的host文件在哪里?
我按照这个格式设置了,但是老提示出错:
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
203.208.33.100 lh1.ggpht.com picasa
203.208.33.100 lh2.ggpht.com picasa
203.208.33.100 lh3.ggpht.com picasa
203.208.33.100 lh4.ggpht.com picasa
203.208.33.100 lh5.ggpht.com picasa
203.208.33.100 lh6.ggpht.com picasa
203.208.33.100 lh7.ggpht.com picasa
203.208.33.100 lh8.ggpht.com picasa
出错提示是:
/etc/host.conf: line 5: bad command `203.208.33.100 lh1.ggpht.com picasa'
/etc/host.conf: line 6: bad command `203.208.33.100 lh2.ggpht.com picasa'
/etc/host.conf: line 7: bad command `203.208.33.100 lh3.ggpht.com picasa'
/etc/host.conf: line 8: bad command `203.208.33.100 lh4.ggpht.com picasa'
/etc/host.conf: line 9: bad command `203.208.33.100 lh5.ggpht.com picasa'
/etc/host.conf: line 10: bad command `203.208.33.100 lh6.ggpht.com picasa'
/etc/host.conf: line 11: bad command `203.208.33.100 lh7.ggpht.com picasa'
/etc/host.conf: line 12: bad command `203.208.33.100 lh8.ggpht.com picasa'
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
203.208.33.100 lh1.ggpht.com picasa
203.208.33.100 lh2.ggpht.com picasa
203.208.33.100 lh3.ggpht.com picasa
203.208.33.100 lh4.ggpht.com picasa
203.208.33.100 lh5.ggpht.com picasa
203.208.33.100 lh6.ggpht.com picasa
203.208.33.100 lh7.ggpht.com picasa
203.208.33.100 lh8.ggpht.com picasa
出错提示是:
/etc/host.conf: line 5: bad command `203.208.33.100 lh1.ggpht.com picasa'
/etc/host.conf: line 6: bad command `203.208.33.100 lh2.ggpht.com picasa'
/etc/host.conf: line 7: bad command `203.208.33.100 lh3.ggpht.com picasa'
/etc/host.conf: line 8: bad command `203.208.33.100 lh4.ggpht.com picasa'
/etc/host.conf: line 9: bad command `203.208.33.100 lh5.ggpht.com picasa'
/etc/host.conf: line 10: bad command `203.208.33.100 lh6.ggpht.com picasa'
/etc/host.conf: line 11: bad command `203.208.33.100 lh7.ggpht.com picasa'
/etc/host.conf: line 12: bad command `203.208.33.100 lh8.ggpht.com picasa'
-
- 帖子: 49
- 注册时间: 2007-10-24 13:13
Re: 9.10 对应于windows的host文件在哪里?
是hosts
不是host.conf
-
- 帖子: 63
- 注册时间: 2009-07-07 9:38
Re: 9.10 对应于windows的host文件在哪里?
那是要自己创建这个文件了……