1.在网站 https://www.ipaddress.com/ 上搜索
github.global.ssl.fastly.net
github.com
这两个域名所对应的ip填入/etc/hosts中,刷新网络即可
vim /etc/hosts
重启网络以刷新dns缓存。centos命令是:service network restart
ubuntu刷新命令是:/etc/init.d/networking restart
1.在网站 https://www.ipaddress.com/ 上搜索
github.global.ssl.fastly.net
github.com
这两个域名所对应的ip填入/etc/hosts中,刷新网络即可
vim /etc/hosts
重启网络以刷新dns缓存。centos命令是:service network restart
ubuntu刷新命令是:/etc/init.d/networking restart