diff --git a/README.md b/README.md index 5c23c3e..d32505a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@

+

简体中文 | 繁體中文

+ @@ -66,7 +68,7 @@ - + @@ -78,7 +80,7 @@ - + @@ -153,18 +155,27 @@ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry ``` +## 赞助商 + + + + + Sponsors + + + +## 特别感谢 + +jetbrains     netlify + +本项目已加入 JetBrains & Netlify 开源项目计划 + ## LICENSE Copyright © 2025, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE). 这是一个完全开源的项目,旨在为从事计算机相关行业的朋友们提供便利,使换源更简单 -## 特别感谢 - -jetbrains     netlify - -本项目已加入 JetBrains & Netlify 开源项目计划 - diff --git a/README.zh-Hant.md b/README.zh-Hant.md new file mode 100644 index 0000000..80f7108 --- /dev/null +++ b/README.zh-Hant.md @@ -0,0 +1,187 @@ +

+ + + + LinuxMirrors + + +

+

GNU/Linux 更換系統軟體源腳本及 Docker 安裝與換源腳本

+

+ License: MIT + Stars
+

+

+ + + + Featured|HelloGitHub + + +

+ +

简体中文 | 繁體中文

+ +
操作系统7 ~ 10
 Fedora Fedora 30 ~ 42
8 ~ 10
 AlmaLinux AlmaLinux 8 ~ 10
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
作業系統適配版本
 Debian8 ~ 13
 Ubuntu14 ~ 25
 Kali Linuxall
 Linux Mint19 ~ 22 / LMDE 6
 Deepinall
 Zorin OSall
 Armbianall
 Proxmox VEall
 Raspberry Pi OSall
 Red Hat Enterprise Linux7 ~ 10
 Fedora30 ~ 42
 CentOS7 ~ 8 / Stream 8 ~ 10
 Rocky Linux8 ~ 10
 AlmaLinux8 ~ 10
 openEuler21 ~ 25
 OpenCloudOS8.6 ~ 9 / Stream 23
 openKylinall
 Anolis OS8 / 23
 openSUSELeep 15 / Tumbleweed
 Arch Linuxall
 Manjaroall
 Alpine Linuxv3 / edge
 Gentooall
 NixOS19 ~ 24
+ +

+ + 官方網站    使用方法    軟體源列表    Docker 安裝(額外腳本)    社群    贊助 + +

+ +*** + +## 快速開始 + +> 項目官方網站整合了 AI 聊天與搜索,更多使用方法詳見 [**linuxmirrors.cn**](https://linuxmirrors.cn/zh-hant/use) + +- ### GNU/Linux 更換系統軟體源 + + ```bash + bash <(curl -sSL https://linuxmirrors.cn/main.sh) + ``` + +- ### Docker 安裝與換源 + + ```bash + bash <(curl -sSL https://linuxmirrors.cn/docker.sh) + ``` + +- ### Docker 更換鏡像加速器 + + ```bash + bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry + ``` + +## 贊助商 + + + + + Sponsors + + + +## 特別感謝 + +jetbrains     netlify + +本項目已加入 JetBrains & Netlify 開源項目計劃 + +## LICENSE + +Copyright © 2025, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE). + +這是一個完全開源的項目,旨在為從事電腦相關行業的朋友提供便利,使換源更簡單 + + + + + + Star History Chart + + + +__如果您覺得這個項目不錯對您有幫助的話,請點擊倉庫右上角的 ⭐ 並分享給更多的朋友。__ diff --git a/docs/theme/flag/AR.svg b/docs/assets/images/icon/custom/flag/AR.svg similarity index 100% rename from docs/theme/flag/AR.svg rename to docs/assets/images/icon/custom/flag/AR.svg diff --git a/docs/theme/flag/AU.svg b/docs/assets/images/icon/custom/flag/AU.svg similarity index 100% rename from docs/theme/flag/AU.svg rename to docs/assets/images/icon/custom/flag/AU.svg diff --git a/docs/theme/flag/BE.svg b/docs/assets/images/icon/custom/flag/BE.svg similarity index 100% rename from docs/theme/flag/BE.svg rename to docs/assets/images/icon/custom/flag/BE.svg diff --git a/docs/theme/flag/BR.svg b/docs/assets/images/icon/custom/flag/BR.svg similarity index 100% rename from docs/theme/flag/BR.svg rename to docs/assets/images/icon/custom/flag/BR.svg diff --git a/docs/theme/flag/CA.svg b/docs/assets/images/icon/custom/flag/CA.svg similarity index 100% rename from docs/theme/flag/CA.svg rename to docs/assets/images/icon/custom/flag/CA.svg diff --git a/docs/theme/flag/CH.svg b/docs/assets/images/icon/custom/flag/CH.svg similarity index 100% rename from docs/theme/flag/CH.svg rename to docs/assets/images/icon/custom/flag/CH.svg diff --git a/docs/theme/flag/CN.svg b/docs/assets/images/icon/custom/flag/CN.svg similarity index 100% rename from docs/theme/flag/CN.svg rename to docs/assets/images/icon/custom/flag/CN.svg diff --git a/docs/theme/flag/CZ.svg b/docs/assets/images/icon/custom/flag/CZ.svg similarity index 100% rename from docs/theme/flag/CZ.svg rename to docs/assets/images/icon/custom/flag/CZ.svg diff --git a/docs/theme/flag/DE.svg b/docs/assets/images/icon/custom/flag/DE.svg similarity index 100% rename from docs/theme/flag/DE.svg rename to docs/assets/images/icon/custom/flag/DE.svg diff --git a/docs/theme/flag/DK.svg b/docs/assets/images/icon/custom/flag/DK.svg similarity index 100% rename from docs/theme/flag/DK.svg rename to docs/assets/images/icon/custom/flag/DK.svg diff --git a/docs/theme/flag/EE.svg b/docs/assets/images/icon/custom/flag/EE.svg similarity index 100% rename from docs/theme/flag/EE.svg rename to docs/assets/images/icon/custom/flag/EE.svg diff --git a/docs/theme/flag/FR.svg b/docs/assets/images/icon/custom/flag/FR.svg similarity index 100% rename from docs/theme/flag/FR.svg rename to docs/assets/images/icon/custom/flag/FR.svg diff --git a/docs/theme/flag/GB.svg b/docs/assets/images/icon/custom/flag/GB.svg similarity index 100% rename from docs/theme/flag/GB.svg rename to docs/assets/images/icon/custom/flag/GB.svg diff --git a/docs/theme/flag/GR.svg b/docs/assets/images/icon/custom/flag/GR.svg similarity index 100% rename from docs/theme/flag/GR.svg rename to docs/assets/images/icon/custom/flag/GR.svg diff --git a/docs/theme/flag/HK.svg b/docs/assets/images/icon/custom/flag/HK.svg similarity index 100% rename from docs/theme/flag/HK.svg rename to docs/assets/images/icon/custom/flag/HK.svg diff --git a/docs/theme/flag/JP.svg b/docs/assets/images/icon/custom/flag/JP.svg similarity index 100% rename from docs/theme/flag/JP.svg rename to docs/assets/images/icon/custom/flag/JP.svg diff --git a/docs/theme/flag/KE.svg b/docs/assets/images/icon/custom/flag/KE.svg similarity index 100% rename from docs/theme/flag/KE.svg rename to docs/assets/images/icon/custom/flag/KE.svg diff --git a/docs/theme/flag/KR.svg b/docs/assets/images/icon/custom/flag/KR.svg similarity index 100% rename from docs/theme/flag/KR.svg rename to docs/assets/images/icon/custom/flag/KR.svg diff --git a/docs/theme/flag/MY.svg b/docs/assets/images/icon/custom/flag/MY.svg similarity index 100% rename from docs/theme/flag/MY.svg rename to docs/assets/images/icon/custom/flag/MY.svg diff --git a/docs/theme/flag/NL.svg b/docs/assets/images/icon/custom/flag/NL.svg similarity index 100% rename from docs/theme/flag/NL.svg rename to docs/assets/images/icon/custom/flag/NL.svg diff --git a/docs/theme/flag/NZ.svg b/docs/assets/images/icon/custom/flag/NZ.svg similarity index 100% rename from docs/theme/flag/NZ.svg rename to docs/assets/images/icon/custom/flag/NZ.svg diff --git a/docs/theme/flag/RU.svg b/docs/assets/images/icon/custom/flag/RU.svg similarity index 100% rename from docs/theme/flag/RU.svg rename to docs/assets/images/icon/custom/flag/RU.svg diff --git a/docs/theme/flag/SE.svg b/docs/assets/images/icon/custom/flag/SE.svg similarity index 100% rename from docs/theme/flag/SE.svg rename to docs/assets/images/icon/custom/flag/SE.svg diff --git a/docs/theme/flag/SG.svg b/docs/assets/images/icon/custom/flag/SG.svg similarity index 100% rename from docs/theme/flag/SG.svg rename to docs/assets/images/icon/custom/flag/SG.svg diff --git a/docs/theme/flag/TH.svg b/docs/assets/images/icon/custom/flag/TH.svg similarity index 100% rename from docs/theme/flag/TH.svg rename to docs/assets/images/icon/custom/flag/TH.svg diff --git a/docs/theme/flag/TW.svg b/docs/assets/images/icon/custom/flag/TW.svg similarity index 100% rename from docs/theme/flag/TW.svg rename to docs/assets/images/icon/custom/flag/TW.svg diff --git a/docs/theme/flag/US.svg b/docs/assets/images/icon/custom/flag/US.svg similarity index 100% rename from docs/theme/flag/US.svg rename to docs/assets/images/icon/custom/flag/US.svg diff --git a/docs/theme/flag/ZA.svg b/docs/assets/images/icon/custom/flag/ZA.svg similarity index 100% rename from docs/theme/flag/ZA.svg rename to docs/assets/images/icon/custom/flag/ZA.svg diff --git a/docs/theme/flag/world-map.svg b/docs/assets/images/icon/custom/flag/world-map.svg similarity index 100% rename from docs/theme/flag/world-map.svg rename to docs/assets/images/icon/custom/flag/world-map.svg diff --git a/docs/theme/flag/world.svg b/docs/assets/images/icon/custom/flag/world.svg similarity index 100% rename from docs/theme/flag/world.svg rename to docs/assets/images/icon/custom/flag/world.svg diff --git a/docs/theme/gitcode.svg b/docs/assets/images/icon/custom/gitcode.svg similarity index 100% rename from docs/theme/gitcode.svg rename to docs/assets/images/icon/custom/gitcode.svg diff --git a/docs/theme/incompatible.svg b/docs/assets/images/icon/custom/incompatible.svg similarity index 100% rename from docs/theme/incompatible.svg rename to docs/assets/images/icon/custom/incompatible.svg diff --git a/docs/theme/linuxmirrors.svg b/docs/assets/images/icon/custom/linuxmirrors.svg similarity index 98% rename from docs/theme/linuxmirrors.svg rename to docs/assets/images/icon/custom/linuxmirrors.svg index 90ab4f2..f15b50a 100644 --- a/docs/theme/linuxmirrors.svg +++ b/docs/assets/images/icon/custom/linuxmirrors.svg @@ -1,24 +1,24 @@ - - - - + + + + \ No newline at end of file diff --git a/docs/theme/netlify.svg b/docs/assets/images/icon/custom/netlify.svg similarity index 100% rename from docs/theme/netlify.svg rename to docs/assets/images/icon/custom/netlify.svg diff --git a/docs/theme/supported.svg b/docs/assets/images/icon/custom/supported.svg similarity index 100% rename from docs/theme/supported.svg rename to docs/assets/images/icon/custom/supported.svg diff --git a/docs/assets/images/icon/custom/tencent-cloud.svg b/docs/assets/images/icon/custom/tencent-cloud.svg new file mode 100644 index 0000000..6b7b414 --- /dev/null +++ b/docs/assets/images/icon/custom/tencent-cloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/theme/unsupport.svg b/docs/assets/images/icon/custom/unsupport.svg similarity index 100% rename from docs/theme/unsupport.svg rename to docs/assets/images/icon/custom/unsupport.svg diff --git a/docs/assets/images/support/jetbrains-dark.svg b/docs/assets/images/icon/jetbrains-dark.svg similarity index 100% rename from docs/assets/images/support/jetbrains-dark.svg rename to docs/assets/images/icon/jetbrains-dark.svg diff --git a/docs/assets/images/support/jetbrains-light.svg b/docs/assets/images/icon/jetbrains-light.svg similarity index 100% rename from docs/assets/images/support/jetbrains-light.svg rename to docs/assets/images/icon/jetbrains-light.svg diff --git a/docs/assets/images/icon/mirrors/alibabacloud.svg b/docs/assets/images/icon/mirrors/alibabacloud.svg new file mode 100644 index 0000000..2c2dbc3 --- /dev/null +++ b/docs/assets/images/icon/mirrors/alibabacloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icon/mirrors/aliyun.ico b/docs/assets/images/icon/mirrors/aliyun.ico deleted file mode 100644 index a566910..0000000 Binary files a/docs/assets/images/icon/mirrors/aliyun.ico and /dev/null differ diff --git a/docs/assets/images/icon/mirrors/tencent-cloud.ico b/docs/assets/images/icon/mirrors/tencentcloud.ico similarity index 100% rename from docs/assets/images/icon/mirrors/tencent-cloud.ico rename to docs/assets/images/icon/mirrors/tencentcloud.ico diff --git a/docs/assets/images/icon/mirrors/volcengine.png b/docs/assets/images/icon/mirrors/volcengine.png deleted file mode 100644 index 87017b5..0000000 Binary files a/docs/assets/images/icon/mirrors/volcengine.png and /dev/null differ diff --git a/docs/assets/images/icon/mirrors/volcengine.svg b/docs/assets/images/icon/mirrors/volcengine.svg new file mode 100644 index 0000000..6704b54 --- /dev/null +++ b/docs/assets/images/icon/mirrors/volcengine.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/support/netlify-dark.png b/docs/assets/images/icon/netlify-dark.png similarity index 100% rename from docs/assets/images/support/netlify-dark.png rename to docs/assets/images/icon/netlify-dark.png diff --git a/docs/assets/images/support/netlify-light.png b/docs/assets/images/icon/netlify-light.png similarity index 100% rename from docs/assets/images/support/netlify-light.png rename to docs/assets/images/icon/netlify-light.png diff --git a/docs/assets/images/sponsor/all-dark.png b/docs/assets/images/sponsor/all-dark.png new file mode 100644 index 0000000..a088917 Binary files /dev/null and b/docs/assets/images/sponsor/all-dark.png differ diff --git a/docs/assets/images/sponsor/all-light.png b/docs/assets/images/sponsor/all-light.png new file mode 100644 index 0000000..6833c24 Binary files /dev/null and b/docs/assets/images/sponsor/all-light.png differ diff --git a/docs/assets/js/components/mirrors-table/data.js b/docs/assets/js/components/mirrors-table/data.js index 400d9c7..3d1be04 100644 --- a/docs/assets/js/components/mirrors-table/data.js +++ b/docs/assets/js/components/mirrors-table/data.js @@ -3,7 +3,7 @@ const mirrorsTableData = [ { name: '阿里云', officialName: '阿里巴巴开源镜像站', - icon: 'aliyun.ico', + icon: 'alibabacloud.svg', iconStyle: { verticalAlign: '-0.2em' }, url: 'https://mirrors.aliyun.com', domain: 'mirrors.aliyun.com', @@ -30,7 +30,7 @@ const mirrorsTableData = [ { name: '腾讯云', officialName: '腾讯软件源', - icon: 'tencent-cloud.ico', + icon: 'tencentcloud.ico', iconStyle: { verticalAlign: '-0.25em' }, url: 'https://mirrors.tencent.com', domain: 'mirrors.tencent.com', @@ -111,7 +111,7 @@ const mirrorsTableData = [ { name: '火山引擎', officialName: '火山引擎开源软件镜像站', - icon: 'volcengine.png', + icon: 'volcengine.svg', iconStyle: { verticalAlign: '-0.25em' }, url: 'https://developer.volcengine.com/mirror', domain: 'mirrors.volces.com', @@ -384,7 +384,7 @@ const mirrorsTableData = [ const mirrorsTableColumns = [ { colKey: 'name', - title: '镜像站', + title: !window.location.pathname.includes('/zh-hant') ? '镜像站' : '鏡像站', align: 'left', width: '180', fixed: 'left', @@ -400,7 +400,7 @@ const mirrorsTableColumns = [ title: 'EPEL', align: 'center', width: '90', - tooltip: 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版。', + tooltip: !window.location.pathname.includes('/zh-hant') ? 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版' : 'EPEL (Extra Packages for Enterprise Linux) 是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版', }, { colKey: 'archlinux', diff --git a/docs/assets/js/components/orama-ui/config.js b/docs/assets/js/components/orama-ui/config.js index 9bfb633..e77abf8 100644 --- a/docs/assets/js/components/orama-ui/config.js +++ b/docs/assets/js/components/orama-ui/config.js @@ -1,5 +1,6 @@ // get search box config function getOramaSearchBoxConfig() { + const isDefaultLang = window.location.pathname.includes('/zh-hant') ? false : true return { themeConfig: { // colors: { @@ -52,15 +53,18 @@ function getOramaSearchBoxConfig() { description: 'content', section: 'category', }, - searchPlaceholder: '请输入要搜索的内容...', - chatPlaceholder: '有什么可以帮你的吗?', - suggestions: ['如何使用', '支持哪些系统'], + searchPlaceholder: isDefaultLang ? '请输入要搜索的内容...' : '請輸入要搜尋的內容...', + chatPlaceholder: isDefaultLang ? '有什么可以帮你的吗?' : '有什麼可以幫你的嗎?', + suggestions: isDefaultLang ? ['如何使用', '支持哪些系统'] : ['如何使用', '支援哪些系統'], } } // localization search box component function localizationOramaSearchBox(searchBox) { if (!searchBox) return + const isDefaultLang = window.location.pathname.includes('/zh-hant') ? false : true + const askAiText = isDefaultLang ? '询问 AI' : '詢問 AI' + const searchText = isDefaultLang ? '搜索' : '搜尋' const observer = new MutationObserver((mutations, obs) => { const shadowRoot = searchBox.shadowRoot if (shadowRoot) { @@ -68,8 +72,8 @@ function localizationOramaSearchBox(searchBox) { const chatButton = shadowRoot.querySelector('.chat-button') if (chatButton) { const element = chatButton.querySelector('.button-label') - if (element && element.textContent !== '询问 AI') { - element.textContent = '询问 AI' + if (element && element.textContent !== askAiText) { + element.textContent = askAiText } } // Hide "Orama can make mistakes. Please verify the information." @@ -86,13 +90,13 @@ function localizationOramaSearchBox(searchBox) { const toggler = navigationBar.querySelector('orama-toggler') if (toggler) { const searchSpan = toggler.querySelector('span:nth-child(1)') - if (searchSpan && searchSpan.textContent !== '搜索') { - searchSpan.textContent = '搜索' + if (searchSpan && searchSpan.textContent !== searchText) { + searchSpan.textContent = searchText searchSpan.style = 'max-height: fit-content;' } const askAISpan = toggler.querySelector('span:nth-child(2)') - if (askAISpan && askAISpan.textContent !== '询问 AI') { - askAISpan.textContent = '询问 AI' + if (askAISpan && askAISpan.textContent !== askAiText) { + askAISpan.textContent = askAiText askAISpan.style = 'max-height: fit-content;' } } diff --git a/docs/changelog/index.zh-hant.md b/docs/changelog/index.zh-hant.md new file mode 100644 index 0000000..7619edc --- /dev/null +++ b/docs/changelog/index.zh-hant.md @@ -0,0 +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) + +...... diff --git a/docs/community/index.zh-hant.md b/docs/community/index.zh-hant.md new file mode 100644 index 0000000..b25e341 --- /dev/null +++ b/docs/community/index.zh-hant.md @@ -0,0 +1,9 @@ +--- +comments: true +comments_description: 請確保討論內容與項目的相關性,不得發布廣告等違規內容 +hide: + - navigation + - toc + - feedback + - footer +--- diff --git a/docs/index.md b/docs/index.md index f73659d..9139628 100644 --- a/docs/index.md +++ b/docs/index.md @@ -116,10 +116,10 @@ hide: | **Proxmox VE** | _all_ | | **Raspberry Pi OS** | _all_ | | **Red Hat Enterprise Linux** :material-information-outline:{ title="使用 CentOS StreamCentOS 源" } | _7~10_ | -| **Fedora** | _30~42_ | +| **Fedora** | _30~42_ | | **CentOS** | _7~8 / Stream 8~10_ | | **Rocky Linux** | _8~10_ | -| **AlmaLinux** | _8~10_ | +| **AlmaLinux** | _8~10_ | | **openEuler(开源欧拉)** | _21~25_ | | **OpenCloudOS(鸥栖)** | _8.6~9 / Stream 23_ | | **openKylin(开放麒麟)** | _all_ | diff --git a/docs/index.zh-hant.md b/docs/index.zh-hant.md new file mode 100644 index 0000000..781e599 --- /dev/null +++ b/docs/index.zh-hant.md @@ -0,0 +1,142 @@ +--- +title: 一鍵腳本讓換源更簡單 +description: GNU/Linux 更換系統軟體源腳本及 Docker 安裝與換源腳本 +comments: true +glightbox: false +comments_description: 此評論區僅用於展示項目使用評估和經驗分享,回饋問題或建議請前往社群Issues +hide: + - navigation + - toc + - feedback + - footer +--- + +
+
+
+ + +
+ LinuxMirrors + LinuxMirrors +
GNU/Linux 更換系統軟體源腳本及 Docker 安裝與換源腳本
+
一鍵腳本讓換源更簡單
+
+
+=== "GNU/Linux" + + command-linux + command-linux + + + +=== "Docker" + + command-docker + command-docker + + + +
+
+ +
+ +
+ +- :material-thumb-up-outline:{ .lg .middle } __輕鬆使用__ + + --- + + 只需要一行指令就能直接運行,零技術門檻,無需安裝任何依賴 + 文檔整合了 AI 搜尋與聊天,提供各種使用場景的解決方案 + +- :material-vector-polyline:{ .lg .middle } __系統支援廣泛__ + + --- + + 已適配高達 `23+` 作業系統,涵蓋各類版本,精準辨識系統類型 + 腳本相容性高,不支援的系統會有對應提示並無操作跳出 + +- :material-vector-triangle:{ .lg .middle } __多元軟體源適配__ + + --- + + 深入考察了中國大陸鏡像站的系統適配狀況,專為中國寶寶打造 + 也提供全網蒐集的國內教育網和海外鏡像站供用戶選擇 + +- :material-rocket-launch-outline:{ .lg .middle } __快,且高效__ + + --- + + 最快僅需 10 秒即可完成軟體源的更換,高效能運維,節省大量時間成本 + 項目經過數年的迭代與最佳化,腳本效能卓越運作穩定,場景判斷完善 + +- :octicons-globe-24:{ .lg .middle } __全球網絡,執行無憂__ + + --- + + 本網站提供全球邊緣網路加速,不畏各種網路環境,輕鬆訪問 + 同時提供了多個備用地址以確保項目腳本始終可用,並真正做到使用無憂 + +- :material-arm-flex-outline:{ .lg .middle } __功能強大,無與倫比__ + + --- + + 腳本透過方向鍵互動逐步引導使用者選擇軟體來源配置,讓換源更簡單 + 此外腳本提供了豐富的命令選項,支援 CI/CD 整合與自動化維 + +- :material-pencil-ruler-outline:{ .lg .middle } __高度可自訂__ + + --- + + 腳本命令選項遵循正式應用程式規範設計,能夠滿足各種進階需求 + 程式碼結構清晰,易於閱讀和修改,支援克隆後定制 + +- :material-scale-balance:{ .lg .middle } __自由,開源__ + + --- + + 項目已設立 MIT 開源授權協議,腳本程式碼完全開源且免費使用 + 請尊重作者的知識成果,傳播時請在顯著位置標註來源或項目地址 + +
+ +
+ +| 作業系統 | 適配版本 | +| --- | :---: | +| **Debian** | _8~13_ | +| **Ubuntu** :material-information-outline:{ title="支援烏班圖家族衍生作業系統,例如 優麒麟 Kubuntu
由於迭代速度較快並不直接支援所有非 LTS 的版本,因此具體詳見文檔" } | _14~25_ | +| **Kali Linux** | _all_ | +| **Linux Mint** | _19~22 / LMDE 6_ | +| **Deepin** | _all_ | +| **Zorin OS** | _all_ | +| **Armbian** | _all_ | +| **Proxmox VE** | _all_ | +| **Raspberry Pi OS** | _all_ | +| **Red Hat Enterprise Linux** :material-information-outline:{ title="使用 CentOS StreamCentOS 源" } | _7~10_ | +| **Fedora** | _30~42_ | +| **CentOS** | _7~8 / Stream 8~10_ | +| **Rocky Linux** | _8~10_ | +| **AlmaLinux** | _8~10_ | +| **openEuler** | _21~25_ | +| **OpenCloudOS** | _8.6~9 / Stream 23_ | +| **openKylin** | _all_ | +| **Anolis OS** | _8 / 23_ | +| **openSUSE** | _Leep 15 / Tumbleweed_ | +| **Arch Linux** | _all_ | +| **Manjaro** | _all_ | +| **Alpine Linux** | _v3 / edge_ | +| **Gentoo** | _all_ | +| **NixOS** | _19~24_ | + +
+
+ +
+[開 始 使 用](use/index.md){ .md-button .md-button--primary }   [查看軟體源列表](mirrors/index.md){ .md-button } +
+ +--8<-- "docs/sponsor/main.html" + diff --git a/docs/mirrors/index.md b/docs/mirrors/index.md index aa038cc..5a32dbf 100644 --- a/docs/mirrors/index.md +++ b/docs/mirrors/index.md @@ -14,23 +14,6 @@ search:

正在加载表格

- - ???+ question "使用帮助" :supported: 支持    :unsupport: 不支持    :incompatible: 不兼容,表示软件源分支命名不符合脚本默认规则但可以通过命令选项来使用,关于具体用法示例和各操作系统所使用的默认分支名称[详见此处](../use/index.md#指定软件源仓库) @@ -264,7 +247,7 @@ search: 注:`Technology` 一词应称为 `理工` 而不能使用翻译结果的 `技术` 一词,大部分教育单位都有正式或公认的中文译名 - 非教育单位:应优先采用其上属官网所自称的品牌名称,注意是正式的英文名称而不是logo中的字符,如果没有并且网站是除中文、英文以外的语言文字应使用网站域名作为名称 - + ## 工具网站 diff --git a/docs/mirrors/index.zh-hant.md b/docs/mirrors/index.zh-hant.md new file mode 100644 index 0000000..8310867 --- /dev/null +++ b/docs/mirrors/index.zh-hant.md @@ -0,0 +1,244 @@ +--- +hide: + - navigation + - toc + - feedback + - footer +search: + exclude: true +--- + +???+ question "友情提示" + + 本項目預設提供的軟體源列表主要服務位於中國大陸的用戶,因此對您來說該頁面上可能存在許多無用的資訊。作者沒有精力去採集和維護全世界的可用軟體源,所以可能需要透過命令選項自訂使用才能滿足您的實際需求,具體預設的國際軟體源詳見下方。 + +## 中國大陸 :flag-CN: + +> 下方列表中的鏡像站均支援 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 軟體源,列表根據單位性質、地理位置、名稱長度排序,與實際速度無關 + +

正在載入表格

+ +???+ 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") | + +## 工具網站 + + + + + + +!!! tip "該頁面顯示的皆為腳本預設提供可供選擇的軟體源位址,如果沒有找到你想使用的也沒有關係,腳本支援命令選項可自訂使用,詳見[進階用法](../use/index.md#命令选项高级用法)" + +> 本頁面涉及的旗幟圖示僅用於快速區分地理位置,不代表作者任何的政治立場,請不要過度解讀,特此聲明。 diff --git a/docs/other/index.md b/docs/other/index.md index b36123f..1634357 100644 --- a/docs/other/index.md +++ b/docs/other/index.md @@ -16,7 +16,7 @@ hide: Ubuntu - Fedora + Fedora Kali Linux @@ -28,7 +28,7 @@ hide: Deepin(深度) - AlmaLinux + AlmaLinux Zorin OS @@ -86,9 +86,16 @@ hide: bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) ``` + === ":tencent-cloud: 腾讯云 EO (CDN)" + + ``` bash + bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) + ``` + > 不支持在国内网络环境下使用 + 集成安装 [`Docker Engine`](https://docs.docker.com/engine) 和 [`Docker Compose`](https://docs.docker.com/compose),支持选择或更换软件源以及镜像仓库、安装指定版本、重装等功能,支持 ARM 架构 - 脚本参考[官方文档](https://docs.docker.com/engine/install)使用系统包管理工具进行安装,不存在兼容性、安全性等问题,可安装的版本由 Docker CE 仓库决定。 + 脚本参考[官方文档](https://docs.docker.com/engine/install)使用系统包管理工具进行安装,不存在兼容性、安全性等问题,可安装的版本由 Docker CE 仓库决定 === "仅更换镜像加速器" @@ -126,6 +133,13 @@ hide: bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --only-registry ``` + === ":tencent-cloud: 腾讯云 EO (CDN)" + + ``` bash + bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --only-registry + ``` + > 不支持在国内网络环境下使用 + !!! node "软件源说明" @@ -180,11 +194,11 @@ hide: | 阿里云(呼和浩特) | [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-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") | + | 腾讯云 | [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") |
注:国内云计算企业的镜像仓库源仅针对其业务,境内实例可能仍无法访问 Docker Hub
diff --git a/docs/other/index.zh-hant.md b/docs/other/index.zh-hant.md new file mode 100644 index 0000000..69982d6 --- /dev/null +++ b/docs/other/index.zh-hant.md @@ -0,0 +1,390 @@ +--- +hide: + - navigation + - feedback + - footer +--- + +???+ question "為什麼會看到該提示?" + + 本項目腳本目前主要服務於簡體中文用戶,但是從立項之初就定義為了通用換源腳本,提供了諸多命令選項用於自訂使用,這也是本項目為什麼開始面向其它語言用戶使用的原因之一。腳本列印內容目前固定為簡體中文,隨著其它語言使用者的回饋和使用,腳本將來可能會支援繁體中文和英文。 + + 文檔使用工具進行翻譯,下方內容中的專業術語可能存在不準確的情況,歡迎修正。 + +!!! tip inline end "已被眾多熱門項目使用,廣受社群用戶好評" + +## :simple-docker:{style="color: #1d63ed"} Docker 安裝與換源腳本 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Debian Red Hat Enterprise Linux
Ubuntu Fedora
Kali Linux CentOS
Linux Mint Rocky Linux
Deepin AlmaLinux
Zorin OS openEuler
Armbian OpenCloudOS
Proxmox VE Anolis OS
Raspberry Pi OS
+ +### 一鍵執行命令 + +=== "安裝" + + !!! 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) + ``` + + === ":tencent-cloud: 騰訊雲 EO (CDN)" + + ``` bash + bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.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 + ``` + + === ":tencent-cloud: 騰訊雲 EO (CDN)" + + ``` bash + bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --only-registry + ``` + > 不支援在中國大陸網路環境下使用 + + +!!! node "軟體源說明" + +
+ + - __Docker CE 軟體倉庫 + + --- + + Docker CE 全稱 Docker Community Edition(Docker 社群版),是 Docker Engine 的別稱,該倉庫用於下載並安裝 Docker 相關軟體包 + + - __Docker Registry 鏡像倉庫__ + + --- + + 用於控制拉取鏡像的預設來源儲存倉庫,又稱為鏡像加速器,預設為官方容器鏡像倉庫 [Docker Hub](https://hub.docker.com) + +
+ + 由於一些不可抗力的因素,目前中國大陸網路環境一般無法正常造訪 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 "預設的鏡像倉庫源" + +
+
中國大陸可用
+ + | 名稱 | 位址 | 說明 | + | :--: | :--: | :-- | + | 毫秒鏡像 | [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") | 企業產品自用鏡像 | + +
本開源項目不適合採集個人自建的鏡像加速器,如有需要可搭配命令選項自行使用
+ +
其它
+ + | 名稱 | 位址 | 名稱 | 位址 | + | :- | :-: | :- | :-: | + | Alibaba Cloud (Hangzhou) | [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") | Alibaba Cloud (Japan - Tokyo) | [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") | + | Alibaba Cloud (Shanghai) | [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") | Alibaba Cloud (Singapore) | [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") | + | Alibaba Cloud (Qingdao) | [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") | Alibaba Cloud (Malaysia - Kuala Lumpur) | [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") | + | Alibaba Cloud (Beijing) | [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") | Alibaba Cloud (Indonesia - Jakarta) | [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") | + | Alibaba Cloud (Zhangjiakou) | [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") | Alibaba Cloud (Germany - Frankfurt) | [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") | + | Alibaba Cloud (Hohhot) | [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") | Alibaba Cloud (UK - London) | [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") | + | Alibaba Cloud (Ulanqab) | [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") | Alibaba Cloud (US Western - Silicon Valley) | [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") | + | Alibaba Cloud (Shenzhen) | [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") | Alibaba Cloud (US Eastern - Virginia) | [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") | + | Alibaba Cloud (Heyuan) | [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") | Alibaba Cloud (United Arab Emirates - Dubai) | [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") | + | Alibaba Cloud (Guangzhou) | [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") | Google Cloud(North America) | [gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://gcr.io") | + | Alibaba Cloud (Chengdu) | [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") | Google Cloud(Asia) | [asia.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://asia.gcr.io") | + | Alibaba Cloud (Hong Kong) | [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") | Google Cloud(Europe) | [eu.gcr.io](https://cloud.google.com/artifact-registry/docs/transition/gcr-repositories?hl=zh-cn "https://eu.gcr.io") | + | Tencent Cloud | [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") | + +
註:中國大陸雲端運算企業的鏡像倉庫來源僅針對其業務,中國大陸境內實例可能仍無法造訪 Docker Hub
+ +
+ +- ### 命令選項(進階用法) + + | 名稱 | 意義 | 選項值 | + | :-: | :-: | :-: | + | `--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` | 純淨模式,精簡列印內容 | 無 | + + > 軟體源完整格式 `://<軟體源位址(網域名稱或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` + + - 指定鏡像倉庫位址 + + > 請手動替換 `` 為鏡像倉庫位址後在執行,詳見上方 “項目內置的鏡像倉庫源” 表格中的位址列 + + ``` bash + SOURCE_REGISTRY='"https://"' + ``` + 也可以指定多個鏡像倉庫,如 `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` + + 卸載完成後重新執行腳本安裝即可 diff --git a/docs/sponsor/index.md b/docs/sponsor/index.md index f6f0d44..6c0a320 100644 --- a/docs/sponsor/index.md +++ b/docs/sponsor/index.md @@ -14,7 +14,7 @@ hide:
成为赞助商

请前往作者爱发电主页查看说明并与作者取得联系

diff --git a/docs/sponsor/index.zh-hant.md b/docs/sponsor/index.zh-hant.md new file mode 100644 index 0000000..49f774c --- /dev/null +++ b/docs/sponsor/index.zh-hant.md @@ -0,0 +1,21 @@ +--- +hide: + - navigation + - toc + - feedback + - footer +--- + +--8<-- "docs/sponsor/main.html" + +# + +
+
成為贊助商
+
+ +
+

請前往作者愛發電主頁查看說明並與作者取得聯繫

+
diff --git a/docs/sponsor/main.html b/docs/sponsor/main.html index 413c070..64bc84e 100644 --- a/docs/sponsor/main.html +++ b/docs/sponsor/main.html @@ -1,6 +1,6 @@