Linux
apk 软件源
文件位置:/etc/apk/repositories
镜像地址:
- 中科大镜像源:
mirrors.ustc.edu.cn
sed命令:
1 | sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories |
apt 镜像源
1 | sed -i "s/archive.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list |
Python
pip 镜像源
镜像地址:
- 清华镜像源:https://pypi.tuna.tsinghua.edu.cn/simple/