gayhub加速
gayhub加速
2022-07-15 20:08
1. 修改hosts文件
A:电脑上已安装火绒
如果你的电脑安装了火绒,那修改起来就非常方便
打开火绒的安全工具
修改hosts文件
在最后添加以下内容,保存即可,若没有生效,可尝试重启电脑
# GitHub Host Start
185.199.108.154 github.githubassets.com
140.82.113.21 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.108.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 gist.github.com
185.199.108.153 github.io
140.82.113.4 github.com
140.82.113.6 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
140.82.113.10 codeload.github.com
52.217.166.201 github-cloud.s3.amazonaws.com
52.217.66.44 github-com.s3.amazonaws.com
52.217.197.177 github-production-release-asset-2e65be.s3.amazonaws.com
52.217.86.108 github-production-user-asset-6210df.s3.amazonaws.com
52.217.12.148 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
64.71.144.211 github.community
185.199.108.133 media.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
# GitHub Host End
B:常规方法
打开文件管理器,在地址栏粘贴 C:\Windows\System32\drivers\etc
,回车
由于权限限制,hosts文件不允许直接修改,所以先复制到桌面,然后用记事本打开,在最后添加以下内容,保存并关闭
# GitHub Host Start
185.199.108.154 github.githubassets.com
140.82.113.21 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.108.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 gist.github.com
185.199.108.153 github.io
140.82.113.4 github.com
140.82.113.6 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
140.82.113.10 codeload.github.com
52.217.166.201 github-cloud.s3.amazonaws.com
52.217.66.44 github-com.s3.amazonaws.com
52.217.197.177 github-production-release-asset-2e65be.s3.amazonaws.com
52.217.86.108 github-production-user-asset-6210df.s3.amazonaws.com
52.217.12.148 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
64.71.144.211 github.community
185.199.108.133 media.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
# GitHub Host End
添加完成后将桌面的hosts文件移动到原本的路径中,选择替换,这时会提示“你需要提供管理员权限才能复制文件”,选择“继续”
如果这时发现没有效果,可以尝试重启电脑
如果以上方法都不太行,可以尝试下面的小工具,绝对稳定,嘎嘎好用!
2. 绝对稳定的方法
使用魔法网络(详情请踹作者)
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 Dominic
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果