创意来源:地霊殿
捡了一些自己常用的设置放在这里方便查看~
Github 换源
| 1 | git config --global url."https://ghproxy.com/https://github.com/".insteadOf "https://github.com/" | 
Anaconda 换源
编辑 .condarc 文件,换北外源:
| 1 | channels: | 
 再用 conda clean -i 清理缓存即可
Pypi 换源
| 1 | python -m pip install -i https://mirrors.bfsu.edu.cn/pypi/web/simple --upgrade pip | 
Docker 换源
编辑 /etc/docker/daemon.json 文件,换源:
| 镜像加速器 | 镜像加速器地址 | 
|---|---|
| Docker 中国官方镜像 | https://registry.docker-cn.com | 
| DaoCloud 镜像站 | http://f1361db2.m.daocloud.io | 
| Azure 中国镜像 | https://dockerhub.azk8s.cn | 
| 科大镜像站 | https://docker.mirrors.ustc.edu.cn | 
| 阿里云 | https://ud6340vz.mirror.aliyuncs.com | 
| 七牛云 | https://reg-mirror.qiniu.com | 
| 网易云 | https://hub-mirror.c.163.com | 
| 腾讯云 | https://mirror.ccs.tencentyun.com |