diff --git a/.github/workflows/check-link.yml b/.github/workflows/check-link.yml index 911d262..6866bf6 100644 --- a/.github/workflows/check-link.yml +++ b/.github/workflows/check-link.yml @@ -37,7 +37,6 @@ jobs: "nodejs.org/dist/",\ "c.163.com/hub",\ "drone.yeasy.com",\ - "mirrors.ustc.edu.cn",\ "docs.docker.com",\ "dockerhub.azk8s.cn",\ "reg-mirror.qiniu.com",\ diff --git a/install/centos.md b/install/centos.md index a9b24ba..683ca09 100644 --- a/install/centos.md +++ b/install/centos.md @@ -40,9 +40,9 @@ $ sudo yum install -y yum-utils ```bash $ sudo yum-config-manager \ --add-repo \ - https://mirrors.ustc.edu.cn/docker-ce/linux/centos/docker-ce.repo + https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -$ sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo +$ sudo sed -i 's/download.docker.com/mirrors.aliyun.com\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo # 官方源 # $ sudo yum-config-manager \ diff --git a/install/debian.md b/install/debian.md index ac9f574..d6fbc60 100644 --- a/install/debian.md +++ b/install/debian.md @@ -42,7 +42,7 @@ $ sudo apt-get install \ 为了确认所下载软件包的合法性,需要添加软件源的 GPG 密钥。 ```bash -$ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg | sudo apt-key add - +$ curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/debian/gpg | sudo apt-key add - # 官方源 @@ -51,11 +51,11 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg | sudo apt-k 然后,我们需要向 `sources.list` 中添加 Docker 软件源: -> 在一些基于 Debian 的 Linux 发行版中 `$(lsb_release -cs)` 可能不会返回 Debian 的版本代号,例如 [Kail Linux](https://www.kali.org/docs/policy/kali-linux-relationship-with-debian/)、 [BunsenLabs Linux](https://www.bunsenlabs.org/)。在这些发行版中我们需要将下面命令中的 `$(lsb_release -cs)` 替换为 https://mirrors.ustc.edu.cn/docker-ce/linux/debian/dists/ 中支持的 Debian 版本代号,例如 `buster`。 +> 在一些基于 Debian 的 Linux 发行版中 `$(lsb_release -cs)` 可能不会返回 Debian 的版本代号,例如 [Kail Linux](https://www.kali.org/docs/policy/kali-linux-relationship-with-debian/)、 [BunsenLabs Linux](https://www.bunsenlabs.org/)。在这些发行版中我们需要将下面命令中的 `$(lsb_release -cs)` 替换为 https://mirrors.aliyun.com/docker-ce/linux/debian/dists/ 中支持的 Debian 版本代号,例如 `buster`。 ```bash $ sudo add-apt-repository \ - "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian \ + "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/debian \ $(lsb_release -cs) \ stable" diff --git a/install/fedora.md b/install/fedora.md index be91d20..c1fba7c 100644 --- a/install/fedora.md +++ b/install/fedora.md @@ -44,9 +44,9 @@ $ sudo dnf -y install dnf-plugins-core ```bash $ sudo dnf config-manager \ --add-repo \ - https://mirrors.ustc.edu.cn/docker-ce/linux/fedora/docker-ce.repo + https://mirrors.aliyun.com/docker-ce/linux/fedora/docker-ce.repo -$ sudo sed -i 's/download.docker.com/mirrors.ustc.edu.cn\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo +$ sudo sed -i 's/download.docker.com/mirrors.aliyun.com\/docker-ce/g' /etc/yum.repos.d/docker-ce.repo # 官方源 # $ sudo dnf config-manager \ diff --git a/install/raspberry-pi.md b/install/raspberry-pi.md index d278cef..be1a73d 100644 --- a/install/raspberry-pi.md +++ b/install/raspberry-pi.md @@ -33,7 +33,7 @@ $ sudo apt-get install \ 为了确认所下载软件包的合法性,需要添加软件源的 GPG 密钥。 ```bash -$ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian/gpg | sudo apt-key add - +$ curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/raspbian/gpg | sudo apt-key add - # 官方源 @@ -44,7 +44,7 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian/gpg | sudo apt ```bash $ sudo add-apt-repository \ - "deb [arch=armhf] https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian \ + "deb [arch=armhf] https://mirrors.aliyun.com/docker-ce/linux/raspbian \ $(lsb_release -cs) \ stable" diff --git a/install/ubuntu.md b/install/ubuntu.md index 3242d15..8ad928c 100644 --- a/install/ubuntu.md +++ b/install/ubuntu.md @@ -44,7 +44,7 @@ $ sudo apt-get install \ 为了确认所下载软件包的合法性,需要添加软件源的 `GPG` 密钥。 ```bash -$ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add - +$ curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - # 官方源 @@ -55,7 +55,7 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-k ```bash $ sudo add-apt-repository \ - "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu \ + "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu \ $(lsb_release -cs) \ stable" diff --git a/kubernetes/setup/README.md b/kubernetes/setup/README.md index f6bc2ff..c5d661f 100644 --- a/kubernetes/setup/README.md +++ b/kubernetes/setup/README.md @@ -1,6 +1,6 @@ # 部署 Kubernetes -目前,Kubernetes 支持在多种环境下使用,包括本地主机(Fedora)、云服务(Google GAE、AWS 等)。 +目前,Kubernetes 支持在多种环境下使用,包括本地主机(Ubuntu、Debian、Fedora 等)、云服务([腾讯云](https://cloud.tencent.com/act/cps/redirect?redirect=10058&cps_key=3a5255852d5db99dcd5da4c72f05df61)、[阿里云](https://www.aliyun.com/product/kubernetes?source=5176.11533457&userCode=8lx5zmtu&type=copy)、[百度云](https://cloud.baidu.com/product/cce.html) 等)。 你可以使用以下几种方式部署 Kubernetes: