In Mainland China, using local mirrors is essential due to the Great Firewall (GF), which can significantly slow down or even block access to servers outside of China. By connecting to mirrors within Mainland China, you can get faster update speeds and a more reliable connection when downloading or updating software packages. Additionally, local mirrors are often synchronized with the main repositories, ensuring that you have access to the latest updates and security patches.
- Oh My Tuna from TUNA
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda update conda
Quay.io: https://quay.azk8s.cn
GCR: https://gcr.azk8s.cn
K8S GCR images: https://registry.aliyuncs.com/google_containers
Docker Hub official: https://registry.docker-cn.com
Docker Hub Azure: https://dockerhub.azk8s.cn
Azure Helm/Kubernetes: http://mirror.azure.cn/kubernetes/
Alibaba Cloud: https://mirrors.aliyun.com/kubernetes-new/
Alibaba Cloud Terraform: http://mirrors.aliyun.com/terraform/
Azure Jenkins: http://mirror.azure.cn/jenkins/
Homebrew (https://brew.sh )
Add brew mirror
git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git
brew update
Alibaba repo
http://maven.aliyun.com/nexus/content/groups/public/
<repositories>
<repository>
<id>aliyun</id>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</repository>
</repositories>
~/.sbt/repositories
[repositories]
local
aliyun: http://maven.aliyun.com/nexus/content/groups/public/
typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
sonatype-oss-releases
maven-central
sonatype-oss-snapshots
- Alibaba:http://mirrors.aliyun.com/
- NetEase:http://mirrors.163.com/
- Sohu:http://mirrors.sohu.com/
- Xiamen University: http://mirrors.xmu.edu.cn/
- Shanghai Jiaotong University: http://ftp.sjtu.edu.cn/
- University of Science and Technology of China: http://mirrors.ustc.edu.cn/
- Northeastern University: http://mirror.neu.edu.cn/
- Zhejiang University: http://mirrors.zju.edu.cn/
- Neusoft Institute of Information: http://mirrors.neusoft.edu.cn/
- Tencent: https://mirrors.tencent.com
- Tsinghua University: https://mirrors.tuna.tsinghua.edu.cn/
- Beijing Foreign Studies University: http://mirrors.bfsu.edu.cn/
- Lanzhou University: http://mirror.lzu.edu.cn/
- Harbin Institute of Technology: http://mirrors.hit.edu.cn/
- Nanjing University: http://mirrors.nju.edu.cn/
- China University of Geosciences: http://mirrors.cug.edu.cn/