L
L

ubuntu修改hosts

笔记本装不了chrome插件,找了下修改hosts的方法:

1、修改hosts
sudo gedit /etc/hosts
2、添加解析记录( . )
扩展
74.125.39.99 chrome.google.com
74.125.39.99 clients2.google.com
主题
74.125.153.138 tools.google.com
书签
64.233.183.138 clients4.google.com
64.233.183.138 docs.google.com
dropbox
174.36.30.71 www.dropbox.com
3、保存后重启网络
sudo /etc/init.d/networking restart