萬盛學電腦網

 萬盛學電腦網 >> 電腦基本常識 >> Mac下不用代理觀看Youtube視頻的方法

Mac下不用代理觀看Youtube視頻的方法

   Mac OS X系統的修改方法 for Leopard(關於蘋果電腦修改Hots文件的方法)

  1). 打開終端->輸入->sudo -s

  輸入你的系統密碼

  2). sudo nano /etc/hosts

  打開了你的hots文件,在最下面加入:

  203.208.39.104 www.youtube.com

  203.208.33.100 gdata.youtube.com

  203.208.39.99 upload.youtube.com

  203.208.39.99 insight.youtube.com

  203.208.39.160 help.youtube.com

  203.208.39.104 youtube.com

  3) 保存 (Ctrl + O + Enter)

  4) 退出 (Ctrl + X)

  5) OK!你已經可以隨便使用:www.youtube.com 的任何內容了.

  ---------------------------------------

  附上完整的Hots文件大家參考對照:(注意:這個是Mac OS X系統的文件)

  --------

  #

  # Host Database

  #

  # localhost is used to configure the loopback inte***ce

  # when the system is booting. Do not change this entry.

  ##

  127.0.0.1 localhost

  255.255.255.255 broadcasthost

  ::1 localhost

  fe80::1%lo0 localhost

  203.208.39.104 www.youtube.com

  203.208.33.100 gdata.youtube.com

  203.208.39.99 upload.youtube.com

  203.208.39.99 insight.youtube.com

  203.208.39.160 help.youtube.com

  203.208.39.104 youtube.com

  附上Windows下使用的方法:

  一.

  打開C:WindowsSystem32driversetchosts

  hosts 文件時什麼自己google之!

  二.

  末尾加入以下內容,並保存。

  203.208.39.104 www.youtube.com

  203.208.33.100 gdata.youtube.com

  三.打開youtube試試!(注,本方法未必是長久之策,僅限親朋好友間傳播,建議更多使用專業翻牆軟件,譬如:無垃圾界 ,自垃圾由門 ,火垃圾鳳凰, tor 等!{請將詞中"垃圾"字符去掉後搜索})

  注:前面的ip來自 google 為什麼能登陸!不多解釋了!Google的服務器是一個大型的CDN網絡,只要在全球有他的服務器就可以訪問任何是Google自身域名的內容。

  另附:<其他登陸不了的添加到hosts 文件並保存即可>(部分可能會失效)

  #Search

  64.233.189.147 www.google.com

  64.233.189.104 www.google.com

  64.233.189.99 www.google.com

  64.233.189.147 www.l.google.com

  #Mail(POP3/SMTP)

  209.85.147.109 pop.gmail.com

  209.85.147.109 smtp.gmail.com

  #WebMail

  64.233.189.18 mail.google.com

  64.233.189.19 mail.google.com

  64.233.189.83 mail.google.com

  64.233.189.18 www.gmail.com

  64.233.189.19 www.gmail.com

  64.233.189.83 www.gmail.com

  64.233.189.19 googlemail.l.google.com

  #Docs

  64.233.189.101 writely-china.l.google.com

  64.233.189.101 writely.l.google.com

  64.233.189.102 docs.google.com

  64.233.189.101 docs.google.com

  64.233.189.100 docs.google.com

  #Map

  64.233.189.104 map.google.com

  64.233.189.99 map.google.com

  64.233.189.147 map.google.com

  64.233.189.104 maps.google.com

  64.233.189.99 maps.google.com

  64.233.189.147 maps.google.com

  64.233.189.99 maps.gstatic.com

  203.208.39.93 khm.google.com

  203.208.39.91 mt0.google.com

  203.208.39.93 mt1.google.com

  203.208.39.91 mt2.google.com

  203.208.39.91 mt.l.google.com

  64.233.189.99 maps.l.google.com

  #Scholar

  64.233.189.99 scholar.google.com

  64.233.189.104 scholar.google.com

  64.233.189.147 scholar.google.com

  64.233.189.104 scholar.l.google.com

  #Group

  64.233.189.102 groups.google.com

  64.233.189.100 groups.google.com

  64.233.189.101 groups.google.com

  64.233.189.101 groups.l.google.com

  #Misc

  64.233.189.101 id.google.com

  64.233.189.102 id.google.com

  64.233.189.100 id.google.com

  64.233.189.100 id.l.google.com

copyright © 萬盛學電腦網 all rights reserved