File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 "nodejs.org/dist/",\
3838 "c.163.com/hub",\
3939 "drone.yeasy.com",\
40- "mirrors.ustc.edu.cn",\
4140 "docs.docker.com",\
4241 "dockerhub.azk8s.cn",\
4342 "reg-mirror.qiniu.com",\
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ $ sudo yum install -y yum-utils
4040``` bash
4141$ sudo yum-config-manager \
4242 --add-repo \
43- https://mirrors.ustc.edu.cn /docker-ce/linux/centos/docker-ce.repo
43+ https://mirrors.aliyun.com /docker-ce/linux/centos/docker-ce.repo
4444
45- $ sudo sed -i ' s/download.docker.com/mirrors.ustc.edu.cn \/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
45+ $ sudo sed -i ' s/download.docker.com/mirrors.aliyun.com \/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
4646
4747# 官方源
4848# $ sudo yum-config-manager \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ $ sudo apt-get install \
4242为了确认所下载软件包的合法性,需要添加软件源的 GPG 密钥。
4343
4444``` bash
45- $ curl -fsSL https://mirrors.ustc.edu.cn /docker-ce/linux/debian/gpg | sudo apt-key add -
45+ $ curl -fsSL https://mirrors.aliyun.com /docker-ce/linux/debian/gpg | sudo apt-key add -
4646
4747
4848# 官方源
@@ -51,11 +51,11 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg | sudo apt-k
5151
5252然后,我们需要向 ` sources.list ` 中添加 Docker 软件源:
5353
54- > 在一些基于 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 ` 。
54+ > 在一些基于 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 ` 。
5555
5656``` bash
5757$ sudo add-apt-repository \
58- " deb [arch=amd64] https://mirrors.ustc.edu.cn /docker-ce/linux/debian \
58+ " deb [arch=amd64] https://mirrors.aliyun.com /docker-ce/linux/debian \
5959 $( lsb_release -cs) \
6060 stable"
6161
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ $ sudo dnf -y install dnf-plugins-core
4444``` bash
4545$ sudo dnf config-manager \
4646 --add-repo \
47- https://mirrors.ustc.edu.cn /docker-ce/linux/fedora/docker-ce.repo
47+ https://mirrors.aliyun.com /docker-ce/linux/fedora/docker-ce.repo
4848
49- $ sudo sed -i ' s/download.docker.com/mirrors.ustc.edu.cn \/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
49+ $ sudo sed -i ' s/download.docker.com/mirrors.aliyun.com \/docker-ce/g' /etc/yum.repos.d/docker-ce.repo
5050
5151# 官方源
5252# $ sudo dnf config-manager \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ $ sudo apt-get install \
3333为了确认所下载软件包的合法性,需要添加软件源的 GPG 密钥。
3434
3535``` bash
36- $ curl -fsSL https://mirrors.ustc.edu.cn /docker-ce/linux/raspbian/gpg | sudo apt-key add -
36+ $ curl -fsSL https://mirrors.aliyun.com /docker-ce/linux/raspbian/gpg | sudo apt-key add -
3737
3838
3939# 官方源
@@ -44,7 +44,7 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian/gpg | sudo apt
4444
4545``` bash
4646$ sudo add-apt-repository \
47- " deb [arch=armhf] https://mirrors.ustc.edu.cn /docker-ce/linux/raspbian \
47+ " deb [arch=armhf] https://mirrors.aliyun.com /docker-ce/linux/raspbian \
4848 $( lsb_release -cs) \
4949 stable"
5050
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ $ sudo apt-get install \
4444为了确认所下载软件包的合法性,需要添加软件源的 ` GPG ` 密钥。
4545
4646``` bash
47- $ curl -fsSL https://mirrors.ustc.edu.cn /docker-ce/linux/ubuntu/gpg | sudo apt-key add -
47+ $ curl -fsSL https://mirrors.aliyun.com /docker-ce/linux/ubuntu/gpg | sudo apt-key add -
4848
4949
5050# 官方源
@@ -55,7 +55,7 @@ $ curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-k
5555
5656``` bash
5757$ sudo add-apt-repository \
58- " deb [arch=amd64] https://mirrors.ustc.edu.cn /docker-ce/linux/ubuntu \
58+ " deb [arch=amd64] https://mirrors.aliyun.com /docker-ce/linux/ubuntu \
5959 $( lsb_release -cs) \
6060 stable"
6161
Original file line number Diff line number Diff line change 11# 部署 Kubernetes
22
3- 目前,Kubernetes 支持在多种环境下使用,包括本地主机(Fedora)、云服务(Google GAE、AWS 等)。
3+ 目前,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 ) 等)。
44
55你可以使用以下几种方式部署 Kubernetes:
66
You can’t perform that action at this time.
0 commit comments