Github上不去方法

comeForm:https://zhuanlan.zhihu.com/p/107334179

第一步:
http://ping.chinaz.com/github.com
Ping检测Github

第二步:选择最快节点添加hosts
Github上不去方法_第1张图片

第三步:添加Hosts

$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	china.org	china
140.82.112.4 github.com

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

 

你可能感兴趣的:(Linux)