方法>修改hosts
1.終端更改
在應用程序里面打開終端(terminal),輸入
sudo vi /etc/hosts
然后提示輸入系統密碼
hosts文件就自動打開了
接著輸入 i
進入編輯模式
將添加的網站,ip拷貝進去
編輯完成之后,按esc,輸入 : wq
這樣就更改完成了.
下面附上hosts地址,在網均可查得到更新:
61.610.224.241 ajax.googleapis.com
61.610.224.241 fonts.googleapis.com
61.610.224.241 themes.googleusercontent.com
198.252.206.140 cdn.sstatic.net
185.31.16.184 github.global.ssl.fastly.net
#Apple Services START
203.78.36.40adcdownload.apple.com
203.78.36.40deimos3.apple.com
203.78.36.40appldnld.apple.com
203.78.36.40swcdn.apple.com
203.78.36.40developer.apple.com
#Apple Services END