改HOSTS大法
Windows下在C:/Windows/system32/drivers/etc/hosts
Ubuntu等linux系一般在/etc/hosts
在hosts中添加如下内容:
1 | # Github |
改完之后立刻刷新
1 | Windows:ipconfig /flushdns |
工具推荐
修改hosts文件神器 SwitchHosts! https://github.com/oldj/SwitchHosts/releases
INNERPEACE
Windows下在C:/Windows/system32/drivers/etc/hosts
Ubuntu等linux系一般在/etc/hosts
1 | # Github |
1 | Windows:ipconfig /flushdns |
修改hosts文件神器 SwitchHosts! https://github.com/oldj/SwitchHosts/releases