mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-14 13:20:27 +08:00
更新文档
This commit is contained in:
54
README.md
54
README.md
@@ -1,8 +1,8 @@
|
||||
<p align="center">
|
||||
<a href="https://linuxmirrors.cn">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/images/brand/dark/2.png" width="320">
|
||||
<img src="docs/assets/images/brand/light/2.png" alt="LinuxMirrors" width="320">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="/docs/assets/images/brand/dark/2.png" width="320">
|
||||
<img src="/docs/assets/images/brand/light/2.png" alt="LinuxMirrors" width="320">
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
@@ -26,99 +26,99 @@
|
||||
<th align="center">适配版本</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.debian.org" target="_blank"><sub><img src="docs/assets/images/icon/debian.svg" width="16" height="16"></sub></a> Debian</td>
|
||||
<td><a href="https://www.debian.org" target="_blank"><sub><img src="/docs/assets/images/icon/debian.svg" width="16" height="16"></sub></a> Debian</td>
|
||||
<td align="center">8 ~ 13</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://ubuntu.com" target="_blank"><sub><img src="docs/assets/images/icon/ubuntu.svg" width="16" height="16"></sub></a> Ubuntu</td>
|
||||
<td><a href="https://ubuntu.com" target="_blank"><sub><img src="/docs/assets/images/icon/ubuntu.svg" width="16" height="16"></sub></a> Ubuntu</td>
|
||||
<td align="center">14 ~ 25</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.kali.org" target="_blank"><sub><img src="docs/assets/images/icon/kali-linux.svg" width="16" height="16"></sub></a> Kali Linux</td>
|
||||
<td><a href="https://www.kali.org" target="_blank"><sub><img src="/docs/assets/images/icon/kali-linux.svg" width="16" height="16"></sub></a> Kali Linux</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://linuxmint.com" target="_blank"><sub><img src="docs/assets/images/icon/linux-mint.ico" width="16" height="16"></sub></a> Linux Mint</td>
|
||||
<td><a href="https://linuxmint.com" target="_blank"><sub><img src="/docs/assets/images/icon/linux-mint.ico" width="16" height="16"></sub></a> Linux Mint</td>
|
||||
<td align="center">19 ~ 22 / LMDE 6</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.deepin.org" target="_blank"><sub><img src="docs/assets/images/icon/deepin.png" width="16" height="16"></sub></a> Deepin(深度)</td>
|
||||
<td><a href="https://www.deepin.org" target="_blank"><sub><img src="/docs/assets/images/icon/deepin.png" width="16" height="16"></sub></a> Deepin(深度)</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://zorin.com/os" target="_blank"><sub><img src="docs/assets/images/icon/zorin-os.png" width="16" height="16"></sub></a> Zorin OS</td>
|
||||
<td><a href="https://zorin.com/os" target="_blank"><sub><img src="/docs/assets/images/icon/zorin-os.png" width="16" height="16"></sub></a> Zorin OS</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.armbian.org" target="_blank"><sub><img src="docs/assets/images/icon/armbian.png" width="16" height="16"></sub></a> Armbian</td>
|
||||
<td><a href="https://www.armbian.org" target="_blank"><sub><img src="/docs/assets/images/icon/armbian.png" width="16" height="16"></sub></a> Armbian</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.proxmox.com" target="_blank"><sub><img src="docs/assets/images/icon/proxmox.svg" width="16" height="16"></sub></a> Proxmox VE</td>
|
||||
<td><a href="https://www.proxmox.com" target="_blank"><sub><img src="/docs/assets/images/icon/proxmox.svg" width="16" height="16"></sub></a> Proxmox VE</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.raspberrypi.com/software" target="_blank"><sub><img src="docs/assets/images/icon/raspberry-pi.png" width="16" height="16"></sub></a> Raspberry Pi OS</td>
|
||||
<td><a href="https://www.raspberrypi.com/software" target="_blank"><sub><img src="/docs/assets/images/icon/raspberry-pi.png" width="16" height="16"></sub></a> Raspberry Pi OS</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><sub><img src="docs/assets/images/icon/redhat.svg" width="16" height="16"></sub></a> Red Hat Enterprise Linux</td>
|
||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><sub><img src="/docs/assets/images/icon/redhat.svg" width="16" height="16"></sub></a> Red Hat Enterprise Linux</td>
|
||||
<td align="center">7 ~ 10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://fedoraproject.org/zh-Hans" target="_blank"><sub><img src="docs/assets/images/icon/fedora.ico" width="16" height="16"></sub></a> Fedora</td>
|
||||
<td><a href="https://fedoraproject.org/zh-Hans" target="_blank"><sub><img src="/docs/assets/images/icon/fedora.ico" width="16" height="16"></sub></a> Fedora</td>
|
||||
<td align="center">30 ~ 42</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.centos.org" target="_blank"><sub><img src="docs/assets/images/icon/centos.svg" width="16" height="16"></sub></a> CentOS</td>
|
||||
<td><a href="https://www.centos.org" target="_blank"><sub><img src="/docs/assets/images/icon/centos.svg" width="16" height="16"></sub></a> CentOS</td>
|
||||
<td align="center">7 ~ 8 / Stream 8 ~ 10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://rockylinux.org" target="_blank"><sub><img src="docs/assets/images/icon/rocky-linux.svg" width="16" height="16"></sub></a> Rocky Linux</td>
|
||||
<td><a href="https://rockylinux.org" target="_blank"><sub><img src="/docs/assets/images/icon/rocky-linux.svg" width="16" height="16"></sub></a> Rocky Linux</td>
|
||||
<td align="center">8 ~ 10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://almalinux.org/zh-hans" target="_blank"><sub><img src="docs/assets/images/icon/almalinux.svg" width="16" height="16"></sub></a> AlmaLinux</td>
|
||||
<td><a href="https://almalinux.org/zh-hans" target="_blank"><sub><img src="/docs/assets/images/icon/almalinux.svg" width="16" height="16"></sub></a> AlmaLinux</td>
|
||||
<td align="center">8 ~ 10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.openeuler.org/zh" target="_blank"><sub><img src="docs/assets/images/icon/openeuler.ico" width="16" height="16"></sub></a> openEuler(开源欧拉)</td>
|
||||
<td><a href="https://www.openeuler.org/zh" target="_blank"><sub><img src="/docs/assets/images/icon/openeuler.ico" width="16" height="16"></sub></a> openEuler(开源欧拉)</td>
|
||||
<td align="center">21 ~ 25</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.opencloudos.org" target="_blank"><sub><img src="docs/assets/images/icon/opencloudos.png" width="16" height="16"></sub></a> OpenCloudOS(鸥栖)</td>
|
||||
<td><a href="https://www.opencloudos.org" target="_blank"><sub><img src="/docs/assets/images/icon/opencloudos.png" width="16" height="16"></sub></a> OpenCloudOS(鸥栖)</td>
|
||||
<td align="center">8.6 ~ 9 / Stream 23</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.openkylin.top" target="_blank"><sub><img src="docs/assets/images/icon/openkylin.ico" width="16" height="16"></sub></a> openKylin(开放麒麟)</td>
|
||||
<td><a href="https://www.openkylin.top" target="_blank"><sub><img src="/docs/assets/images/icon/openkylin.ico" width="16" height="16"></sub></a> openKylin(开放麒麟)</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://openanolis.cn" target="_blank"><sub><img src="docs/assets/images/icon/anolis.png" width="16" height="16"></sub></a> Anolis OS(龙蜥)</td>
|
||||
<td><a href="https://openanolis.cn" target="_blank"><sub><img src="/docs/assets/images/icon/anolis.png" width="16" height="16"></sub></a> Anolis OS(龙蜥)</td>
|
||||
<td align="center">8 / 23</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.opensuse.org" target="_blank"><sub><img src="docs/assets/images/icon/opensuse.svg" width="16" height="16"></sub></a> openSUSE</td>
|
||||
<td><a href="https://www.opensuse.org" target="_blank"><sub><img src="/docs/assets/images/icon/opensuse.svg" width="16" height="16"></sub></a> openSUSE</td>
|
||||
<td align="center">Leep 15 / Tumbleweed</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://archlinux.org" target="_blank"><sub><img src="docs/assets/images/icon/arch-linux.ico" width="16" height="16"></sub></a> Arch Linux</td>
|
||||
<td><a href="https://archlinux.org" target="_blank"><sub><img src="/docs/assets/images/icon/arch-linux.ico" width="16" height="16"></sub></a> Arch Linux</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://manjaro.org" target="_blank"><sub><img src="docs/assets/images/icon/manjaro.svg" width="16" height="16"></sub></a> Manjaro</td>
|
||||
<td><a href="https://manjaro.org" target="_blank"><sub><img src="/docs/assets/images/icon/manjaro.svg" width="16" height="16"></sub></a> Manjaro</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.alpinelinux.org" target="_blank"><sub><img src="docs/assets/images/icon/alpine.png" width="16" height="16"></sub></a> Alpine Linux</td>
|
||||
<td><a href="https://www.alpinelinux.org" target="_blank"><sub><img src="/docs/assets/images/icon/alpine.png" width="16" height="16"></sub></a> Alpine Linux</td>
|
||||
<td align="center">v3 / edge</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.gentoo.org" target="_blank"><sub><img src="docs/assets/images/icon/gentoo.svg" width="16" height="16"></sub></a> Gentoo</td>
|
||||
<td><a href="https://www.gentoo.org" target="_blank"><sub><img src="/docs/assets/images/icon/gentoo.svg" width="16" height="16"></sub></a> Gentoo</td>
|
||||
<td align="center">all</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://nixos.org" target="_blank"><sub><img src="docs/assets/images/icon/nixos.svg" width="16" height="16"></sub></a> NixOS</td>
|
||||
<td><a href="https://nixos.org" target="_blank"><sub><img src="/docs/assets/images/icon/nixos.svg" width="16" height="16"></sub></a> NixOS</td>
|
||||
<td align="center">19 ~ 24</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -161,7 +161,7 @@ Copyright © 2025, [SuperManito](https://github.com/SuperManito). Released under
|
||||
|
||||
## 特别感谢
|
||||
|
||||
<a href="https://www.jetbrains.com/zh-cn" style="text-decoration: none;"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/images/support/jetbrains-dark.svg" width="140" height="50"><img src="docs/assets/images/support/jetbrains-light.svg" alt="jetbrains" width="140" height="50"></picture></a> <a href="https://www.netlify.com" style="text-decoration: none;"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/assets/images/support/netlify-dark.png" width="110"><img src="docs/assets/images/support/netlify-light.png" alt="netlify" width="110"></picture></a>
|
||||
<a href="https://www.jetbrains.com/zh-cn" style="text-decoration: none;"><picture><source media="(prefers-color-scheme: dark)" srcset="/docs/assets/images/support/jetbrains-dark.svg" width="140" height="50"><img src="/docs/assets/images/support/jetbrains-light.svg" alt="jetbrains" width="140" height="50"></picture></a> <a href="https://www.netlify.com" style="text-decoration: none;"><picture><source media="(prefers-color-scheme: dark)" srcset="/docs/assets/images/support/netlify-dark.png" width="110"><img src="/docs/assets/images/support/netlify-light.png" alt="netlify" width="110"></picture></a>
|
||||
|
||||
本项目已加入 JetBrains & Netlify 开源项目计划
|
||||
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- feedback
|
||||
- footer
|
||||
search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
### `2025-06-15`
|
||||
|
||||
* 适配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b)
|
||||
|
||||
### `2025-06-03`
|
||||
|
||||
* 新增适配 Manjaro 操作系统 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560)
|
||||
|
||||
### `2025-05-29`
|
||||
|
||||
* 适配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8)
|
||||
|
||||
### `2025-05-13`
|
||||
|
||||
* 为 Debian 和 Ubuntu 的新版本软件源启用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e)
|
||||
|
||||
### `2025-05-12`
|
||||
|
||||
* Docker 脚本新增 `仅更换镜像加速器` 命令选项 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa)
|
||||
|
||||
### `2025-05-11`
|
||||
|
||||
* 适配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad)
|
||||
|
||||
### `2025-04-05`
|
||||
|
||||
* 命令选项新增纯净模式 [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4)
|
||||
|
||||
### `2025-03-16`
|
||||
|
||||
* 适配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555)
|
||||
|
||||
### `2025-03-15`
|
||||
|
||||
* 新增适配 Raspberry Pi OS 操作系统 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90)
|
||||
|
||||
### `2025-03-14`
|
||||
|
||||
* 适配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10)
|
||||
|
||||
### `2025-02-20`
|
||||
|
||||
* 新增适配 NixOS 操作系统 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b)
|
||||
|
||||
......
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- feedback
|
||||
- footer
|
||||
search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
### `2025-06-15`
|
||||
|
||||
* 适配 Rocky Linux 10 [#dafaa13](https://github.com/SuperManito/LinuxMirrors/commit/dafaa13e44209d719b5b6f06f4cc3c4f2ef24d3b)
|
||||
|
||||
### `2025-06-03`
|
||||
|
||||
* 新增适配 Manjaro 操作系统 [#a93f23e](https://github.com/SuperManito/LinuxMirrors/commit/a93f23e48d4ffbffb0e04efcf33138fc7218b560)
|
||||
|
||||
### `2025-05-29`
|
||||
|
||||
* 适配 Red Hat Enterprise Linux 10 & AlmaLinux 10 [#26f493a](https://github.com/SuperManito/LinuxMirrors/commit/26f493a762221569404d45a6556afd7945ac75f8)
|
||||
|
||||
### `2025-05-13`
|
||||
|
||||
* 为 Debian 和 Ubuntu 的新版本软件源启用 DEB822 格式 [#c3d0d5f](https://github.com/SuperManito/LinuxMirrors/commit/c3d0d5fa2c0993e104711f55e37fa8ada1031b5e)
|
||||
|
||||
### `2025-05-12`
|
||||
|
||||
* Docker 脚本新增 `仅更换镜像加速器` 命令选项 [#3f13f40](https://github.com/SuperManito/LinuxMirrors/commit/3f13f40111fa3631555ca7104cea21b4bb5adefa)
|
||||
|
||||
### `2025-05-11`
|
||||
|
||||
* 适配 Anolis OS 8.10 [#582b1d1](https://github.com/SuperManito/LinuxMirrors/commit/582b1d1fbcc3cab4899d4d400cf9a51023773aad)
|
||||
|
||||
### `2025-04-05`
|
||||
|
||||
* 命令选项新增纯净模式 [#e63dea7](https://github.com/SuperManito/LinuxMirrors/commit/e63dea7e64fa6c31ecee3c02b143924ab12917b4)
|
||||
|
||||
### `2025-03-16`
|
||||
|
||||
* 适配 EPEL 10 [#b71c0b9](https://github.com/SuperManito/LinuxMirrors/commit/b71c0b9790cc1dfb431729b817e726d6dd19a555)
|
||||
|
||||
### `2025-03-15`
|
||||
|
||||
* 新增适配 Raspberry Pi OS 操作系统 [#c08000c](https://github.com/SuperManito/LinuxMirrors/commit/c08000cb645994d669e5ca2678d429a9d9eb3c90)
|
||||
|
||||
### `2025-03-14`
|
||||
|
||||
* 适配 CentOS Stream 10 [#12eb98c](https://github.com/SuperManito/LinuxMirrors/commit/12eb98ce2945294873bfaa7b422fda175d9f8c10)
|
||||
|
||||
### `2025-02-20`
|
||||
|
||||
* 新增适配 NixOS 操作系统 [#4d91f7d](https://github.com/SuperManito/LinuxMirrors/commit/4d91f7d1b2ddd58f7794cc7620d0ea7e4f9af02b)
|
||||
|
||||
......
|
||||
|
||||
@@ -84,7 +84,7 @@ hide:
|
||||
---
|
||||
|
||||
脚本通过方向键交互逐步引导用户选择软件源配置,使换源更简单
|
||||
此外脚本提供了丰富的命令选项,可实现各种自定义需求
|
||||
此外脚本提供了丰富的命令选项,支持 CI/CD 集成与自动化运维
|
||||
|
||||
- :material-pencil-ruler-outline:{ .lg .middle } __高度可定制__
|
||||
|
||||
|
||||
@@ -1,277 +1,277 @@
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
- feedback
|
||||
- footer
|
||||
search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
## 中国大陆 :flag-CN:
|
||||
|
||||
> 下方列表中的镜像站均支持 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 软件源,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关
|
||||
|
||||
<div id="mirrors-table"><p>正在加载表格 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.15rem"><g stroke="currentColor"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
|
||||
|
||||
<!-- | 镜像站 | IPv6 | Arch Linux | Kali Linux | Deepin | Rocky Linux | AlmaLinux | EPEL :material-information-outline:{ title="Extra Packages for Enterprise Linux (EPEL) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。" } | Fedora | OpenCloudOS | Alpine Linux | Armbian | Proxmox VE | Linux Mint | Gentoo | Anolis OS | openKylin | NixOS | Raspberry Pi OS |
|
||||
| :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
|
||||
| [阿里云](https://mirrors.aliyun.com "mirrors.aliyun.com") | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: |
|
||||
| [腾讯云](https://mirrors.tencent.com "mirrors.tencent.com") | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [华为云](https://mirrors.huaweicloud.com "mirrors.huaweicloud.com") | :unsupport: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [网易](https://mirrors.163.com "mirrors.163.com") | :unsupport: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :supported: |
|
||||
| [火山引擎](https://developer.volcengine.com/mirror "mirrors.volces.com") | :unsupport: | :unsupport: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [清华大学](https://mirrors.tuna.tsinghua.edu.cn "mirrors.tuna.tsinghua.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [北京大学](https://mirrors.pku.edu.cn/Mirrors "mirrors.pku.edu.cn") | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [浙江大学](https://mirrors.zju.edu.cn "mirrors.zju.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: |
|
||||
| [南京大学](https://mirrors.nju.edu.cn "mirrors.nju.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: |
|
||||
| [兰州大学](https://mirror.lzu.edu.cn "mirror.lzu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: |
|
||||
| [上海交通大学](https://mirror.sjtu.edu.cn "mirror.sjtu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :incompatible: | :supported: | :incompatible: | :supported: | :unsupport: | :supported: | :incompatible: | :unsupport: | :supported: | :supported: | :supported: |
|
||||
| [重庆邮电大学](https://mirrors.cqupt.edu.cn "mirrors.cqu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [中国科学技术大学](https://mirrors.ustc.edu.cn "mirrors.ustc.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [中国科学院软件研究所](https://mirror.iscas.ac.cn "mirror.iscas.ac.cn") | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | -->
|
||||
|
||||
???+ question "使用帮助"
|
||||
|
||||
:supported: 支持 :unsupport: 不支持 :incompatible: 不兼容,表示软件源分支命名不符合脚本默认规则但可以通过命令选项来使用,关于具体用法示例和各操作系统所使用的默认分支名称[详见此处](../use/index.md#指定软件源仓库)
|
||||
|
||||
如果这里没有想使用的镜像站那可以看看其它运行模式和命令选项。软件源的速度区分刷新速度和下行速率,后者才是关键,具体请结合实际地理位置选择尝试,还可以通过[辅助工具网站](#工具网站)进行一些测试
|
||||
|
||||
:material-thumb-up-outline: 使用建议:速度上推荐 `中科大`、`字节(火山引擎)`,地域兼容性上推荐 `阿里云`、`腾讯云`,软件源种类上推荐 `南京大学`、`中科院`,境外、海外或复杂网络环境下不建议使用 `清华(TUNA)` 等容易阻断的镜像站
|
||||
|
||||
??? note "中国大陆教育网(点击展开查看)"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 北京大学 | [mirrors.pku.edu.cn](https://mirrors.pku.edu.cn "https://mirrors.pku.edu.cn") |
|
||||
| 北京交通大学 | [mirror.bjtu.edu.cn](https://mirror.bjtu.edu.cn "https://mirror.bjtu.edu.cn") |
|
||||
| 北京外国语大学 | [mirrors.bfsu.edu.cn](https://mirrors.bfsu.edu.cn "https://mirrors.bfsu.edu.cn") |
|
||||
| 北京邮电大学 | [mirror.bupt.edu.cn](https://mirror.bupt.edu.cn "https://mirror.bupt.edu.cn") |
|
||||
| 重庆大学 | [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn "https://mirrors.cqu.edu.cn") |
|
||||
| 重庆邮电大学 | [mirrors.cqupt.edu.cn](https://mirrors.cqupt.edu.cn "https://mirrors.cqupt.edu.cn") |
|
||||
| 大连东软信息学院 | [mirrors.neusoft.edu.cn](https://mirrors.neusoft.edu.cn "https://mirrors.neusoft.edu.cn") |
|
||||
| 电子科技大学 | [mirrors.uestc.cn](https://mirrors.uestc.cn "https://mirrors.uestc.cn") |
|
||||
| 华南农业大学 | [mirrors.scau.edu.cn](https://mirrors.scau.edu.cn "https://mirrors.scau.edu.cn") |
|
||||
| 华中科技大学 | [mirrors.hust.edu.cn](https://mirrors.hust.edu.cn "https://mirrors.hust.edu.cn") |
|
||||
| 吉林大学 | [mirrors.jlu.edu.cn](https://mirrors.jlu.edu.cn "https://mirrors.jlu.edu.cn") |
|
||||
| 荆楚理工学院 | [mirrors.jcut.edu.cn](https://mirrors.jcut.edu.cn "https://mirrors.jcut.edu.cn") |
|
||||
| 江西理工大学 | [mirrors.jxust.edu.cn](https://mirrors.jxust.edu.cn "https://mirrors.jxust.edu.cn") |
|
||||
| 兰州大学 | [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn "https://mirror.lzu.edu.cn") |
|
||||
| 南京大学 | [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn "https://mirrors.nju.edu.cn") |
|
||||
| 南京工业大学 | [mirrors.njtech.edu.cn](https://mirrors.njtech.edu.cn "https://mirrors.njtech.edu.cn") |
|
||||
| 南京邮电大学 | [mirrors.njupt.edu.cn](https://mirrors.njupt.edu.cn "https://mirrors.njupt.edu.cn") |
|
||||
| 南方科技大学 | [mirrors.sustech.edu.cn](https://mirrors.sustech.edu.cn "https://mirrors.sustech.edu.cn") |
|
||||
| 南阳理工学院 | [mirror.nyist.edu.cn](https://mirror.nyist.edu.cn "https://mirror.nyist.edu.cn") |
|
||||
| 齐鲁工业大学 | [mirrors.qlu.edu.cn](https://mirrors.qlu.edu.cn "https://mirrors.qlu.edu.cn") |
|
||||
| 清华大学 | [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn "https://mirrors.tuna.tsinghua.edu.cn") |
|
||||
| 山东大学 | [mirrors.sdu.edu.cn](https://mirrors.sdu.edu.cn "https://mirrors.sdu.edu.cn") |
|
||||
| 上海科技大学 | [mirrors.shanghaitech.edu.cn](https://mirrors.shanghaitech.edu.cn "https://mirrors.shanghaitech.edu.cn") |
|
||||
| 上海交通大学(思源) | [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn "https://mirror.sjtu.edu.cn") |
|
||||
| 上海交通大学(致远) | [mirrors.sjtug.sjtu.edu.cn](https://mirrors.sjtug.sjtu.edu.cn "https://mirrors.sjtug.sjtu.edu.cn") |
|
||||
| 武昌首义学院 | [mirrors.wsyu.edu.cn](https://mirrors.wsyu.edu.cn "https://mirrors.wsyu.edu.cn") |
|
||||
| 西安交通大学 | [mirrors.xjtu.edu.cn](https://mirrors.xjtu.edu.cn "https://mirrors.xjtu.edu.cn") |
|
||||
| 西北农林科技大学 | [mirrors.nwafu.edu.cn](https://mirrors.nwafu.edu.cn "https://mirrors.nwafu.edu.cn") |
|
||||
| 浙江大学 | [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn "https://mirrors.zju.edu.cn") |
|
||||
| 中国科学技术大学 | [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn "https://mirrors.ustc.edu.cn") |
|
||||
|
||||
## 境外以及海外地区 :flag-world-map:
|
||||
|
||||
=== ":fontawesome-solid-earth-asia: 亚洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 亚洲 · xTom · 香港 :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| 亚洲 · 01Link · 香港 :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| 亚洲 · 新加坡国立大学(NUS) · 新加坡 :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| 亚洲 · SG.GS · 新加坡 :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| 亚洲 · xTom · 新加坡 :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| 亚洲 · 自由软件实验室(NCHC) · 台湾 :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| 亚洲 · OSS Planet · 台湾 :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| 亚洲 · 国立阳明交通大学 · 台湾 :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| 亚洲 · 淡江大学 · 台湾 :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| 亚洲 · AniGil Linux Archive · 韩国 :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| 亚洲 · 工业网络安全中心(ICSCoE) · 日本 :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| 亚洲 · 北陆先端科学技术大学院大学(JAIST) · 日本 :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| 亚洲 · 山形大学 · 日本 :flag-JP: | [linux2.yz.yamagata-u.ac.jp/pub/Linux](https://linux2.yz.yamagata-u.ac.jp/pub/Linux "https://linux2.yz.yamagata-u.ac.jp/pub/Linux") |
|
||||
| 亚洲 · xTom · 日本 :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| 亚洲 · GB Network Solutions · 马来西亚 :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| 亚洲 · 孔敬大学 · 泰国 :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
|
||||
=== ":fontawesome-solid-earth-europe: 欧洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 欧洲 · Vorboss Ltd · 英国 :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| 欧洲 · QuickHost · 英国 :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| 欧洲 · dogado · 德国 :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| 欧洲 · xTom · 德国 :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| 欧洲 · 亚琛工业大学(RWTH Aachen) · 德国 :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| 欧洲 · 德累斯顿大学(AG DSN) · 德国 :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| 欧洲 · CCIN2P3 · 法国 :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| 欧洲 · Ircam · 法国 :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| 欧洲 · Crans · 法国 :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| 欧洲 · CRIHAN · 法国 :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| 欧洲 · xTom · 荷兰 :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| 欧洲 · DataPacket · 荷兰 :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| 欧洲 · Linux Kernel · 荷兰 :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| 欧洲 · xTom · 爱沙尼亚 :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| 欧洲 · netsite · 丹麦 :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| 欧洲 · Dotsrc · 丹麦 :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| 欧洲 · Academic Computer Club · 瑞典 :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| 欧洲 · Lysator · 瑞典 :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| 欧洲 · Yandex · 俄罗斯 :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| 欧洲 · ia64 · 俄罗斯 :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| 欧洲 · Truenetwork · 俄罗斯 :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| 欧洲 · Belgian Research Network · 比利时 :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| 欧洲 · 克里特大学计算机中心 · 希腊 :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| 欧洲 · 马萨里克大学信息学院 · 捷克 :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| 欧洲 · 捷克理工大学学生会俱乐部(Silicon Hill) · 捷克 :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| 欧洲 · Vodafone · 捷克 :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| 欧洲 · CZ.NIC · 捷克 :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| 欧洲 · 苏黎世联邦理工学院 · 瑞士 :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: 北美洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 北美 · Linux Kernel · 美国 :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| 北美 · 麻省理工学院(MIT) · 美国 :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| 北美 · 普林斯顿大学数学系 · 美国 :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| 北美 · 俄勒冈州立大学开源实验室 · 美国 :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| 北美 · Fremont Cabal Internet Exchange(FCIX) · 美国 :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| 北美 · xTom · 美国 :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| 北美 · Steadfast · 美国 :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| 北美 · 不列颠哥伦比亚大学 · 加拿大 :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| 北美 · GoCodeIT · 加拿大 :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| 北美 · Switch · 加拿大 :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: 南美洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 南美 · PoP-SC · 巴西 :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| 南美 · 蓬塔格罗萨州立大学 · 巴西 :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| 南美 · UFSCar · 巴西 :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| 南美 · Sysarmy Community · 阿根廷 :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
|
||||
=== ":fontawesome-solid-earth-oceania: 大洋洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亚 :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| 大洋 · AARNet · 澳大利亚 :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| 大洋 · DataMossa · 澳大利亚 :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| 大洋 · Amaze · 澳大利亚 :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| 大洋 · xTom · 澳大利亚 :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| 大洋 · Over the Wire · 澳大利亚 :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| 大洋 · Free Software Mirror Group · 新西兰 :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
|
||||
=== ":fontawesome-solid-earth-africa: 非洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 非洲 · Liquid Telecom · 肯尼亚 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
=== ":octicons-globe-16: 全部"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 亚洲 · xTom · 香港 :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| 亚洲 · 01Link · 香港 :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| 亚洲 · 新加坡国立大学(NUS) · 新加坡 :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| 亚洲 · SG.GS · 新加坡 :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| 亚洲 · xTom · 新加坡 :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| 亚洲 · 自由软件实验室(NCHC) · 台湾 :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| 亚洲 · OSS Planet · 台湾 :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| 亚洲 · 国立阳明交通大学 · 台湾 :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| 亚洲 · 淡江大学 · 台湾 :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| 亚洲 · AniGil Linux Archive · 韩国 :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| 亚洲 · 工业网络安全中心(ICSCoE) · 日本 :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| 亚洲 · 北陆先端科学技术大学院大学(JAIST) · 日本 :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| 亚洲 · 山形大学 · 日本 :flag-JP: | [linux2.yz.yamagata-u.ac.jp/pub/Linux](https://linux2.yz.yamagata-u.ac.jp/pub/Linux "https://linux2.yz.yamagata-u.ac.jp/pub/Linux") |
|
||||
| 亚洲 · xTom · 日本 :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| 亚洲 · GB Network Solutions · 马来西亚 :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| 亚洲 · 孔敬大学 · 泰国 :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
| 欧洲 · Vorboss Ltd · 英国 :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| 欧洲 · QuickHost · 英国 :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| 欧洲 · dogado · 德国 :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| 欧洲 · xTom · 德国 :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| 欧洲 · 亚琛工业大学(RWTH Aachen) · 德国 :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| 欧洲 · 德累斯顿大学(AG DSN) · 德国 :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| 欧洲 · CCIN2P3 · 法国 :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| 欧洲 · Ircam · 法国 :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| 欧洲 · Crans · 法国 :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| 欧洲 · CRIHAN · 法国 :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| 欧洲 · xTom · 荷兰 :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| 欧洲 · DataPacket · 荷兰 :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| 欧洲 · Linux Kernel · 荷兰 :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| 欧洲 · xTom · 爱沙尼亚 :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| 欧洲 · netsite · 丹麦 :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| 欧洲 · Dotsrc · 丹麦 :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| 欧洲 · Academic Computer Club · 瑞典 :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| 欧洲 · Lysator · 瑞典 :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| 欧洲 · Yandex · 俄罗斯 :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| 欧洲 · ia64 · 俄罗斯 :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| 欧洲 · Truenetwork · 俄罗斯 :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| 欧洲 · Belgian Research Network · 比利时 :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| 欧洲 · 克里特大学计算机中心 · 希腊 :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| 欧洲 · 马萨里克大学信息学院 · 捷克 :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| 欧洲 · 捷克理工大学学生会俱乐部(Silicon Hill) · 捷克 :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| 欧洲 · Vodafone · 捷克 :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| 欧洲 · CZ.NIC · 捷克 :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| 欧洲 · 苏黎世联邦理工学院 · 瑞士 :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
| 北美 · Linux Kernel · 美国 :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| 北美 · 麻省理工学院(MIT) · 美国 :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| 北美 · 普林斯顿大学数学系 · 美国 :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| 北美 · 俄勒冈州立大学开源实验室 · 美国 :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| 北美 · Fremont Cabal Internet Exchange(FCIX) · 美国 :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| 北美 · xTom · 美国 :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| 北美 · Steadfast · 美国 :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| 北美 · 不列颠哥伦比亚大学 · 加拿大 :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| 北美 · GoCodeIT · 加拿大 :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| 北美 · Switch · 加拿大 :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
| 南美 · PoP-SC · 巴西 :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| 南美 · 蓬塔格罗萨州立大学 · 巴西 :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| 南美 · UFSCar · 巴西 :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| 南美 · Sysarmy Community · 阿根廷 :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
| 大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亚 :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| 大洋 · AARNet · 澳大利亚 :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| 大洋 · DataMossa · 澳大利亚 :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| 大洋 · Amaze · 澳大利亚 :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| 大洋 · xTom · 澳大利亚 :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| 大洋 · Over the Wire · 澳大利亚 :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| 大洋 · Free Software Mirror Group · 新西兰 :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
| 非洲 · Liquid Telecom · 肯尼亚 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
???+ note "帮助项目完善更多境外、海外软件源"
|
||||
|
||||
该列表中的软件源参考自 [`Ubuntu 镜像列表`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors")、[`Debian 镜像列表`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors")、[`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") 并且在此之前全部经过了有效性验证,但未作实际测试
|
||||
|
||||
作者没有精力持续维护列表中的这些境外、海外镜像站,如果你想补充更多软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L60 "https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L66") 并按照下面的编辑规范进行修改
|
||||
|
||||
你可以在确认软件源地址无误后前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 仓库后自行定制使用
|
||||
|
||||
- 境外以及海外软件源编辑规范:
|
||||
|
||||
完整格式:`洲 · 软件源名称 · 国家/地区@软件源地址(域名)`
|
||||
|
||||
请根据地理位置、国家或地区进行排序以便于用户选择,有标志性缩写字符的单位应在最后用括号补充,单位的名称应以域名作为优先原则,下面是命名规则:
|
||||
|
||||
- 教育单位:需使用中文译名,全称中若含有国家或地区的名称则也要带上,注意区分下属单位,例如学院、学生会、社团等。常见的二级域名格式 `ftp.mirrors.xxx.xxx` 应直接采用顶级单位的名称,如果有三级域名则应考虑是否在名称中加上下属单位,以域名为优先原则
|
||||
|
||||
注:`Technology` 一词应称为 `理工` 而不能使用翻译结果的 `技术` 一词,大部分教育单位都有正式或公认的中文译名
|
||||
|
||||
- 非教育单位:应优先采用其上属官网所自称的品牌名称,注意是正式的英文名称而不是logo中的字符,如果没有并且网站是除中文、英文以外的语言文字应使用网站域名作为名称
|
||||
|
||||
## 工具网站
|
||||
|
||||
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">域名查询</button>
|
||||
<button class="md-button" title="https://tools.ipip.net/newping.php" onclick="window.open('https://tools.ipip.net/newping.php')">Ping 延迟测试</button>
|
||||
<button class="md-button" title="https://tools.ipip.net/traceroute.php" onclick="window.open('https://tools.ipip.net/traceroute.php')">Tracert 路由追踪测试</button>
|
||||
<button class="md-button" title="https://ipw.cn/ipv6webcheck" onclick="window.open('https://ipw.cn/ipv6webcheck')">IPv6 接入测试</button>
|
||||
|
||||
!!! tip "该页面展示的均为脚本默认提供可供选择的软件源地址,如果没有找到你想使用的也没有关系,脚本支持命令选项可自定义使用,详见[高级用法](../use/index.md#命令选项高级用法)"
|
||||
|
||||
> 本页面涉及的旗帜图标仅用于快速区分地理位置,不代表作者任何的政治立场,请不要过度解读,特此声明。
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- toc
|
||||
- feedback
|
||||
- footer
|
||||
search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
## 中国大陆 :flag-CN:
|
||||
|
||||
> 下方列表中的镜像站均支持 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 软件源,列表根据单位性质、地理位置、名称长度进行排序,与实际速度无关
|
||||
|
||||
<div id="mirrors-table"><p>正在加载表格 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" style="vertical-align: -0.15rem"><g stroke="currentColor"><circle cx="12" cy="12" r="9.5" fill="none" stroke-linecap="round" stroke-width="3"><animate attributeName="stroke-dasharray" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0 150;42 150;42 150;42 150"/><animate attributeName="stroke-dashoffset" calcMode="spline" dur="1.5s" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" keyTimes="0;0.475;0.95;1" repeatCount="indefinite" values="0;-16;-59;-59"/></circle><animateTransform attributeName="transform" dur="2s" repeatCount="indefinite" type="rotate" values="0 12 12;360 12 12"/></g></svg></p></div>
|
||||
|
||||
<!-- | 镜像站 | IPv6 | Arch Linux | Kali Linux | Deepin | Rocky Linux | AlmaLinux | EPEL :material-information-outline:{ title="Extra Packages for Enterprise Linux (EPEL) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。" } | Fedora | OpenCloudOS | Alpine Linux | Armbian | Proxmox VE | Linux Mint | Gentoo | Anolis OS | openKylin | NixOS | Raspberry Pi OS |
|
||||
| :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
|
||||
| [阿里云](https://mirrors.aliyun.com "mirrors.aliyun.com") | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: |
|
||||
| [腾讯云](https://mirrors.tencent.com "mirrors.tencent.com") | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [华为云](https://mirrors.huaweicloud.com "mirrors.huaweicloud.com") | :unsupport: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [网易](https://mirrors.163.com "mirrors.163.com") | :unsupport: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :supported: |
|
||||
| [火山引擎](https://developer.volcengine.com/mirror "mirrors.volces.com") | :unsupport: | :unsupport: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [清华大学](https://mirrors.tuna.tsinghua.edu.cn "mirrors.tuna.tsinghua.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [北京大学](https://mirrors.pku.edu.cn/Mirrors "mirrors.pku.edu.cn") | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :unsupport: |
|
||||
| [浙江大学](https://mirrors.zju.edu.cn "mirrors.zju.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: |
|
||||
| [南京大学](https://mirrors.nju.edu.cn "mirrors.nju.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: |
|
||||
| [兰州大学](https://mirror.lzu.edu.cn "mirror.lzu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :unsupport: | :unsupport: |
|
||||
| [上海交通大学](https://mirror.sjtu.edu.cn "mirror.sjtu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :incompatible: | :supported: | :incompatible: | :supported: | :unsupport: | :supported: | :incompatible: | :unsupport: | :supported: | :supported: | :supported: |
|
||||
| [重庆邮电大学](https://mirrors.cqupt.edu.cn "mirrors.cqu.edu.cn") | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [中国科学技术大学](https://mirrors.ustc.edu.cn "mirrors.ustc.edu.cn") | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :unsupport: | :unsupport: | :supported: | :supported: |
|
||||
| [中国科学院软件研究所](https://mirror.iscas.ac.cn "mirror.iscas.ac.cn") | :unsupport: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :supported: | :incompatible: | :supported: | :supported: | :supported: | -->
|
||||
|
||||
???+ question "使用帮助"
|
||||
|
||||
:supported: 支持 :unsupport: 不支持 :incompatible: 不兼容,表示软件源分支命名不符合脚本默认规则但可以通过命令选项来使用,关于具体用法示例和各操作系统所使用的默认分支名称[详见此处](../use/index.md#指定软件源仓库)
|
||||
|
||||
如果这里没有想使用的镜像站那可以看看其它运行模式和命令选项。软件源的速度区分刷新速度和下行速率,后者才是关键,具体请结合实际地理位置选择尝试,还可以通过[辅助工具网站](#工具网站)进行一些测试
|
||||
|
||||
:material-thumb-up-outline: 使用建议:速度上推荐 `中科大`、`字节(火山引擎)`,地域兼容性上推荐 `阿里云`、`腾讯云`,软件源种类上推荐 `南京大学`、`中科院`,境外、海外或复杂网络环境下不建议使用 `清华(TUNA)` 等容易阻断的镜像站
|
||||
|
||||
??? note "中国大陆教育网(点击展开查看)"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 北京大学 | [mirrors.pku.edu.cn](https://mirrors.pku.edu.cn "https://mirrors.pku.edu.cn") |
|
||||
| 北京交通大学 | [mirror.bjtu.edu.cn](https://mirror.bjtu.edu.cn "https://mirror.bjtu.edu.cn") |
|
||||
| 北京外国语大学 | [mirrors.bfsu.edu.cn](https://mirrors.bfsu.edu.cn "https://mirrors.bfsu.edu.cn") |
|
||||
| 北京邮电大学 | [mirror.bupt.edu.cn](https://mirror.bupt.edu.cn "https://mirror.bupt.edu.cn") |
|
||||
| 重庆大学 | [mirrors.cqu.edu.cn](https://mirrors.cqu.edu.cn "https://mirrors.cqu.edu.cn") |
|
||||
| 重庆邮电大学 | [mirrors.cqupt.edu.cn](https://mirrors.cqupt.edu.cn "https://mirrors.cqupt.edu.cn") |
|
||||
| 大连东软信息学院 | [mirrors.neusoft.edu.cn](https://mirrors.neusoft.edu.cn "https://mirrors.neusoft.edu.cn") |
|
||||
| 电子科技大学 | [mirrors.uestc.cn](https://mirrors.uestc.cn "https://mirrors.uestc.cn") |
|
||||
| 华南农业大学 | [mirrors.scau.edu.cn](https://mirrors.scau.edu.cn "https://mirrors.scau.edu.cn") |
|
||||
| 华中科技大学 | [mirrors.hust.edu.cn](https://mirrors.hust.edu.cn "https://mirrors.hust.edu.cn") |
|
||||
| 吉林大学 | [mirrors.jlu.edu.cn](https://mirrors.jlu.edu.cn "https://mirrors.jlu.edu.cn") |
|
||||
| 荆楚理工学院 | [mirrors.jcut.edu.cn](https://mirrors.jcut.edu.cn "https://mirrors.jcut.edu.cn") |
|
||||
| 江西理工大学 | [mirrors.jxust.edu.cn](https://mirrors.jxust.edu.cn "https://mirrors.jxust.edu.cn") |
|
||||
| 兰州大学 | [mirror.lzu.edu.cn](https://mirror.lzu.edu.cn "https://mirror.lzu.edu.cn") |
|
||||
| 南京大学 | [mirrors.nju.edu.cn](https://mirrors.nju.edu.cn "https://mirrors.nju.edu.cn") |
|
||||
| 南京工业大学 | [mirrors.njtech.edu.cn](https://mirrors.njtech.edu.cn "https://mirrors.njtech.edu.cn") |
|
||||
| 南京邮电大学 | [mirrors.njupt.edu.cn](https://mirrors.njupt.edu.cn "https://mirrors.njupt.edu.cn") |
|
||||
| 南方科技大学 | [mirrors.sustech.edu.cn](https://mirrors.sustech.edu.cn "https://mirrors.sustech.edu.cn") |
|
||||
| 南阳理工学院 | [mirror.nyist.edu.cn](https://mirror.nyist.edu.cn "https://mirror.nyist.edu.cn") |
|
||||
| 齐鲁工业大学 | [mirrors.qlu.edu.cn](https://mirrors.qlu.edu.cn "https://mirrors.qlu.edu.cn") |
|
||||
| 清华大学 | [mirrors.tuna.tsinghua.edu.cn](https://mirrors.tuna.tsinghua.edu.cn "https://mirrors.tuna.tsinghua.edu.cn") |
|
||||
| 山东大学 | [mirrors.sdu.edu.cn](https://mirrors.sdu.edu.cn "https://mirrors.sdu.edu.cn") |
|
||||
| 上海科技大学 | [mirrors.shanghaitech.edu.cn](https://mirrors.shanghaitech.edu.cn "https://mirrors.shanghaitech.edu.cn") |
|
||||
| 上海交通大学(思源) | [mirror.sjtu.edu.cn](https://mirror.sjtu.edu.cn "https://mirror.sjtu.edu.cn") |
|
||||
| 上海交通大学(致远) | [mirrors.sjtug.sjtu.edu.cn](https://mirrors.sjtug.sjtu.edu.cn "https://mirrors.sjtug.sjtu.edu.cn") |
|
||||
| 武昌首义学院 | [mirrors.wsyu.edu.cn](https://mirrors.wsyu.edu.cn "https://mirrors.wsyu.edu.cn") |
|
||||
| 西安交通大学 | [mirrors.xjtu.edu.cn](https://mirrors.xjtu.edu.cn "https://mirrors.xjtu.edu.cn") |
|
||||
| 西北农林科技大学 | [mirrors.nwafu.edu.cn](https://mirrors.nwafu.edu.cn "https://mirrors.nwafu.edu.cn") |
|
||||
| 浙江大学 | [mirrors.zju.edu.cn](https://mirrors.zju.edu.cn "https://mirrors.zju.edu.cn") |
|
||||
| 中国科学技术大学 | [mirrors.ustc.edu.cn](https://mirrors.ustc.edu.cn "https://mirrors.ustc.edu.cn") |
|
||||
|
||||
## 境外以及海外地区 :flag-world-map:
|
||||
|
||||
=== ":fontawesome-solid-earth-asia: 亚洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 亚洲 · xTom · 香港 :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| 亚洲 · 01Link · 香港 :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| 亚洲 · 新加坡国立大学(NUS) · 新加坡 :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| 亚洲 · SG.GS · 新加坡 :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| 亚洲 · xTom · 新加坡 :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| 亚洲 · 自由软件实验室(NCHC) · 台湾 :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| 亚洲 · OSS Planet · 台湾 :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| 亚洲 · 国立阳明交通大学 · 台湾 :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| 亚洲 · 淡江大学 · 台湾 :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| 亚洲 · AniGil Linux Archive · 韩国 :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| 亚洲 · 工业网络安全中心(ICSCoE) · 日本 :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| 亚洲 · 北陆先端科学技术大学院大学(JAIST) · 日本 :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| 亚洲 · 山形大学 · 日本 :flag-JP: | [linux2.yz.yamagata-u.ac.jp/pub/Linux](https://linux2.yz.yamagata-u.ac.jp/pub/Linux "https://linux2.yz.yamagata-u.ac.jp/pub/Linux") |
|
||||
| 亚洲 · xTom · 日本 :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| 亚洲 · GB Network Solutions · 马来西亚 :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| 亚洲 · 孔敬大学 · 泰国 :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
|
||||
=== ":fontawesome-solid-earth-europe: 欧洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 欧洲 · Vorboss Ltd · 英国 :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| 欧洲 · QuickHost · 英国 :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| 欧洲 · dogado · 德国 :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| 欧洲 · xTom · 德国 :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| 欧洲 · 亚琛工业大学(RWTH Aachen) · 德国 :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| 欧洲 · 德累斯顿大学(AG DSN) · 德国 :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| 欧洲 · CCIN2P3 · 法国 :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| 欧洲 · Ircam · 法国 :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| 欧洲 · Crans · 法国 :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| 欧洲 · CRIHAN · 法国 :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| 欧洲 · xTom · 荷兰 :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| 欧洲 · DataPacket · 荷兰 :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| 欧洲 · Linux Kernel · 荷兰 :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| 欧洲 · xTom · 爱沙尼亚 :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| 欧洲 · netsite · 丹麦 :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| 欧洲 · Dotsrc · 丹麦 :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| 欧洲 · Academic Computer Club · 瑞典 :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| 欧洲 · Lysator · 瑞典 :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| 欧洲 · Yandex · 俄罗斯 :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| 欧洲 · ia64 · 俄罗斯 :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| 欧洲 · Truenetwork · 俄罗斯 :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| 欧洲 · Belgian Research Network · 比利时 :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| 欧洲 · 克里特大学计算机中心 · 希腊 :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| 欧洲 · 马萨里克大学信息学院 · 捷克 :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| 欧洲 · 捷克理工大学学生会俱乐部(Silicon Hill) · 捷克 :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| 欧洲 · Vodafone · 捷克 :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| 欧洲 · CZ.NIC · 捷克 :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| 欧洲 · 苏黎世联邦理工学院 · 瑞士 :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: 北美洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 北美 · Linux Kernel · 美国 :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| 北美 · 麻省理工学院(MIT) · 美国 :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| 北美 · 普林斯顿大学数学系 · 美国 :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| 北美 · 俄勒冈州立大学开源实验室 · 美国 :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| 北美 · Fremont Cabal Internet Exchange(FCIX) · 美国 :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| 北美 · xTom · 美国 :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| 北美 · Steadfast · 美国 :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| 北美 · 不列颠哥伦比亚大学 · 加拿大 :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| 北美 · GoCodeIT · 加拿大 :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| 北美 · Switch · 加拿大 :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: 南美洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 南美 · PoP-SC · 巴西 :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| 南美 · 蓬塔格罗萨州立大学 · 巴西 :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| 南美 · UFSCar · 巴西 :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| 南美 · Sysarmy Community · 阿根廷 :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
|
||||
=== ":fontawesome-solid-earth-oceania: 大洋洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亚 :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| 大洋 · AARNet · 澳大利亚 :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| 大洋 · DataMossa · 澳大利亚 :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| 大洋 · Amaze · 澳大利亚 :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| 大洋 · xTom · 澳大利亚 :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| 大洋 · Over the Wire · 澳大利亚 :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| 大洋 · Free Software Mirror Group · 新西兰 :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
|
||||
=== ":fontawesome-solid-earth-africa: 非洲"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 非洲 · Liquid Telecom · 肯尼亚 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
=== ":octicons-globe-16: 全部"
|
||||
|
||||
| 镜像站名称 | 镜像站地址 |
|
||||
| :- | :-: |
|
||||
| 亚洲 · xTom · 香港 :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| 亚洲 · 01Link · 香港 :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| 亚洲 · 新加坡国立大学(NUS) · 新加坡 :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| 亚洲 · SG.GS · 新加坡 :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| 亚洲 · xTom · 新加坡 :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| 亚洲 · 自由软件实验室(NCHC) · 台湾 :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| 亚洲 · OSS Planet · 台湾 :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| 亚洲 · 国立阳明交通大学 · 台湾 :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| 亚洲 · 淡江大学 · 台湾 :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| 亚洲 · AniGil Linux Archive · 韩国 :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| 亚洲 · 工业网络安全中心(ICSCoE) · 日本 :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| 亚洲 · 北陆先端科学技术大学院大学(JAIST) · 日本 :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| 亚洲 · 山形大学 · 日本 :flag-JP: | [linux2.yz.yamagata-u.ac.jp/pub/Linux](https://linux2.yz.yamagata-u.ac.jp/pub/Linux "https://linux2.yz.yamagata-u.ac.jp/pub/Linux") |
|
||||
| 亚洲 · xTom · 日本 :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| 亚洲 · GB Network Solutions · 马来西亚 :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| 亚洲 · 孔敬大学 · 泰国 :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
| 欧洲 · Vorboss Ltd · 英国 :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| 欧洲 · QuickHost · 英国 :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| 欧洲 · dogado · 德国 :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| 欧洲 · xTom · 德国 :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| 欧洲 · 亚琛工业大学(RWTH Aachen) · 德国 :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| 欧洲 · 德累斯顿大学(AG DSN) · 德国 :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| 欧洲 · CCIN2P3 · 法国 :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| 欧洲 · Ircam · 法国 :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| 欧洲 · Crans · 法国 :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| 欧洲 · CRIHAN · 法国 :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| 欧洲 · xTom · 荷兰 :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| 欧洲 · DataPacket · 荷兰 :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| 欧洲 · Linux Kernel · 荷兰 :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| 欧洲 · xTom · 爱沙尼亚 :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| 欧洲 · netsite · 丹麦 :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| 欧洲 · Dotsrc · 丹麦 :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| 欧洲 · Academic Computer Club · 瑞典 :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| 欧洲 · Lysator · 瑞典 :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| 欧洲 · Yandex · 俄罗斯 :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| 欧洲 · ia64 · 俄罗斯 :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| 欧洲 · Truenetwork · 俄罗斯 :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| 欧洲 · Belgian Research Network · 比利时 :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| 欧洲 · 克里特大学计算机中心 · 希腊 :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| 欧洲 · 马萨里克大学信息学院 · 捷克 :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| 欧洲 · 捷克理工大学学生会俱乐部(Silicon Hill) · 捷克 :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| 欧洲 · Vodafone · 捷克 :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| 欧洲 · CZ.NIC · 捷克 :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| 欧洲 · 苏黎世联邦理工学院 · 瑞士 :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
| 北美 · Linux Kernel · 美国 :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| 北美 · 麻省理工学院(MIT) · 美国 :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| 北美 · 普林斯顿大学数学系 · 美国 :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| 北美 · 俄勒冈州立大学开源实验室 · 美国 :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| 北美 · Fremont Cabal Internet Exchange(FCIX) · 美国 :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| 北美 · xTom · 美国 :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| 北美 · Steadfast · 美国 :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| 北美 · 不列颠哥伦比亚大学 · 加拿大 :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| 北美 · GoCodeIT · 加拿大 :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| 北美 · Switch · 加拿大 :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
| 南美 · PoP-SC · 巴西 :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| 南美 · 蓬塔格罗萨州立大学 · 巴西 :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| 南美 · UFSCar · 巴西 :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| 南美 · Sysarmy Community · 阿根廷 :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
| 大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亚 :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| 大洋 · AARNet · 澳大利亚 :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| 大洋 · DataMossa · 澳大利亚 :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| 大洋 · Amaze · 澳大利亚 :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| 大洋 · xTom · 澳大利亚 :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| 大洋 · Over the Wire · 澳大利亚 :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| 大洋 · Free Software Mirror Group · 新西兰 :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
| 非洲 · Liquid Telecom · 肯尼亚 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
???+ note "帮助项目完善更多境外、海外软件源"
|
||||
|
||||
该列表中的软件源参考自 [`Ubuntu 镜像列表`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors")、[`Debian 镜像列表`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors")、[`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") 并且在此之前全部经过了有效性验证,但未作实际测试
|
||||
|
||||
作者没有精力持续维护列表中的这些境外、海外镜像站,如果你想补充更多软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L60 "https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L66") 并按照下面的编辑规范进行修改
|
||||
|
||||
你可以在确认软件源地址无误后前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 仓库后自行定制使用
|
||||
|
||||
- 境外以及海外软件源编辑规范:
|
||||
|
||||
完整格式:`洲 · 软件源名称 · 国家/地区@软件源地址(域名)`
|
||||
|
||||
请根据地理位置、国家或地区进行排序以便于用户选择,有标志性缩写字符的单位应在最后用括号补充,单位的名称应以域名作为优先原则,下面是命名规则:
|
||||
|
||||
- 教育单位:需使用中文译名,全称中若含有国家或地区的名称则也要带上,注意区分下属单位,例如学院、学生会、社团等。常见的二级域名格式 `ftp.mirrors.xxx.xxx` 应直接采用顶级单位的名称,如果有三级域名则应考虑是否在名称中加上下属单位,以域名为优先原则
|
||||
|
||||
注:`Technology` 一词应称为 `理工` 而不能使用翻译结果的 `技术` 一词,大部分教育单位都有正式或公认的中文译名
|
||||
|
||||
- 非教育单位:应优先采用其上属官网所自称的品牌名称,注意是正式的英文名称而不是logo中的字符,如果没有并且网站是除中文、英文以外的语言文字应使用网站域名作为名称
|
||||
|
||||
## 工具网站
|
||||
|
||||
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">域名查询</button>
|
||||
<button class="md-button" title="https://tools.ipip.net/newping.php" onclick="window.open('https://tools.ipip.net/newping.php')">Ping 延迟测试</button>
|
||||
<button class="md-button" title="https://tools.ipip.net/traceroute.php" onclick="window.open('https://tools.ipip.net/traceroute.php')">Tracert 路由追踪测试</button>
|
||||
<button class="md-button" title="https://ipw.cn/ipv6webcheck" onclick="window.open('https://ipw.cn/ipv6webcheck')">IPv6 接入测试</button>
|
||||
|
||||
!!! tip "该页面展示的均为脚本默认提供可供选择的软件源地址,如果没有找到你想使用的也没有关系,脚本支持命令选项可自定义使用,详见[高级用法](../use/index.md#命令选项高级用法)"
|
||||
|
||||
> 本页面涉及的旗帜图标仅用于快速区分地理位置,不代表作者任何的政治立场,请不要过度解读,特此声明。
|
||||
|
||||
@@ -1,390 +1,390 @@
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- feedback
|
||||
- footer
|
||||
---
|
||||
|
||||
!!! tip inline end "已被众多流行项目使用,广受社区用户好评"
|
||||
|
||||
## :simple-docker:{style="color: #1d63ed"} Docker 安装与换源脚本
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="https://www.debian.org" title="https://www.debian.org" target="_blank"><img src="/assets/images/icon/debian.svg" width="16" height="16" style="vertical-align: -0.35em"></a> Debian</td>
|
||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" title="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.1em"></a> Red Hat Enterprise Linux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://ubuntu.com" title="https://ubuntu.com" target="_blank"><img src="/assets/images/icon/ubuntu.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Ubuntu</td>
|
||||
<td><a href="https://fedoraproject.org/zh-Hans" title="https://fedoraproject.org/zh-Hans" target="_blank"><img src="/assets/images/icon/fedora.ico" width="16" height="16" style="vertical-align: -0.15em"></a> Fedora</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.kali.org" title="https://www.kali.org" target="_blank"><img src="/assets/images/icon/kali-linux.svg" width="16" height="16"></a> Kali Linux</td>
|
||||
<td><a href="https://www.centos.org" title="https://www.centos.org" target="_blank"><img src="/assets/images/icon/centos.svg" width="16" height="16" style="vertical-align: -0.1em"></a> CentOS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://linuxmint.com" title="https://linuxmint.com" target="_blank"><img src="/assets/images/icon/linux-mint.ico" width="16" height="16" style="vertical-align: -0.15em"></a> Linux Mint</td>
|
||||
<td><a href="https://rockylinux.org" title="https://rockylinux.org" target="_blank"><img src="/assets/images/icon/rocky-linux.svg" width="16" height="16" style="vertical-align: -0.2em"></a> Rocky Linux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.deepin.org" title="https://www.deepin.org" target="_blank"><img src="/assets/images/icon/deepin.png" width="16" height="16" style="vertical-align: -0.2em"></a> Deepin(深度)</td>
|
||||
<td><a href="https://almalinux.org/zh-hans" title="https://almalinux.org/zh-hans" target="_blank"><img src="/assets/images/icon/almalinux.svg" width="16" height="16" style="vertical-align: -0.15em"></a> AlmaLinux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://zorin.com/os" title="https://zorin.com/os" target="_blank"><img src="/assets/images/icon/zorin-os.png" width="16" height="16" style="vertical-align: -0.1em"></a> Zorin OS</td>
|
||||
<td><a href="https://www.openeuler.org/zh" title="https://www.openeuler.org/zh" target="_blank"><img src="/assets/images/icon/openeuler.ico" width="16" height="16" style="vertical-align: -0.2em"></a> openEuler(开源欧拉)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.armbian.com" title="https://www.armbian.com" target="_blank"><img src="/assets/images/icon/armbian.png" width="16" height="16" style="vertical-align: -0.2em"></a> Armbian</td>
|
||||
<td><a href="https://www.opencloudos.org" title="https://www.opencloudos.org" target="_blank"><img src="/assets/images/icon/opencloudos.png" width="16" height="16" style="vertical-align: -0.25em"></a> OpenCloudOS(鸥栖)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.proxmox.com" title="https://www.proxmox.com" target="_blank"><img src="/assets/images/icon/proxmox.svg" width="16" height="16" style="vertical-align: -0.2em"></a> Proxmox VE</td>
|
||||
<td><a href="https://openanolis.cn" title="https://openanolis.cn" target="_blank"><img src="/assets/images/icon/anolis.png" width="16" height="16" style="vertical-align: -0.1em"></a> Anolis OS(龙蜥)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.raspberrypi.com/software" title="https://www.raspberrypi.com/software" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> Raspberry Pi OS</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### 一键执行命令
|
||||
|
||||
=== "安装"
|
||||
|
||||
!!! quote ""
|
||||
|
||||
=== ":linuxmirrors: 官网(推荐)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
```
|
||||
> 实时同步、无延迟,国内网络环境下推荐使用
|
||||
|
||||
=== ":gitcode: GitCode (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
```
|
||||
> 本项目已加入 GitHub 加速计划,同步存在1小时延迟
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)
|
||||
```
|
||||
|
||||
集成安装 [`Docker Engine`](https://docs.docker.com/engine) 和 [`Docker Compose`](https://docs.docker.com/compose),支持选择或更换软件源以及镜像仓库、安装指定版本、重装等功能,支持 ARM 架构
|
||||
|
||||
脚本参考[官方文档](https://docs.docker.com/engine/install)使用系统包管理工具进行安装,不存在兼容性、安全性等问题,可安装的版本由 Docker CE 仓库决定。
|
||||
|
||||
=== "仅更换镜像加速器"
|
||||
|
||||
!!! quote ""
|
||||
|
||||
=== ":linuxmirrors: 官网(推荐)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
> 实时同步、无延迟,国内网络环境下推荐使用
|
||||
|
||||
=== ":gitcode: GitCode (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
> 本项目已加入 GitHub 加速计划,同步存在1小时延迟
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
|
||||
|
||||
!!! node "软件源说明"
|
||||
|
||||
<div class="grid cards" markdown>
|
||||
|
||||
- __Docker CE 软件仓库__
|
||||
|
||||
---
|
||||
|
||||
Docker CE 全称 Docker Community Edition(Docker 社区版),是 Docker Engine 的别称,该仓库用于下载并安装 Docker 相关软件包
|
||||
|
||||
- __Docker Registry 镜像仓库__
|
||||
|
||||
---
|
||||
|
||||
用于控制拉取镜像的默认来源存储仓库,又称镜像加速器,默认为官方容器镜像仓库 [Docker Hub](https://hub.docker.com)
|
||||
|
||||
</div>
|
||||
|
||||
由于一些不可抗力的因素,目前国内网络环境一般无法正常访问 Docker Hub 因此无法拉取镜像,建议使用下方提到的国内可用镜像仓库源
|
||||
|
||||
注:脚本内的指定 WEB 协议交互仅用于控制 `Docker CE` 软件源,`Docker Registry` 强制使用 `HTTPS` 协议
|
||||
|
||||
!!! tip "Docker Compose 不再需要独立安装"
|
||||
|
||||
Docker Compose 自 V2 版本起开始作为 Docker CLI(命令行)的一部分,脚本默认集成安装该[插件](https://docs.docker.com/compose/install/linux),请使用 `docker compose` 命令替代 `docker-compose`
|
||||
|
||||
|
||||
!!! quote "内置的镜像仓库源"
|
||||
|
||||
<div style="text-align: center" markdown>
|
||||
<div style="font-size: 0.8rem"><strong>国内可用</strong></div>
|
||||
|
||||
| 站点名称 | 地址 | 说明 |
|
||||
| :--: | :--: | :-- |
|
||||
| 毫秒镜像 | [docker.1ms.run](https://1ms.run "docker.1ms.run") | 企业镜像站,CDN智能分发速度极快,支持付费定制,推荐使用 |
|
||||
| Docker Proxy | [dockerproxy.net](https://dockerproxy.net "dockerproxy.net") | 由 ghproxy 创建,可用性高但速度很慢,支持企业镜像付费加速 |
|
||||
| DaoCloud 道客 | [docker.m.daocloud.io](https://docker.m.daocloud.io "docker.m.daocloud.io") | 老牌企业镜像站,可用性高且速度快,现为白名单模式 |
|
||||
| 1Panel 镜像 | [docker.1panel.live](https://1panel.cn "docker.1panel.live") | 企业产品自用镜像 |
|
||||
|
||||
<blockquote style="border-left: none !important">本开源项目不适合采集个人自建的镜像加速器,如有需要可搭配命令选项自行使用</blockquote>
|
||||
|
||||
<div style="font-size: 0.8rem; margin-top: 1rem"><strong>其它</strong></div>
|
||||
|
||||
| 站点名称 | 地址 | 站点名称 | 地址 |
|
||||
| :- | :-: | :- | :-: |
|
||||
| 阿里云(杭州) | [registry.cn-hangzhou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-hangzhou.aliyuncs.com") | 阿里云(日本-东京) | [registry.ap-northeast-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-northeast-1.aliyuncs.com") |
|
||||
| 阿里云(上海) | [registry.cn-shanghai.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-shanghai.aliyuncs.com") | 阿里云(新加坡) | [registry.ap-southeast-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-1.aliyuncs.com") |
|
||||
| 阿里云(青岛) | [registry.cn-qingdao.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-qingdao.aliyuncs.com") | 阿里云(马来西亚-吉隆坡) | [registry.ap-southeast-3.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-3.aliyuncs.com") |
|
||||
| 阿里云(北京) | [registry.cn-beijing.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-beijing.aliyuncs.com") | 阿里云(印度尼西亚-雅加达) | [registry.ap-southeast-5.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-5.aliyuncs.com") |
|
||||
| 阿里云(张家口) | [registry.cn-zhangjiakou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-zhangjiakou.aliyuncs.com") | 阿里云(德国-法兰克福) | [registry.eu-central-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.eu-central-1.aliyuncs.com") |
|
||||
| 阿里云(呼和浩特) | [registry.cn-huhehaote.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-huhehaote.aliyuncs.com") | 阿里云(英国-伦敦) | [registry.eu-west-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.eu-west-1.aliyuncs.com") |
|
||||
| 阿里云(乌兰察布) | [registry.cn-wulanchabu.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-wulanchabu.aliyuncs.com") | 阿里云(美国西部-硅谷) | [registry.us-west-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.us-west-1.aliyuncs.com") |
|
||||
| 阿里云(深圳) | [registry.cn-shenzhen.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-shenzhen.aliyuncs.com") | 阿里云(美国东部-弗吉尼亚) | [registry.us-east-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.us-east-1.aliyuncs.com") |
|
||||
| 阿里云(河源) | [registry.cn-heyuan.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-heyuan.aliyuncs.com") | 阿联酋-迪拜 | [registry.me-east-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.me-east-1.aliyuncs.com") |
|
||||
| 阿里云(广州) | [registry.cn-guangzhou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-guangzhou.aliyuncs.com") | 谷歌云(北美) | [gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://gcr.io") |
|
||||
| 阿里云(成都) | [registry.cn-chengdu.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-chengdu.aliyuncs.com") | 谷歌云(亚洲) | [asia.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://asia.gcr.io") |
|
||||
| 阿里云(香港) | [registry.cn-hongkong.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-hongkong.aliyuncs.com") | 谷歌云(欧洲) | [eu.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://eu.gcr.io") |
|
||||
| 腾讯云 | [mirror.ccs.tencentyun.com](https://cloud.tencent.com/document/product/1207/45596 "https://mirror.ccs.tencentyun.com") | Docker Hub 官方 | [registry.hub.docker.com](https://hub.docker.com/ "registry.hub.docker.com") |
|
||||
|
||||
<blockquote style="border-left: none !important">注:国内云计算企业的镜像仓库仅针对其业务,境内实例可能仍无法访问 Docker Hub</blockquote>
|
||||
|
||||
</div>
|
||||
|
||||
- ### 命令选项(高级用法)
|
||||
|
||||
<!-- termynal -->
|
||||
```
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
|
||||
命令选项(名称/含义/值):
|
||||
|
||||
--source 指定 Docker CE 源地址(域名或IP) 地址
|
||||
--source-registry 指定镜像仓库地址(域名或IP) 地址
|
||||
--branch 指定 Docker CE 源仓库(路径) 仓库名
|
||||
--codename 指定 Debian 系操作系统的版本代号 代号名称
|
||||
--designated-version 指定 Docker CE 安装版本 版本号
|
||||
--protocol 指定 Docker CE 源的 WEB 协议 http 或 https
|
||||
--install-latest 是否安装最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否关闭防火墙 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--only-registry 仅更换镜像仓库模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--pure-mode 纯净模式,精简打印内容 无
|
||||
```
|
||||
|
||||
| 名称 | 含义 | 选项值 |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | 指定 `Docker CE` 源地址(域名或IP) | `地址` |
|
||||
| `--source-registry` | 指定镜像仓库地址(域名或IP) | `地址` |
|
||||
| `--branch` | 指定 Docker CE 源仓库 | `仓库名(详见下方文档)` |
|
||||
| `--codename` | 指定 Debian 系操作系统的版本代号 | `代号名称` |
|
||||
| `--designated-version` | 指定 `Docker CE` 安装版本 | `版本号(详见下方文档)` |
|
||||
| `--protocol` | 指定 `Docker CE` 源的 WEB 协议 | `http` 或 `https` |
|
||||
| `--install-latest` | 是否安装最新版本的 Docker Engine | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否关闭防火墙 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true` 或 `false` |
|
||||
| `--only-registry` | 仅更换镜像仓库模式 | 无 |
|
||||
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
|
||||
| `--pure-mode` | 纯净模式,精简打印内容 | 无 |
|
||||
|
||||
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
|
||||
|
||||
- #### 指定 Docker CE 软件源地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> 注意该地址路径需要包含镜像站的 Docker CE 软件源仓库路径即 `docker-ce`
|
||||
|
||||
- #### 指定镜像仓库地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source-registry registry.example.com
|
||||
```
|
||||
|
||||
- #### 仅更换镜像仓库
|
||||
|
||||
=== "使用脚本一键替换"
|
||||
|
||||
仅更换镜像加速器,当检测到未安装 Docker 时会报错跳出
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
```
|
||||
|
||||
=== "手动替换"
|
||||
|
||||
- 安装 `jq` 软件包
|
||||
|
||||
=== "Debian 系 / openKylin"
|
||||
|
||||
``` bash
|
||||
apt-get install -y jq
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS` `openKylin`
|
||||
|
||||
新装系统需要先执行一遍更新 `apt-get update`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
dnf install -y jq || yum install -y jq
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
- 指定镜像仓库地址
|
||||
|
||||
> 请手动替换 `<example.registry.com>` 为镜像仓库地址后在执行,详见上方 “项目内置的镜像仓库源” 表格中的地址列
|
||||
|
||||
``` bash
|
||||
SOURCE_REGISTRY='"https://<example.registry.com>"'
|
||||
```
|
||||
还可以指定多个镜像仓库,如 `SOURCE_REGISTRY='"https://example.registry.com","https://test.registry.com"'`,注意用英文逗号分割
|
||||
|
||||
- 替换镜像仓库地址
|
||||
|
||||
``` bash
|
||||
[ -s "/etc/docker/daemon.json" ] || echo "{}" >/etc/docker/daemon.json
|
||||
jq '.["registry-mirrors"] = ['"${SOURCE_REGISTRY}"']' /etc/docker/daemon.json >/etc/docker/daemon.json.tmp && mv /etc/docker/daemon.json.tmp
|
||||
```
|
||||
|
||||
- 重启 Docker 服务
|
||||
|
||||
``` bash
|
||||
systemctl daemon-reload
|
||||
[[ $(systemctl is-active docker) == "active" ]] && systemctl restart docker || systemctl enable --now docker
|
||||
```
|
||||
|
||||
- #### 指定 Docker CE 软件源仓库
|
||||
|
||||
脚本默认会自动判断一般无需指定,除非你有特殊需求
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
||||
```
|
||||
> 仓库名是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 这几个
|
||||
> 具体详见 [官方安装文档](https://docs.docker.com/engine/install) 和 [Docker CE 官方仓库](https://download.docker.com/linux)
|
||||
|
||||
- #### 指定 Docker CE 安装版本
|
||||
|
||||
指定安装版本时会忽略 `是否安装最新版本` 的命令选项,格式为 `主版本.次版本.补丁版本`,例如 `27.4.1`。
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 27.0.0
|
||||
```
|
||||
> 如果指定的版本不存在或者不支持当前系统,届时脚本会报错跳出
|
||||
|
||||
??? quote "查看版本列表的方法"
|
||||
|
||||
=== "Debian 系"
|
||||
|
||||
``` bash
|
||||
apt-cache madison docker-ce | awk '{print $3}' | grep -Eo "[0-9][0-9].[0-9]{1,2}.[0-9]{1,2}" | sort -t '.' -k1,1nr -k2,2nr -k3,3nr
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
dnf list docker-ce --showduplicates | sort -r | awk '{print $2}' | grep -Eo "[0-9][0-9].[0-9]{1,2}.[0-9]{1,2}" | sort -t '.' -k1,1nr -k2,2nr -k3,3nr
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
未出现在该列表中的版本则不支持通过本脚本安装,如果获取不到版本列表说明你当前的系统环境还没有正确配置 Docker CE 软件源(运行脚本时不存在该问题)
|
||||
|
||||
|
||||
- #### 无人值守(自动化)
|
||||
|
||||
不通过交互完成安装操作,至少需要使用如下命令选项来实现,建议熟悉后再使用
|
||||
|
||||
``` { .bash .no-copy title="参考命令" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
--source mirror.example.com/docker-ce \
|
||||
--source-registry registry.hub.docker.com \
|
||||
--protocol http \
|
||||
--use-intranet-source false \
|
||||
--install-latest true \
|
||||
--close-firewall true \
|
||||
--ignore-backup-tips
|
||||
```
|
||||
> 如果报错 `命令选项无效` 那么请检查选项合法性以及空格字符编码,在示例中一行写一个选项是为了提高命令的可读性
|
||||
|
||||
- #### 纯净模式
|
||||
|
||||
为了便于开发人员使用所推出的功能,启用后会精简脚本内容输出,建议搭配其它命令选项无交互使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "滚动输出的命令日志可能存在无法预料的显示问题,不过目前暂未发现异常"
|
||||
|
||||
- ### 关于服务报错无法启动
|
||||
|
||||
!!! quote ""
|
||||
|
||||
非新装环境可能会在运行脚本后遇到 `Docker` 服务无法启动的情况,建议重新安装来解决,卸载不会删除本地镜像和容器数据
|
||||
|
||||
卸载命令如下:
|
||||
|
||||
=== "Debian 系"
|
||||
|
||||
``` bash
|
||||
apt-get remove -y docker* containerd.io runc && apt-get autoremove
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
yum remove -y docker* containerd.io podman* runc
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
卸载完成后重新执行脚本安装即可
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
- feedback
|
||||
- footer
|
||||
---
|
||||
|
||||
!!! tip inline end "已被众多流行项目使用,广受社区用户好评"
|
||||
|
||||
## :simple-docker:{style="color: #1d63ed"} Docker 安装与换源脚本
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="https://www.debian.org" title="https://www.debian.org" target="_blank"><img src="/assets/images/icon/debian.svg" width="16" height="16" style="vertical-align: -0.35em"></a> Debian</td>
|
||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" title="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.1em"></a> Red Hat Enterprise Linux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://ubuntu.com" title="https://ubuntu.com" target="_blank"><img src="/assets/images/icon/ubuntu.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Ubuntu</td>
|
||||
<td><a href="https://fedoraproject.org/zh-Hans" title="https://fedoraproject.org/zh-Hans" target="_blank"><img src="/assets/images/icon/fedora.ico" width="16" height="16" style="vertical-align: -0.15em"></a> Fedora</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.kali.org" title="https://www.kali.org" target="_blank"><img src="/assets/images/icon/kali-linux.svg" width="16" height="16"></a> Kali Linux</td>
|
||||
<td><a href="https://www.centos.org" title="https://www.centos.org" target="_blank"><img src="/assets/images/icon/centos.svg" width="16" height="16" style="vertical-align: -0.1em"></a> CentOS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://linuxmint.com" title="https://linuxmint.com" target="_blank"><img src="/assets/images/icon/linux-mint.ico" width="16" height="16" style="vertical-align: -0.15em"></a> Linux Mint</td>
|
||||
<td><a href="https://rockylinux.org" title="https://rockylinux.org" target="_blank"><img src="/assets/images/icon/rocky-linux.svg" width="16" height="16" style="vertical-align: -0.2em"></a> Rocky Linux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.deepin.org" title="https://www.deepin.org" target="_blank"><img src="/assets/images/icon/deepin.png" width="16" height="16" style="vertical-align: -0.2em"></a> Deepin(深度)</td>
|
||||
<td><a href="https://almalinux.org/zh-hans" title="https://almalinux.org/zh-hans" target="_blank"><img src="/assets/images/icon/almalinux.svg" width="16" height="16" style="vertical-align: -0.15em"></a> AlmaLinux</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://zorin.com/os" title="https://zorin.com/os" target="_blank"><img src="/assets/images/icon/zorin-os.png" width="16" height="16" style="vertical-align: -0.1em"></a> Zorin OS</td>
|
||||
<td><a href="https://www.openeuler.org/zh" title="https://www.openeuler.org/zh" target="_blank"><img src="/assets/images/icon/openeuler.ico" width="16" height="16" style="vertical-align: -0.2em"></a> openEuler(开源欧拉)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.armbian.com" title="https://www.armbian.com" target="_blank"><img src="/assets/images/icon/armbian.png" width="16" height="16" style="vertical-align: -0.2em"></a> Armbian</td>
|
||||
<td><a href="https://www.opencloudos.org" title="https://www.opencloudos.org" target="_blank"><img src="/assets/images/icon/opencloudos.png" width="16" height="16" style="vertical-align: -0.25em"></a> OpenCloudOS(鸥栖)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.proxmox.com" title="https://www.proxmox.com" target="_blank"><img src="/assets/images/icon/proxmox.svg" width="16" height="16" style="vertical-align: -0.2em"></a> Proxmox VE</td>
|
||||
<td><a href="https://openanolis.cn" title="https://openanolis.cn" target="_blank"><img src="/assets/images/icon/anolis.png" width="16" height="16" style="vertical-align: -0.1em"></a> Anolis OS(龙蜥)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://www.raspberrypi.com/software" title="https://www.raspberrypi.com/software" target="_blank"><img src="/assets/images/icon/raspberry-pi.png" width="16" height="16" style="vertical-align: -0.2em"></a> Raspberry Pi OS</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### 一键执行命令
|
||||
|
||||
=== "安装"
|
||||
|
||||
!!! quote ""
|
||||
|
||||
=== ":linuxmirrors: 官网(推荐)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
```
|
||||
> 实时同步、无延迟,国内网络环境下推荐使用
|
||||
|
||||
=== ":gitcode: GitCode (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
```
|
||||
> 本项目已加入 GitHub 加速计划,同步存在1小时延迟
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)
|
||||
```
|
||||
|
||||
集成安装 [`Docker Engine`](https://docs.docker.com/engine) 和 [`Docker Compose`](https://docs.docker.com/compose),支持选择或更换软件源以及镜像仓库、安装指定版本、重装等功能,支持 ARM 架构
|
||||
|
||||
脚本参考[官方文档](https://docs.docker.com/engine/install)使用系统包管理工具进行安装,不存在兼容性、安全性等问题,可安装的版本由 Docker CE 仓库决定。
|
||||
|
||||
=== "仅更换镜像加速器"
|
||||
|
||||
!!! quote ""
|
||||
|
||||
=== ":linuxmirrors: 官网(推荐)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
> 实时同步、无延迟,国内网络环境下推荐使用
|
||||
|
||||
=== ":gitcode: GitCode (镜像仓库)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/gh_mirrors/li/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
> 本项目已加入 GitHub 加速计划,同步存在1小时延迟
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --only-registry
|
||||
```
|
||||
|
||||
|
||||
!!! node "软件源说明"
|
||||
|
||||
<div class="grid cards" markdown>
|
||||
|
||||
- __Docker CE 软件仓库__
|
||||
|
||||
---
|
||||
|
||||
Docker CE 全称 Docker Community Edition(Docker 社区版),是 Docker Engine 的别称,该仓库用于下载并安装 Docker 相关软件包
|
||||
|
||||
- __Docker Registry 镜像仓库__
|
||||
|
||||
---
|
||||
|
||||
用于控制拉取镜像的默认来源存储仓库,又称镜像加速器,默认为官方容器镜像仓库 [Docker Hub](https://hub.docker.com)
|
||||
|
||||
</div>
|
||||
|
||||
由于一些不可抗力的因素,目前国内网络环境一般无法正常访问 Docker Hub 因此无法拉取镜像,建议使用下方提到的国内可用镜像仓库源
|
||||
|
||||
注:脚本内的指定 WEB 协议交互仅用于控制 `Docker CE` 软件源,`Docker Registry` 强制使用 `HTTPS` 协议
|
||||
|
||||
!!! tip "Docker Compose 不再需要独立安装"
|
||||
|
||||
Docker Compose 自 V2 版本起开始作为 Docker CLI(命令行)的一部分,脚本默认集成安装该[插件](https://docs.docker.com/compose/install/linux),请使用 `docker compose` 命令替代 `docker-compose`
|
||||
|
||||
|
||||
!!! quote "内置的镜像仓库源"
|
||||
|
||||
<div style="text-align: center" markdown>
|
||||
<div style="font-size: 0.8rem"><strong>国内可用</strong></div>
|
||||
|
||||
| 站点名称 | 地址 | 说明 |
|
||||
| :--: | :--: | :-- |
|
||||
| 毫秒镜像 | [docker.1ms.run](https://1ms.run "docker.1ms.run") | 企业镜像站,CDN智能分发速度极快,支持付费定制,推荐使用 |
|
||||
| Docker Proxy | [dockerproxy.net](https://dockerproxy.net "dockerproxy.net") | 由 ghproxy 创建,可用性高但速度很慢,支持企业镜像付费加速 |
|
||||
| DaoCloud 道客 | [docker.m.daocloud.io](https://docker.m.daocloud.io "docker.m.daocloud.io") | 老牌企业镜像站,可用性高且速度快,现为白名单模式 |
|
||||
| 1Panel 镜像 | [docker.1panel.live](https://1panel.cn "docker.1panel.live") | 企业产品自用镜像 |
|
||||
|
||||
<blockquote style="border-left: none !important">本开源项目不适合采集个人自建的镜像加速器,如有需要可搭配命令选项自行使用</blockquote>
|
||||
|
||||
<div style="font-size: 0.8rem; margin-top: 1rem"><strong>其它</strong></div>
|
||||
|
||||
| 站点名称 | 地址 | 站点名称 | 地址 |
|
||||
| :- | :-: | :- | :-: |
|
||||
| 阿里云(杭州) | [registry.cn-hangzhou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-hangzhou.aliyuncs.com") | 阿里云(日本-东京) | [registry.ap-northeast-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-northeast-1.aliyuncs.com") |
|
||||
| 阿里云(上海) | [registry.cn-shanghai.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-shanghai.aliyuncs.com") | 阿里云(新加坡) | [registry.ap-southeast-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-1.aliyuncs.com") |
|
||||
| 阿里云(青岛) | [registry.cn-qingdao.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-qingdao.aliyuncs.com") | 阿里云(马来西亚-吉隆坡) | [registry.ap-southeast-3.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-3.aliyuncs.com") |
|
||||
| 阿里云(北京) | [registry.cn-beijing.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-beijing.aliyuncs.com") | 阿里云(印度尼西亚-雅加达) | [registry.ap-southeast-5.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.ap-southeast-5.aliyuncs.com") |
|
||||
| 阿里云(张家口) | [registry.cn-zhangjiakou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-zhangjiakou.aliyuncs.com") | 阿里云(德国-法兰克福) | [registry.eu-central-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.eu-central-1.aliyuncs.com") |
|
||||
| 阿里云(呼和浩特) | [registry.cn-huhehaote.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-huhehaote.aliyuncs.com") | 阿里云(英国-伦敦) | [registry.eu-west-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.eu-west-1.aliyuncs.com") |
|
||||
| 阿里云(乌兰察布) | [registry.cn-wulanchabu.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-wulanchabu.aliyuncs.com") | 阿里云(美国西部-硅谷) | [registry.us-west-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.us-west-1.aliyuncs.com") |
|
||||
| 阿里云(深圳) | [registry.cn-shenzhen.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-shenzhen.aliyuncs.com") | 阿里云(美国东部-弗吉尼亚) | [registry.us-east-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.us-east-1.aliyuncs.com") |
|
||||
| 阿里云(河源) | [registry.cn-heyuan.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-heyuan.aliyuncs.com") | 阿联酋-迪拜 | [registry.me-east-1.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.me-east-1.aliyuncs.com") |
|
||||
| 阿里云(广州) | [registry.cn-guangzhou.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-guangzhou.aliyuncs.com") | 谷歌云(北美) | [gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://gcr.io") |
|
||||
| 阿里云(成都) | [registry.cn-chengdu.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-chengdu.aliyuncs.com") | 谷歌云(亚洲) | [asia.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://asia.gcr.io") |
|
||||
| 阿里云(香港) | [registry.cn-hongkong.aliyuncs.com](https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images "https://registry.cn-hongkong.aliyuncs.com") | 谷歌云(欧洲) | [eu.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://eu.gcr.io") |
|
||||
| 腾讯云 | [mirror.ccs.tencentyun.com](https://cloud.tencent.com/document/product/1207/45596 "https://mirror.ccs.tencentyun.com") | Docker Hub 官方 | [registry.hub.docker.com](https://hub.docker.com/ "registry.hub.docker.com") |
|
||||
|
||||
<blockquote style="border-left: none !important">注:国内云计算企业的镜像仓库源仅针对其业务,境内实例可能仍无法访问 Docker Hub</blockquote>
|
||||
|
||||
</div>
|
||||
|
||||
- ### 命令选项(高级用法)
|
||||
|
||||
<!-- termynal -->
|
||||
```
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
|
||||
命令选项(名称/含义/值):
|
||||
|
||||
--source 指定 Docker CE 源地址(域名或IP) 地址
|
||||
--source-registry 指定镜像仓库地址(域名或IP) 地址
|
||||
--branch 指定 Docker CE 源仓库(路径) 仓库名
|
||||
--codename 指定 Debian 系操作系统的版本代号 代号名称
|
||||
--designated-version 指定 Docker CE 安装版本 版本号
|
||||
--protocol 指定 Docker CE 源的 WEB 协议 http 或 https
|
||||
--install-latest 是否安装最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否关闭防火墙 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--only-registry 仅更换镜像仓库模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--pure-mode 纯净模式,精简打印内容 无
|
||||
```
|
||||
|
||||
| 名称 | 含义 | 选项值 |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | 指定 `Docker CE` 源地址(域名或IP) | `地址` |
|
||||
| `--source-registry` | 指定镜像仓库地址(域名或IP) | `地址` |
|
||||
| `--branch` | 指定 Docker CE 源仓库 | `仓库名(详见下方文档)` |
|
||||
| `--codename` | 指定 Debian 系操作系统的版本代号 | `代号名称` |
|
||||
| `--designated-version` | 指定 `Docker CE` 安装版本 | `版本号(详见下方文档)` |
|
||||
| `--protocol` | 指定 `Docker CE` 源的 WEB 协议 | `http` 或 `https` |
|
||||
| `--install-latest` | 是否安装最新版本的 Docker Engine | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否关闭防火墙 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true` 或 `false` |
|
||||
| `--only-registry` | 仅更换镜像仓库模式 | 无 |
|
||||
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
|
||||
| `--pure-mode` | 纯净模式,精简打印内容 | 无 |
|
||||
|
||||
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
|
||||
|
||||
- #### 指定 Docker CE 软件源地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
```
|
||||
> 注意该地址路径需要包含镜像站的 Docker CE 软件源仓库路径即 `docker-ce`
|
||||
|
||||
- #### 指定镜像仓库地址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source-registry registry.example.com
|
||||
```
|
||||
|
||||
- #### 仅更换镜像仓库
|
||||
|
||||
=== "使用脚本一键替换"
|
||||
|
||||
仅更换镜像加速器,当检测到未安装 Docker 时会报错跳出
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
```
|
||||
|
||||
=== "手动替换"
|
||||
|
||||
- 安装 `jq` 软件包
|
||||
|
||||
=== "Debian 系 / openKylin"
|
||||
|
||||
``` bash
|
||||
apt-get install -y jq
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS` `openKylin`
|
||||
|
||||
新装系统需要先执行一遍更新 `apt-get update`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
dnf install -y jq || yum install -y jq
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
- 指定镜像仓库地址
|
||||
|
||||
> 请手动替换 `<example.registry.com>` 为镜像仓库地址后在执行,详见上方 “项目内置的镜像仓库源” 表格中的地址列
|
||||
|
||||
``` bash
|
||||
SOURCE_REGISTRY='"https://<example.registry.com>"'
|
||||
```
|
||||
还可以指定多个镜像仓库,如 `SOURCE_REGISTRY='"https://example.registry.com","https://test.registry.com"'`,注意用英文逗号分割
|
||||
|
||||
- 替换镜像仓库地址
|
||||
|
||||
``` bash
|
||||
[ -s "/etc/docker/daemon.json" ] || echo "{}" >/etc/docker/daemon.json
|
||||
jq '.["registry-mirrors"] = ['"${SOURCE_REGISTRY}"']' /etc/docker/daemon.json >/etc/docker/daemon.json.tmp && mv /etc/docker/daemon.json.tmp
|
||||
```
|
||||
|
||||
- 重启 Docker 服务
|
||||
|
||||
``` bash
|
||||
systemctl daemon-reload
|
||||
[[ $(systemctl is-active docker) == "active" ]] && systemctl restart docker || systemctl enable --now docker
|
||||
```
|
||||
|
||||
- #### 指定 Docker CE 软件源仓库
|
||||
|
||||
脚本默认会自动判断一般无需指定,除非你有特殊需求
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
||||
```
|
||||
> 仓库名是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 这几个
|
||||
> 具体详见 [官方安装文档](https://docs.docker.com/engine/install) 和 [Docker CE 官方仓库](https://download.docker.com/linux)
|
||||
|
||||
- #### 指定 Docker CE 安装版本
|
||||
|
||||
指定安装版本时会忽略 `是否安装最新版本` 的命令选项,格式为 `主版本.次版本.补丁版本`,例如 `27.4.1`。
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 27.0.0
|
||||
```
|
||||
> 如果指定的版本不存在或者不支持当前系统,届时脚本会报错跳出
|
||||
|
||||
??? quote "查看版本列表的方法"
|
||||
|
||||
=== "Debian 系"
|
||||
|
||||
``` bash
|
||||
apt-cache madison docker-ce | awk '{print $3}' | grep -Eo "[0-9][0-9].[0-9]{1,2}.[0-9]{1,2}" | sort -t '.' -k1,1nr -k2,2nr -k3,3nr
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
dnf list docker-ce --showduplicates | sort -r | awk '{print $2}' | grep -Eo "[0-9][0-9].[0-9]{1,2}.[0-9]{1,2}" | sort -t '.' -k1,1nr -k2,2nr -k3,3nr
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
未出现在该列表中的版本则不支持通过本脚本安装,如果获取不到版本列表说明你当前的系统环境还没有正确配置 Docker CE 软件源(运行脚本时不存在该问题)
|
||||
|
||||
|
||||
- #### 无人值守(自动化)
|
||||
|
||||
不通过交互完成安装操作,至少需要使用如下命令选项来实现,建议熟悉后再使用
|
||||
|
||||
``` { .bash .no-copy title="参考命令" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
--source mirror.example.com/docker-ce \
|
||||
--source-registry registry.hub.docker.com \
|
||||
--protocol http \
|
||||
--use-intranet-source false \
|
||||
--install-latest true \
|
||||
--close-firewall true \
|
||||
--ignore-backup-tips
|
||||
```
|
||||
> 如果报错 `命令选项无效` 那么请检查选项合法性以及空格字符编码,在示例中一行写一个选项是为了提高命令的可读性
|
||||
|
||||
- #### 纯净模式
|
||||
|
||||
为了便于开发人员使用所推出的功能,启用后会精简脚本内容输出,建议搭配其它命令选项无交互使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "滚动输出的命令日志可能存在无法预料的显示问题,不过目前暂未发现异常"
|
||||
|
||||
- ### 关于服务报错无法启动
|
||||
|
||||
!!! quote ""
|
||||
|
||||
非新装环境可能会在运行脚本后遇到 `Docker` 服务无法启动的情况,建议重新安装来解决,卸载不会删除本地镜像和容器数据
|
||||
|
||||
卸载命令如下:
|
||||
|
||||
=== "Debian 系"
|
||||
|
||||
``` bash
|
||||
apt-get remove -y docker* containerd.io runc && apt-get autoremove
|
||||
```
|
||||
|
||||
> `Debian` `Ubuntu` `Kali` `Linux Mint` `Deepin` `Zorin OS` `Armbian` `Proxmox VE` `Raspberry Pi OS`
|
||||
|
||||
=== "RedHat 系 / openEuler / OpenCloudOS / Anolis OS"
|
||||
|
||||
``` bash
|
||||
yum remove -y docker* containerd.io podman* runc
|
||||
```
|
||||
|
||||
> `Red Hat Enterprise Linux` `CentOS` `Rocky Linux` `AlmaLinux` `Fedora` `openEuler` `OpenCloudOS` `Anolis OS`
|
||||
|
||||
卸载完成后重新执行脚本安装即可
|
||||
|
||||
108
docs/theme/partials/comments.html
vendored
108
docs/theme/partials/comments.html
vendored
@@ -1,54 +1,54 @@
|
||||
{% if page.meta.comments %}
|
||||
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
||||
{% if page.meta.comments_description %}
|
||||
<blockquote>{{ page.meta.comments_description }}</blockquote>
|
||||
{% endif %}
|
||||
<script src="https://giscus.app/client.js"
|
||||
data-repo="SuperManito/LinuxMirrors"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMzI2Nzg5NzI="
|
||||
data-category="General"
|
||||
data-category-id="DIC_kwDOE9RHPM4CWOQP"
|
||||
data-mapping="pathname"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="preferred_color_scheme"
|
||||
data-lang="zh-CN"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous"
|
||||
async
|
||||
>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var giscus = document.querySelector("script[src*=giscus]")
|
||||
|
||||
var palette = __md_get("__palette")
|
||||
if (palette && typeof palette.color === "object") {
|
||||
var theme = palette.color.scheme === "slate"
|
||||
? "transparent_dark"
|
||||
: "light"
|
||||
|
||||
giscus.setAttribute("data-theme", theme)
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var ref = document.querySelector("[data-md-component=palette]")
|
||||
ref.addEventListener("change", function() {
|
||||
var palette = __md_get("__palette")
|
||||
if (palette && typeof palette.color === "object") {
|
||||
var theme = palette.color.scheme === "slate"
|
||||
? "transparent_dark"
|
||||
: "light"
|
||||
|
||||
var frame = document.querySelector(".giscus-frame")
|
||||
frame.contentWindow.postMessage(
|
||||
{ giscus: { setConfig: { theme } } },
|
||||
"https://giscus.app"
|
||||
)
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
{% endif %}
|
||||
{% if page.meta.comments %}
|
||||
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
||||
{% if page.meta.comments_description %}
|
||||
<blockquote>{{ page.meta.comments_description }}</blockquote>
|
||||
{% endif %}
|
||||
<script src="https://giscus.app/client.js"
|
||||
data-repo="SuperManito/LinuxMirrors"
|
||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzMzI2Nzg5NzI="
|
||||
data-category="General"
|
||||
data-category-id="DIC_kwDOE9RHPM4CWOQP"
|
||||
data-mapping="pathname"
|
||||
data-strict="0"
|
||||
data-reactions-enabled="1"
|
||||
data-emit-metadata="0"
|
||||
data-input-position="top"
|
||||
data-theme="preferred_color_scheme"
|
||||
data-lang="zh-CN"
|
||||
data-loading="lazy"
|
||||
crossorigin="anonymous"
|
||||
async
|
||||
>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var giscus = document.querySelector("script[src*=giscus]")
|
||||
|
||||
var palette = __md_get("__palette")
|
||||
if (palette && typeof palette.color === "object") {
|
||||
var theme = palette.color.scheme === "slate"
|
||||
? "transparent_dark"
|
||||
: "light"
|
||||
|
||||
giscus.setAttribute("data-theme", theme)
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var ref = document.querySelector("[data-md-component=palette]")
|
||||
ref.addEventListener("change", function() {
|
||||
var palette = __md_get("__palette")
|
||||
if (palette && typeof palette.color === "object") {
|
||||
var theme = palette.color.scheme === "slate"
|
||||
? "transparent_dark"
|
||||
: "light"
|
||||
|
||||
var frame = document.querySelector(".giscus-frame")
|
||||
frame.contentWindow.postMessage(
|
||||
{ giscus: { setConfig: { theme } } },
|
||||
"https://giscus.app"
|
||||
)
|
||||
}
|
||||
})
|
||||
})
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
362
mkdocs.yml
362
mkdocs.yml
@@ -1,181 +1,181 @@
|
||||
site_name: LinuxMirrors
|
||||
repo_name: LinuxMirrors
|
||||
repo_url: https://github.com/SuperManito/LinuxMirrors
|
||||
edit_uri: edit/main/docs/
|
||||
copyright: 'Copyright © 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本网站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署并提供全球 CDN 边缘网络加速 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'
|
||||
|
||||
extra_javascript:
|
||||
- assets/js/modules/vue.global.prod.js
|
||||
- assets/js/modules/tdesign.min.js
|
||||
- assets/js/modules/tdesign-theme.js
|
||||
- assets/js/components/orama-ui/config.js
|
||||
- assets/js/components/orama-ui/index.js
|
||||
- assets/js/useThemeTransition.js
|
||||
- assets/js/common.js
|
||||
- assets/js/component.js
|
||||
- assets/js/components/mirrors-table/data.js
|
||||
- assets/js/components/mirrors-table/index.js
|
||||
extra_css:
|
||||
- assets/css/tdesign.min.css
|
||||
- assets/css/orama-ui.css
|
||||
- stylesheets/extra.css
|
||||
|
||||
theme:
|
||||
logo: assets/images/brand/svg/logo-light.svg
|
||||
name: material
|
||||
custom_dir: docs/theme
|
||||
language: zh
|
||||
favicon: assets/favicon.ico
|
||||
font: false
|
||||
icon:
|
||||
repo: simple/github
|
||||
edit: material/file-document-edit-outline
|
||||
view: material/file-eye-outline
|
||||
admonition:
|
||||
note: octicons/tag-16
|
||||
abstract: octicons/checklist-16
|
||||
info: octicons/info-16
|
||||
tip: fontawesome/regular/lightbulb
|
||||
success: octicons/check-16
|
||||
question: octicons/question-16
|
||||
warning: octicons/alert-16
|
||||
danger: octicons/zap-16
|
||||
bug: octicons/bug-16
|
||||
example: octicons/beaker-16
|
||||
quote: octicons/quote-16
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
scheme: system
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: 跟随系统
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: white
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: octicons/sun-16
|
||||
name: 亮色模式
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: black
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: octicons/moon-16
|
||||
name: 暗黑模式
|
||||
features:
|
||||
- header.autohide
|
||||
- navigation.top
|
||||
- navigation.tabs
|
||||
- navigation.path
|
||||
- navigation.instant
|
||||
- navigation.instant.progress
|
||||
- navigation.indexes
|
||||
- navigation.footer
|
||||
- navigation.tracking
|
||||
- navigation.sections
|
||||
- content.tooltips
|
||||
- content.code.copy
|
||||
- content.code.annotate
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- search.share
|
||||
- announce.dismiss
|
||||
extra:
|
||||
generator: false
|
||||
homepage: https://linuxmirrors.cn
|
||||
social:
|
||||
- icon: simple/google
|
||||
link: https://gitcode.com/SuperManito/LinuxMirrors
|
||||
name: GitCode
|
||||
- icon: simple/gitee
|
||||
link: https://gitee.com/SuperManito/LinuxMirrors
|
||||
name: Gitee
|
||||
- icon: simple/github
|
||||
link: https://github.com/SuperManito/LinuxMirrors
|
||||
name: GitHub
|
||||
analytics:
|
||||
provider: google
|
||||
property: G-WG7T40F7YP
|
||||
feedback:
|
||||
title: 此页面上的内容对你有帮助吗?
|
||||
ratings:
|
||||
- icon: material/thumb-up-outline
|
||||
name: This page was helpful
|
||||
data: 1
|
||||
note: >-
|
||||
感谢反馈!
|
||||
- icon: material/thumb-down-outline
|
||||
name: This page could be improved
|
||||
data: 0
|
||||
note: >-
|
||||
感谢反馈!使用<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank" rel="noopener">反馈表单</a></br>帮助我们改进此页面。
|
||||
markdown_extensions:
|
||||
- toc:
|
||||
permalink: "#"
|
||||
permalink_title: 永久链接
|
||||
toc_depth: 3
|
||||
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
||||
kwds:
|
||||
case: lower
|
||||
- abbr
|
||||
- tables
|
||||
- def_list
|
||||
- attr_list
|
||||
- footnotes
|
||||
- md_in_html
|
||||
- admonition
|
||||
- pymdownx.details
|
||||
- pymdownx.betterem
|
||||
- pymdownx.snippets
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.superfences
|
||||
- pymdownx.critic
|
||||
- pymdownx.caret
|
||||
- pymdownx.keys
|
||||
- pymdownx.mark
|
||||
- pymdownx.tilde
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
- pymdownx.emoji:
|
||||
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||
options:
|
||||
custom_icons:
|
||||
- docs/theme
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
use_pygments: true
|
||||
- pymdownx.tabbed:
|
||||
alternate_style: true
|
||||
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
||||
kwds:
|
||||
case: lower
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
plugins:
|
||||
- search:
|
||||
lang: en
|
||||
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
|
||||
- tags
|
||||
- termynal
|
||||
- minify:
|
||||
minify_js: true
|
||||
minify_css: true
|
||||
htmlmin_opts:
|
||||
remove_comments: true
|
||||
cache_safe: true
|
||||
js_files:
|
||||
- assets/js/useThemeTransition.js
|
||||
- assets/js/common.js
|
||||
- assets/js/component.js
|
||||
- assets/js/components/mirrors-table/data.js
|
||||
- assets/js/components/mirrors-table/index.js
|
||||
nav:
|
||||
- "介绍": index.md
|
||||
- "使用方法": use/index.md
|
||||
- "软件源列表": mirrors/index.md
|
||||
- "其它工具": other/index.md
|
||||
- "更新日志": changelog/index.md
|
||||
- "社区": community/index.md
|
||||
- "赞助": sponsor/index.md
|
||||
site_name: LinuxMirrors
|
||||
repo_name: LinuxMirrors
|
||||
repo_url: https://github.com/SuperManito/LinuxMirrors
|
||||
edit_uri: edit/main/docs/
|
||||
copyright: 'Copyright © 2025 <a href="https://github.com/SuperManito" target="_blank">SuperManito</a></br>本网站由 <a href="https://www.netlify.com" target="_blank">Netlify</a> 部署并提供全球 CDN 边缘网络加速 <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'
|
||||
|
||||
extra_javascript:
|
||||
- assets/js/modules/vue.global.prod.js
|
||||
- assets/js/modules/tdesign.min.js
|
||||
- assets/js/modules/tdesign-theme.js
|
||||
- assets/js/components/orama-ui/config.js
|
||||
- assets/js/components/orama-ui/index.js
|
||||
- assets/js/useThemeTransition.js
|
||||
- assets/js/common.js
|
||||
- assets/js/component.js
|
||||
- assets/js/components/mirrors-table/data.js
|
||||
- assets/js/components/mirrors-table/index.js
|
||||
extra_css:
|
||||
- assets/css/tdesign.min.css
|
||||
- assets/css/orama-ui.css
|
||||
- stylesheets/extra.css
|
||||
|
||||
theme:
|
||||
logo: assets/images/brand/svg/logo-light.svg
|
||||
name: material
|
||||
custom_dir: docs/theme
|
||||
language: zh
|
||||
favicon: assets/favicon.ico
|
||||
font: false
|
||||
icon:
|
||||
repo: simple/github
|
||||
edit: material/file-document-edit-outline
|
||||
view: material/file-eye-outline
|
||||
admonition:
|
||||
note: octicons/tag-16
|
||||
abstract: octicons/checklist-16
|
||||
info: octicons/info-16
|
||||
tip: fontawesome/regular/lightbulb
|
||||
success: octicons/check-16
|
||||
question: octicons/question-16
|
||||
warning: octicons/alert-16
|
||||
danger: octicons/zap-16
|
||||
bug: octicons/bug-16
|
||||
example: octicons/beaker-16
|
||||
quote: octicons/quote-16
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
scheme: system
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: 跟随系统
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: white
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: octicons/sun-16
|
||||
name: 亮色模式
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: black
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: octicons/moon-16
|
||||
name: 暗黑模式
|
||||
features:
|
||||
- header.autohide
|
||||
- navigation.top
|
||||
- navigation.tabs
|
||||
- navigation.path
|
||||
- navigation.instant
|
||||
- navigation.instant.progress
|
||||
- navigation.indexes
|
||||
- navigation.footer
|
||||
- navigation.tracking
|
||||
- navigation.sections
|
||||
- content.tooltips
|
||||
- content.code.copy
|
||||
- content.code.annotate
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- search.share
|
||||
- announce.dismiss
|
||||
extra:
|
||||
generator: false
|
||||
homepage: https://linuxmirrors.cn
|
||||
social:
|
||||
- icon: simple/google
|
||||
link: https://gitcode.com/SuperManito/LinuxMirrors
|
||||
name: GitCode
|
||||
- icon: simple/gitee
|
||||
link: https://gitee.com/SuperManito/LinuxMirrors
|
||||
name: Gitee
|
||||
- icon: simple/github
|
||||
link: https://github.com/SuperManito/LinuxMirrors
|
||||
name: GitHub
|
||||
analytics:
|
||||
provider: google
|
||||
property: G-WG7T40F7YP
|
||||
feedback:
|
||||
title: 此页面上的内容对你有帮助吗?
|
||||
ratings:
|
||||
- icon: material/thumb-up-outline
|
||||
name: This page was helpful
|
||||
data: 1
|
||||
note: >-
|
||||
感谢反馈!
|
||||
- icon: material/thumb-down-outline
|
||||
name: This page could be improved
|
||||
data: 0
|
||||
note: >-
|
||||
感谢反馈!使用<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank" rel="noopener">反馈表单</a></br>帮助我们改进此页面。
|
||||
markdown_extensions:
|
||||
- toc:
|
||||
permalink: "#"
|
||||
permalink_title: 永久链接
|
||||
toc_depth: 3
|
||||
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
||||
kwds:
|
||||
case: lower
|
||||
- abbr
|
||||
- tables
|
||||
- def_list
|
||||
- attr_list
|
||||
- footnotes
|
||||
- md_in_html
|
||||
- admonition
|
||||
- pymdownx.details
|
||||
- pymdownx.betterem
|
||||
- pymdownx.snippets
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.superfences
|
||||
- pymdownx.critic
|
||||
- pymdownx.caret
|
||||
- pymdownx.keys
|
||||
- pymdownx.mark
|
||||
- pymdownx.tilde
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
- pymdownx.emoji:
|
||||
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||
options:
|
||||
custom_icons:
|
||||
- docs/theme
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
use_pygments: true
|
||||
- pymdownx.tabbed:
|
||||
alternate_style: true
|
||||
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
||||
kwds:
|
||||
case: lower
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
plugins:
|
||||
- search:
|
||||
lang: en
|
||||
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
|
||||
- tags
|
||||
- termynal
|
||||
- minify:
|
||||
minify_js: true
|
||||
minify_css: true
|
||||
htmlmin_opts:
|
||||
remove_comments: true
|
||||
cache_safe: true
|
||||
js_files:
|
||||
- assets/js/useThemeTransition.js
|
||||
- assets/js/common.js
|
||||
- assets/js/component.js
|
||||
- assets/js/components/mirrors-table/data.js
|
||||
- assets/js/components/mirrors-table/index.js
|
||||
nav:
|
||||
- "介绍": index.md
|
||||
- "使用方法": use/index.md
|
||||
- "软件源列表": mirrors/index.md
|
||||
- "其它工具": other/index.md
|
||||
- "更新日志": changelog/index.md
|
||||
- "社区": community/index.md
|
||||
- "赞助": sponsor/index.md
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
mkdocs-material==9.6.14
|
||||
mkdocs-glightbox==0.4.0
|
||||
mkdocs-exclude-search==0.6.6
|
||||
mkdocs-minify-plugin==0.8.0
|
||||
mkdocs-material==9.6.14
|
||||
mkdocs-glightbox==0.4.0
|
||||
mkdocs-exclude-search==0.6.6
|
||||
mkdocs-minify-plugin==0.8.0
|
||||
termynal==0.13.0
|
||||
Reference in New Issue
Block a user