ubuntu18下解决githup上不去的问题
ubuntu下配置host的方法:打开终端输入命令:sudo vim /etc/hosts
添加以下内容:
192.30.253.113 github.com
192.30.253.113 github.com
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
修改 hosts 后,使 hosts 文件修改生效:sudo /etc/init.d/dns-clean start
sudo /etc/init.d/networking restart