解决Linux访问github慢,修改host
https://github.com/ineo6/hosts 最新hosts
Linux弄代理或许没windows安装个代理软件直接使用那么方便 修改hosts是最快方式
Linux centos
vim /etc/hosts
去到https://github.com/ineo6/hosts 复制一大坨

加上去

重启network
/etc/init.d/network restart
测试
ping github.com

就算延迟还是很高,但不超时 秒响应

windows修改hosts
win+r输入“C:\WINDOWS\system32\drivers\etc”,编辑hosts和上面同理

浙公网安备 33010602011771号