解決GitHub的raw.githubusercontent.com無法連接的問題

測評VPS服務器運行不了SuperBench腳本,打不開raw.githubusercontent.com,導致下載不了SH文件的解決辦法:

修改Hosts Ubuntu,CentOS及MacOS直接在終端輸入:

sudo vi /etc/hosts

添加以下內容保存即可(IP地址查詢後相應修改,可以Ping不同IP的延時,選擇最佳IP地址)

52.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.108.133 user-images.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com

ipconfig /flushdns刷新一下DNS解析緩存。

未经允许不得转载:365t在線 » 解決GitHub的raw.githubusercontent.com無法連接的問題

評論列表

還木有評論 ,趕緊來一個!嘻嘻,:)

發表評論

访客的頭像

Top