在 Mac OS X 下修改 hosts 文件

Google+ 刚推出,就被挡在了门外,让我这个谷歌的忠实粉丝情何以堪阿,还好,前几天在人人网上看到好友11贴出了修改 hosts 文件访问 Google+ 服务的方法,现在 GFW 仅仅是停止解析 Google+ 服务的域名,所以利用修改 hosts 文件方法,我有幸在没有翻墙的情况下试玩了 Google+ 服务,Google 这一产品确实不错,经历了 Wave 和 Buzz 的失败,Google 做这个产品真的很用心。废话少说,如果有朋友想在 Mac OS X 下试玩 Google+,请参考以下方法:
- 开启 root 账户,不会的朋友请参考这篇文章。
- 在终端中输入如下信息:
chenjunlu@mac:~ > sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
Password: - 在打开的 hosts 文件中插入如下内容:
203.208.46.29 plus.google.com
203.208.46.29 talkgadget.google.com
203.208.46.29 picasaweb.google.com
203.208.46.29 lh1.ggpht.com
203.208.46.29 lh2.ggpht.com
203.208.46.29 lh3.ggpht.com
203.208.46.29 lh4.ggpht.com
203.208.46.29 lh5.ggpht.com
203.208.46.29 lh6.ggpht.com
203.208.46.29 lh6.googleusercontent.com
203.208.46.29 lh5.googleusercontent.com
203.208.46.29 lh4.googleusercontent.com
203.208.46.29 lh3.googleusercontent.com
203.208.46.29 lh2.googleusercontent.com
203.208.46.29 lh1.googleusercontent.com - 在浏览器中输入“https://plus.google.com” 成功访问 Google+ 服务!
相关日志:
- 2011年03月28日 -- Mac OS X 下的 MicroSoft 鼠标驱动 (2)
- 2011年11月3日 -- 在 Mac OS X 下使用 IPython (0)
- 2011年08月4日 -- Comex — 年仅19岁的超级黑客 (0)
- 2011年07月5日 -- 试用 Google+ 的50条心得体会 (4)
- 2010年06月22日 -- iOS4 终于出来了 (0)
- 2010年06月10日 -- Google与南非世界杯 (0)
3 Responses to 在 Mac OS X 下修改 hosts 文件
发表评论 取消回复
Categories
- 信息世界 | IT (95)
- Certification (1)
- Cloud Computing (1)
- Database (16)
- Google (10)
- Hardware (2)
- J2EE (4)
- Network (19)
- OS (18)
- Programming (11)
- Virtualization (1)
- Webmaster (11)
- 数码先锋 | Digital (17)
- 时事评论 | Event (5)
- 时光飞驰 | News (2)
- 杂七杂八 | Mix (2)
- 流金岁月 | Life (8)
- 游戏志 | Game (13)
- 看电影 | Movie (10)
- 红魔拥趸 | ManUtd (5)
- 读书频道 | Reading (1)
- 音乐无限 | Music (4)
- 信息世界 | IT (95)
Twitter
- I'm at 大连国美电器胜利新活馆 (大连市, 辽宁省) http://t.co/f7pxcNfg 17 小时前
- I'm at Xinghai Square | 星海广场 (Dalian, China) http://t.co/gKNqq2qV 23 小时前
- I'm at 壹品星海 (Dalian, China) http://t.co/o7SCCIrG 23 小时前
- 晚上和以前的同事喝了点酒,准备睡觉了,希望明天能把公司的电脑修好,没有电脑办公还真不方便,不知道明天印度那边有没有培训的消息。 2012-05-16
- 非常值得读的一本书! http://t.co/lV8ulDnV 2012-05-16
- I'm at 大连软件园15号楼 (大连市, 辽宁省) http://t.co/03DYYUKY 2012-05-16
- @yamiugly 好奇你做的是什么工作? 2012-05-16
- I'm at 壹品星海 (Dalian, China) http://t.co/frkQvlIn 2012-05-15
- I just ousted @fndhrt as the mayor of 大连软件园15号楼 on @foursquare! http://t.co/yn7fSLY6 2012-05-15
- I'm at 大连软件园15号楼 (大连市, 辽宁省) http://t.co/KH2m2Z4R 2012-05-15
- @terrysosi_chan 小日子过的太充实了! 2012-05-15
- RT @GossipSama: 玩diablo 2的时候我23岁,玩diablo 3的时候我34岁。暴雪是要等我不再2了才出3是么?那是不是要45岁才玩到4? 2012-05-15
- I'm at 中山广场 Zhongshan Circus (大连, 中国) http://t.co/fiD6vqHS 2012-05-14
- 英超还真他妈的好看。昨晚90分钟的比赛,跟坐过山车一样,如果不看直播,是体会不到这种刺激的,呵呵,英超第20年,今年的冠军真的很有戏剧性,恭喜曼城,明年的曼联面对的局势更难,曼城还会加大投入的,看看曼城现在的阵容,明年再买几个强援,大耳朵杯指日可待! 2012-05-14
- @Fatal1tyV 怎么弄? 2012-05-14
Latest Comments
Foursquare Checkins
标签





不错,多谢博主!
在终端中输入如下信息:
chenjunlu@mac:~ > sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
Password:
是什么意思,实在不懂请见谅,告诉一下,谢谢1
就是打开 Mac OS 下的命令行工具–终端,输入以下命令 “sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts” 。