上网浏览得改hosts?

上网、浏览、聊天、下载等
回复
头像
a14331990
帖子: 604
注册时间: 2009-03-25 9:38
系统: Fedora 22 x86_64

上网浏览得改hosts?

#1

帖子 a14331990 » 2012-07-04 13:30

# Blocked sites
127.0.0.1 www.gstatic.com
127.0.0.1 http://twitter.com
127.0.0.1 platform.twitter.com
127.0.0.1 taobao.114so.cn
127.0.0.1 c.betrad.com
127.0.0.1 apis.goggle.com
127.0.0.1 s7.addthis.com
150.65.7.130 nchc.dl.sourceforge.net
以上是我的/etc/hosts的一部分

gstatic到addthis是由于我打开很多网页时状态栏一直显示waiting for http://twitter.com之类的话 整个网页打不开
nchc.dl.sourceforge.net是因为有的软件老选nchc来下载,比如winecfg时自动下载gecko,而nchc要么打不开要么很慢
qq 591799783
email a14331990#hotmail.com a14331990#163.com
头像
bigsun
帖子: 301
注册时间: 2009-01-11 16:05

Re: 上网浏览得改hosts?

#2

帖子 bigsun » 2012-07-04 16:15

这样改有点累
要这样
sudo curl -o /etc/hosts https://smarthosts.googlecode.com/svn/trunk/hosts
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 上网浏览得改hosts?

#3

帖子 nmsfan » 2012-07-04 16:31

前几个不需要你自己block,某专家帮你 :em04 :em04
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 上网浏览得改hosts?

#4

帖子 qy117121 » 2012-07-04 16:32

nmsfan 写了:前几个不需要你自己block,某专家帮你 :em04 :em04
:em05
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 [email protected]
头像
a14331990
帖子: 604
注册时间: 2009-03-25 9:38
系统: Fedora 22 x86_64

Re: 上网浏览得改hosts?

#5

帖子 a14331990 » 2012-07-04 17:39

有的网页因为加载twitter而整个网页打开缓慢啊 干脆手动block
请教如何把nchc.dl.sourceforge.net自动转节到jaist.dl.sourceforge.net
wget http://downloads.sourceforge.net/wine/w ... .6-x86.msi
还是自动转接到nchc.dl.sourceforge.net
谢谢!
qq 591799783
email a14331990#hotmail.com a14331990#163.com
回复