Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dautovri/mirrors-china

Mirrors and registries in Mainland China
https://github.com/dautovri/mirrors-china

china conda datascience debian docker homebrew java maven-repository mirrors pypi-mirror python registries repository scala science ubuntu university

Last synced: 4 months ago
JSON representation

Mirrors and registries in Mainland China

Awesome Lists containing this project

README

        

# Mirrors / Repositories in China 🇨🇳

In Mainland China, using local mirrors is essential due to the 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.

### All in one script https://tuna.moe/oh-my-tuna/ from https://github.com/tuna

### Python
#### pip
``` pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package ```

#### conda
```
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
```

### Docker

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

### Helm

Azure Helm/Kubernetes: http://mirror.azure.cn/kubernetes/

Alibaba Cloud: https://mirrors.aliyun.com/kubernetes-new/

### Terraform

Alibaba Cloud Terraform: http://mirrors.aliyun.com/terraform/

### Jenkins

Azure Jenkins: http://mirror.azure.cn/jenkins/

### brew (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
```

### Maven (Java, Scala)

Alibaba repo
```http://maven.aliyun.com/nexus/content/groups/public/```

```


aliyun
http://maven.aliyun.com/nexus/content/groups/public

```

### SBT

~/.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
```

More mirrors

* 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