提示:系统 Ubuntu18.04 or Win10
配置host文件
- 操作
host文件末尾添加如下两行:
刷新DNS缓存151.101.72.249 github.http://global.ssl.fastly.net 192.30.253.112 github.com
- Windows:
ipconfig/flushdns
- Linux:
- 安装NSCD(name service cache daemon)
sudo apt install yum
- 修改配置文件
/etc/nscd.conf
,开启dns缓存enable-cache hosts yes
- 刷新dns缓存
sudo /etc/init.d/networking restart
- 安装NSCD(name service cache daemon)
- 解释
host文件位置- Windows系统
C:\Windows\System32\drivers\etc
- Linux系统
/etc/hosts
- Windows系统
配置代理
export HTTP_PROXY=http://127.0.0.1:代理端口号;
export HTTPS_PROXY=http://127.0.0.1:代理端口号;
export ALL_PROXY=socks5://127.0.0.1:代理端口号
使用码云
1.注册码云
2.通过码云—>从github中导入已有项目
3.git clone 码云中项目
配置多线程下载器
Win10
IDM软件
Linux
XDM软件
参考
https://www.wbolt.com/how-to-easily-flush-dns-cache.html
https://blog.youkuaiyun.com/hguisu/article/details/49278355
https://blog.youkuaiyun.com/zhezhebie/article/details/72781552