github download speed Tutorials

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

Obtain an IP address of github

Visit: https://www.ipaddress.com/ web site in order to obtain the following three URLs IP

  1. github.com
  2. github.global.ssl.fastly.net
  3. codeload.github.com

Here Insert Picture Description

This is what I get an IP

192.30.253.113  github.com
151.101.25.194 github.global.ssl.fastly.net
192.30.253.121 codeload.github.com

  
  

Modify the system hosts

Add Content

192.30.253.113  github.com
151.101.25.194 github.global.ssl.fastly.net
192.30.253.121 codeload.github.com

  
  

windows system

  1. hosts file path: C: \ Windows \ System32 \ drivers \ etc \ hosts,
  2. Add to the above query to IP hosts file (this time may require administrator privileges, you can copy the hosts to the desktop, and then modify the good copy of the original back cover)
  3. result:
    Here Insert Picture Description
  4. Refresh DNS
 ipconfig /flushdns

   
   

linux system

  1. Open the hosts file and modify
sudo vim /etc/hosts

  
  

Insert ip mapping save and exit
results:
Here Insert Picture Description

2. Network Service Restart

sudo /etc/init.d/networking restart

  
  

Attach a rendering
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_44621510/article/details/95251993