In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to speed up Github domestic visit". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to accelerate Github domestic visit".
Configure host
Open http://tool.chinaz.com/dns, a tool for querying domain name mappings.
Query the following address to get its ip:
Github.global.ssl.fastly.net
Assets-cdn.github.com
Documentcloud.github.com
Github.com
Gist.github.com
Help.github.com
Nodeload.github.com
Raw.github.com
Status.github.com
Training.github.com
Www.github.com
Avatars0.githubusercontent.com
Avatars1.githubusercontent.com
Codeload.github.com
Check it a few times and select a stable, low-latency ip to add to the host file as follows
Your one-time configuration is as follows:
Copy
123151.101.73.194 github.global.ssl.fastly.net151.101.72.133 assets-cdn.github.com13.250.177.223 github.comGit Proxy
There are two ways to obtain the source code on github.com. One is git clone, and the other is downloading master.zip directly. The latter is obviously faster than the former, so you can consider:
Use transparent agents such as proxychains to transfer indirectly through the agent tools running in the system
Use the git built-in agent to transfer directly through the agent tools running in the system. For example, if your SS local port is 1080, you can use the agent as follows
Copy
12git config-global http.proxy socks5://127.0.0.1:1080git config-global https.proxy socks5://127.0.0.1:1080
If you are using a proxy based on the http protocol, pay attention to the port corresponding to http, if 1087:
Copy
12git config-global https.proxy http://127.0.0.1:1087git config-global https.proxy http://127.0.0.1:1087
View the global config:
Copy
1cat / .gitconfig
The display is as follows:
Copy
12345 [http] postBuffer = 524288000 proxy = socks5://127.0.0.1:1086 [https] proxy = socks5://127.0.0.1:1086
Finally, deactivate the agent:
Copy
12git config-global-unset http.proxygit config-global-unset https.proxy Thank you for your reading. The above is the content of "how to accelerate domestic visits to Github". After the study of this article, I believe you have a deeper understanding of how to accelerate domestic visits to Github, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.