2024-07-26
linux
00
请注意,本文编写于 231 天前,最后修改于 231 天前,其中某些信息可能已经过时。

目录

亲测

https://cloud.tencent.com/developer/article/2273542

亲测

echo " 140.82.114.3 github.com 185.199.108.153 assets-cdn.github.com 199.232.69.194 github.global.ssl.fastly.net 185.199.108.133 raw.githubusercontent.com 185.199.108.154 github.githubassets.com " >> /etc/hosts
  1. 刷新系统DNS缓存 最后,Windows+X 打开系统命令行(管理员身份)或powershell

运行 ipconfig /flushdns 手动刷新系统DNS缓存。

mac系统修改完hosts文件,保存并退出就可以了.不要要多一步刷新操作. centos系统执行/etc/init.d/network restart命令 使得hosts生效

如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay