Solve the problem of slow download GitHub, without modifying the HOSTS file

Reason for writing this article is the software version of the software I use on a Github updates, go download the new version on Github, the results of the download speed actually only a few k, but always failed to download, and then to modify the HOSTS file (I see this article basically called modified), after the changes are complete I found that the effect is not obvious (in fact, my download speed did not change much changed from the ten single digits only), then go another way to download on GitHub s project.

Let us talk about modifying the HOSTS file
steps:
1. Open the C: \ Windows \ System32 \ the Drivers \ etc
2. find the HOSTS file
3. Finally, add in it

151.101.73.194 github.global.ssl.fastly.net
151.101.24.133 assets-cdn.github.com

   
   

Explanation: set the proxy ip address in front of us, behind the domain name is the domain name you want to visit, pay attention to the middle of a space
in front of the ip address is in http://tool.chinaz.com/dns/ up investigation, to find a TTL value is relatively small.
Figure:
Here Insert Picture Description

4. Save, if prompted you do not have permission to modify the file, then go inside the property rights to modify, amend or less likely to find it too troublesome may modify this (copied to the desktop, replacing the original file after modification)
5. Refresh DNS: Open CMD enter ipconfig / flushdns; or input command: the sudo /etc/init.d/networking the restart
6. The re-close the browser to access github

Today I have said is not this, but to use cloud cloned github project code and then download.

Act II

Cloud code using cloning github project took 5 minutes

First you have the code cloud account, most people have it (if not themselves register a)

step:

1. Open the code cloud new project, select Import existing projects
Here Insert Picture Description

2. Enter the github project to guide our address in the above link, and then click Create
3. Wait code clone cloud project, about 1-3 minutes (determined by the size of your network and you want to clone project)
4. Complete clone
5. Download we yards on cloud project (this is your normal download speeds up)

Finally, do not need to download after the completion of this project that can cloud up in the deleted code, we initially download just solve problems slow down and do not download it, do not create too many useless items.

This article is just to give you an alternative solution under a github project does not solve down, I finally solved my items to be downloaded by Act II.

Act III

Some netizens said that using a mobile phone as a 4G hotspot, computer connection, you will find github download speed, speed becomes faster on stackoverflow, I have not tried to go.
After trying the above method is still not OK, then XX on the Internet.


In order to prove to the world and to others their own hard work, but once you really get the results, will understand: what people do not need to prove to others, as long as you can go beyond their own.

Original Address: https: //blog.csdn.net/github_37847975/article/details/86477343

Guess you like

Origin www.cnblogs.com/jpfss/p/11833130.html