pacino12134

1.获取 global.ssl.fastly地址

访问 http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo 
获取cdn域名以及ip地址 
这里写图片描述

2、获取github地址

访问 http://github.com.ipaddress.com/#ipinfo 
获取cdn域名以及ip地址 
这里写图片描述

3、打开hosts映射

Windows环境

C:\Windows\System32\drivers\etc\hosts

最末尾添加两句话:

151.101.185.194 http://github.global.ssl.fastly.net 
192.30.253.112 http://github.com

然后保存就可以了。

Linux环境

sudo gedit /etc/hosts

添加

151.101.185.194 http://github.global.ssl.fastly.net 
192.30.253.112 http://github.com

保存,退出,并重启网络

/etc/init.d/networking restart

分类:

技术点:

相关文章:

  • 2021-08-07
  • 2021-08-07
  • 2021-06-04
  • 2021-08-07
  • 2021-08-01
  • 2021-10-08
  • 2021-12-14
  • 2021-11-18
猜你喜欢
  • 2021-10-03
  • 2021-06-13
  • 2021-08-07
  • 2021-09-18
  • 2021-08-07
  • 2021-12-07
  • 2021-09-19
相关资源
相似解决方案