WRY

Where Are You?
You are on the brave land,
To experience, to remember...

0%

国内镜像加速

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
2
3
4
sed -i "s/archive.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list
# debian
sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
# 或者下载sources.list文件

Python

pip 镜像源

镜像地址:

  • 清华镜像源:https://pypi.tuna.tsinghua.edu.cn/simple/

GO

go mod 下载代理