mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-02 23:40:25 +08:00
更新文档
This commit is contained in:
@@ -10,17 +10,17 @@ search:
|
||||
|
||||
## Mainland China :flag-CN:
|
||||
|
||||
> All mirror sites in the list below support `Debian`, `Ubuntu`, `CentOS`, `openSUSE`, and `openEuler` repositories. The list is sorted by institution type, geographic location, and name length, and is not related to actual speed.
|
||||
> All mirror sites in the list below synchronize the `Debian`, `Ubuntu`, `CentOS`, `openSUSE`, and `openEuler` software repositories. The list is sorted by institution type, geographic location, and name length, and is not related to actual download speed.
|
||||
|
||||
<div id="mirrors-table"><p>Loading table <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>
|
||||
|
||||
???+ question "Usage Help"
|
||||
|
||||
:supported: Supported :unsupport: Not Supported :incompatible: Incompatible, meaning the repository branch naming does not conform to the script's default rules but can be used via command options. For specific usage examples and the default branch names for each OS, [see here](../use/index.md#specify-mirror-repository).
|
||||
:supported: Supported :unsupport: Not Supported :incompatible: Incompatible, meaning the mirror site's repository directory naming does not conform to the script's default rules but can still be used via command options. For specific usage examples and the default branch names for each operating system, [see here](../use/index.md#specify-mirror-repository).
|
||||
|
||||
If you can't find the mirror you want to use here, you can check other running modes and command options. The speed of a repository is divided into refresh speed and download rate, the latter being the key. Please choose and try according to your actual geographic location, and you can also use [auxiliary tool websites](#tool-websites) for some tests.
|
||||
If you can't find the mirror site you want to use here, you can check other modes and command options. The speed of a mirror site is divided into synchronization speed and user download speed, with the latter being the key. Please choose and try according to your actual geographic location. You can also use [auxiliary tool websites](#tool-websites) for testing.
|
||||
|
||||
:material-thumb-up-outline: Usage suggestions: For speed, we recommend `USTC` and `ByteDance (Volcengine)`; for regional compatibility, `Aliyun` and `Tencent Cloud`; for repository variety, `Nanjing University` and `CAS`. For overseas or complex network environments, it is not recommended to use mirrors like `Tsinghua (TUNA)` that are easily blocked.
|
||||
:material-thumb-up-outline: Usage suggestions: For speed, we recommend `USTC` and `ByteDance (Volcengine)`; for regional compatibility, `Aliyun` and `Tencent Cloud`; for repository variety, `Nanjing University` and `CAS`. For overseas or complex network environments, it is not recommended to use mirrors like `Tsinghua (TUNA)` that are prone to blocking.
|
||||
|
||||
??? note "China Education Network (Click to expand)"
|
||||
|
||||
|
||||
@@ -10,21 +10,21 @@ search:
|
||||
|
||||
???+ question "友情提示"
|
||||
|
||||
本項目預設提供的軟體源列表主要服務位於中國大陸的用戶,因此對您來說該頁面上可能存在許多無用的資訊。作者沒有精力去採集和維護全世界的可用軟體源,所以可能需要透過命令選項自定義使用才能滿足您的實際需求,具體預設的國際軟體源詳見下方。
|
||||
本項目預設提供的軟體源列表主要服務位於中國大陸的用戶,因此對您來說該頁面上可能存在許多無用的資訊。作者沒有精力去採集和維護全世界的可用軟體源,因此可能需要透過命令選項自定義使用才能滿足您的實際需求,具體預設的國際軟體源詳見下方。
|
||||
|
||||
## 中國大陸 :flag-CN:
|
||||
|
||||
> 下方列表中的鏡像站均支援 `Debian` `Ubuntu` `CentOS` `openSUSE` `openEuler` 軟體源,列表根據單位性質、地理位置、名稱長度排序,與實際速度無關
|
||||
> 下方列表中的鏡像站均同步了 `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>
|
||||
|
||||
???+ question "使用幫助"
|
||||
|
||||
:supported: 支援 :unsupport: 不支援 :incompatible: 不相容,表示軟體源分支命名不符合腳本預設規則但可以透過命令選項來使用,關於具體用法範例和各作業系統所使用的預設分支名稱[請參見此處](../use/index.md#指定軟體源倉庫)
|
||||
:supported: 支援 :unsupport: 不支援 :incompatible: 不相容,表示鏡像站上的倉庫目錄命名不符合腳本預設規則但可以透過命令選項來使用,關於具體用法範例和各作業系統所使用的預設分支名稱[請參見此處](../use/index.md#指定軟體源倉庫)。
|
||||
|
||||
如果這裡沒有想使用的鏡像站,那可以看看其它運行模式和命令選項。軟體源的速度區分刷新速度和下行速率,後者才是關鍵,具體請結合實際地理位置選擇嘗試,也可以透過[輔助工具網站](#工具網站)進行一些測試
|
||||
如果這裡沒有想使用的鏡像站,那可以看看其它運行模式和命令選項。鏡像站的速度分為同步刷新速度和用戶下載速度,後者才是關鍵,具體請結合實際地理位置選擇嘗試,也可以透過[輔助工具網站](#工具網站)進行一些測試。
|
||||
|
||||
:material-thumb-up-outline: 使用建議:速度上推薦 `中科大`、`字節(火山引擎)`,地域相容性上推薦 `阿里雲`、`騰訊雲`,軟體源種類上推薦 `南京大學`、`中科院`,境外、海外或複雜網路環境下不建議使用 `清華(TUNA)` 等容易阻斷的鏡像站
|
||||
:material-thumb-up-outline: 使用建議:速度上推薦 `中科大`、`字節(火山引擎)`,地域相容性上推薦 `阿里雲`、`騰訊雲`,軟體源種類上推薦 `南京大學`、`中科院`,境外、海外或複雜網路環境下不建議使用 `清華(TUNA)` 等容易阻斷的鏡像站。
|
||||
|
||||
??? note "中國大陸教育網(點擊展開查看)"
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ hide:
|
||||
```
|
||||
> Not supported in mainland China network environments.
|
||||
|
||||
Integrates installation of [`Docker Engine`](https://docs.docker.com/engine) and [`Docker Compose`](https://docs.docker.com/compose), supports selecting or switching software sources and registry mirrors, installing specific versions, reinstalling, and supports ARM architecture.
|
||||
Integrates installation of [`Docker Engine`](https://docs.docker.com/engine) and [`Docker Compose`](https://docs.docker.com/compose), supports selecting or switching software repositories (Docker repositories) and registry mirrors, installing specific versions, reinstalling, and supports ARM architecture.
|
||||
|
||||
The script refers to the [official documentation](https://docs.docker.com/engine/install) and uses the system package manager for installation. There are no compatibility or security issues. The available versions are determined by the Docker CE repository.
|
||||
|
||||
@@ -202,13 +202,13 @@ hide:
|
||||
| Name | Meaning | Value |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | Specify `Docker CE` source address (domain or IP) | `address` |
|
||||
| `--source-registry` | Specify registry mirror address (domain or IP) | `address` |
|
||||
| `--branch` | Specify Docker CE repository | `repo name (see docs below)` |
|
||||
| `--codename` | Specify Debian-based OS codename | `codename` |
|
||||
| `--source-registry` | Specify `Docker` registry mirror address (domain or IP) | `address` |
|
||||
| `--branch` | Specify `Docker CE` repository | `repo name (see docs below)` |
|
||||
| `--codename` | Specify `Debian-based` OS codename | `codename` |
|
||||
| `--designated-version` | Specify `Docker CE` installation version | `version (see docs below)` |
|
||||
| `--protocol` | Specify WEB protocol for `Docker CE` source | `http` or `https` |
|
||||
| `--use-intranet-source` | Prefer intranet Docker CE mirror address | `true` or `false` |
|
||||
| `--install-latest` | Whether to install the latest Docker Engine | `true` or `false` |
|
||||
| `--use-intranet-source` | Prefer intranet `Docker CE` mirror address | `true` or `false` |
|
||||
| `--install-latest` | Whether to install the latest `Docker Engine` | `true` or `false` |
|
||||
| `--close-firewall` | Whether to disable the firewall | `true` or `false` |
|
||||
| `--clean-screen` | Whether to clear the screen before running | `true` or `false` |
|
||||
| `--only-registry` | Only switch registry mirror mode | none |
|
||||
|
||||
@@ -217,13 +217,13 @@ hide:
|
||||
| 名称 | 含义 | 选项值 |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | 指定 `Docker CE` 源地址(域名或IP) | `地址` |
|
||||
| `--source-registry` | 指定 Docker 镜像仓库地址(域名或IP) | `地址` |
|
||||
| `--branch` | 指定 Docker CE 软件源仓库 | `仓库名(详见下方文档)` |
|
||||
| `--codename` | 指定 Debian 系操作系统的版本代号 | `代号名称` |
|
||||
| `--source-registry` | 指定 `Docker` 镜像仓库地址(域名或IP) | `地址` |
|
||||
| `--branch` | 指定 `Docker CE` 软件源仓库 | `仓库名(详见下方文档)` |
|
||||
| `--codename` | 指定 `Debian` 系操作系统的版本代号 | `代号名称` |
|
||||
| `--designated-version` | 指定 `Docker CE` 安装版本 | `版本号(详见下方文档)` |
|
||||
| `--protocol` | 指定 `Docker CE` 源的 WEB 协议 | `http` 或 `https` |
|
||||
| `--use-intranet-source` | 是否优先使用内网 Docker CE 软件源地址 | `true` 或 `false` |
|
||||
| `--install-latest` | 是否安装最新版本的 Docker Engine | `true` 或 `false` |
|
||||
| `--use-intranet-source` | 是否优先使用内网 `Docker CE` 软件源地址 | `true` 或 `false` |
|
||||
| `--install-latest` | 是否安装最新版本的 `Docker Engine` | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否关闭防火墙 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true` 或 `false` |
|
||||
| `--only-registry` | 仅更换镜像仓库模式 | 无 |
|
||||
|
||||
@@ -55,7 +55,7 @@ hide:
|
||||
```
|
||||
> 不支援在中國大陸網路環境下使用
|
||||
|
||||
整合安裝 [`Docker Engine`](https://docs.docker.com/engine) 和 [`Docker Compose`](https://docs.docker.com/compose),支援選擇或更換軟體源以及映像倉庫、安裝指定版本、重裝等功能,支援 ARM 架構
|
||||
整合安裝 [`Docker Engine`](https://docs.docker.com/engine) 和 [`Docker Compose`](https://docs.docker.com/compose),支援選擇或更換軟體源(Docker 軟體倉庫)以及鏡像倉庫、安裝指定版本、重裝等功能,支援 ARM 架構
|
||||
|
||||
腳本參考[官方文件](https://docs.docker.com/engine/install)使用系統套件管理工具進行安裝,不存在相容性、安全性等問題,可安裝的版本由 Docker CE 倉庫決定
|
||||
|
||||
@@ -202,13 +202,13 @@ hide:
|
||||
| 名稱 | 意義 | 選項值 |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | 指定 `Docker CE` 軟體源位址(網域名稱或IP) | `位址` |
|
||||
| `--source-registry` | 指定鏡像倉庫位址(網域名稱或IP) | `位址` |
|
||||
| `--branch` | 指定 Docker CE 源倉庫 | `倉庫名稱(詳見下方文檔)` |
|
||||
| `--codename` | 指定 Debian 係作業系統的版本代號 | `代號名稱` |
|
||||
| `--source-registry` | 指定 `Docker` 鏡像倉庫位址(網域名稱或IP) | `位址` |
|
||||
| `--branch` | 指定 `Docker CE` 源倉庫 | `倉庫名稱(詳見下方文檔)` |
|
||||
| `--codename` | 指定 `Debian` 係作業系統的版本代號 | `代號名稱` |
|
||||
| `--designated-version` | 指定 `Docker CE` 安裝版本 | `版本號(詳見下方文檔)` |
|
||||
| `--protocol` | 指定 `Docker CE` 源的 WEB 協議 | `http` 或 `https` |
|
||||
| `--use-intranet-source` | 是否優先使用內部網路 Docker CE 軟體源位址 | `true` 或 `false` |
|
||||
| `--install-latest` | 是否安裝最新版本的 Docker Engine | `true` 或 `false` |
|
||||
| `--use-intranet-source` | 是否優先使用內部網路 `Docker CE` 軟體源位址 | `true` 或 `false` |
|
||||
| `--install-latest` | 是否安裝最新版本的 `Docker Engine` | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否關閉防火牆 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在運行前清除螢幕上的所有內容 | `true` 或 `false` |
|
||||
| `--only-registry` | 僅更換鏡像倉庫模式 | 無 |
|
||||
|
||||
@@ -145,7 +145,7 @@ hide:
|
||||
|
||||
!!! tip "Usage Help"
|
||||
|
||||
The tabs represent the built-in mirror types and script sources. Please check whether your target mirror supports your operating system before use. You can check in the [Mirror List](../mirrors/index.md).
|
||||
The tabs represent the built-in mirror site types and script sources. Please check whether your target mirror site supports your operating system before use. You can check in the [Mirror List](../mirrors/index.md).
|
||||
By default, the original mirror configuration will be **automatically backed up**. For more details, see the documentation below. If you are confused by some options during use, just press Enter all the way after selecting the mirror, which is the best practice.
|
||||
|
||||
The script supports use in abnormal environments such as when the system's original software source is **damaged**, **missing**, **invalid**, etc., without the need to install any additional dependencies.
|
||||
@@ -484,9 +484,9 @@ Below are some advanced usage examples
|
||||
|
||||
- ### Specify mirror repository
|
||||
|
||||
The repository here refers to the path after the mirror address, i.e., the branch on the mirror site. Although all are called repositories, it is easy to confuse.
|
||||
The repository here refers to the directory after the mirror site address, i.e., the repository directory on the mirror site. Although all are called repositories, it is easy to confuse.
|
||||
|
||||
Main scenario: The target mirror site has a corresponding system repo but does not match the default rule in this script.
|
||||
Main scenario: The target mirror site has a corresponding system repository but does not match the default rule in this script.
|
||||
|
||||
??? note "Default repo names for each OS (click to expand)"
|
||||
|
||||
@@ -528,7 +528,7 @@ Below are some advanced usage examples
|
||||
--branch rockylinux
|
||||
```
|
||||
|
||||
The repo name for Rocky Linux on Aliyun is [`rockylinux`](https://mirrors.aliyun.com/rockylinux), not the default `rocky`, but you can override the default rule with the command option.
|
||||
The repository directory name for Rocky Linux on Aliyun is [`rockylinux`](https://mirrors.aliyun.com/rockylinux), not the default `rocky`, but you can override the default rule with the command option.
|
||||
|
||||
> Some systems configure multiple repos at once. See command options for details.
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ hide:
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境建議使用
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
@@ -71,12 +71,12 @@ hide:
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (鏡像倉庫)"
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境建議使用
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
@@ -115,12 +115,12 @@ hide:
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --edu
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 码云 (鏡像倉庫)"
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境建議使用
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
@@ -147,7 +147,7 @@ hide:
|
||||
|
||||
!!! tip "使用幫助"
|
||||
|
||||
選項卡分別代表腳本內建軟體源類型和獲取腳本途徑,請在使用前檢查目標鏡像站是否支援您所使用的作業系統,可以在[軟體源列表](../mirrors/index.md)中查看。
|
||||
選項卡分別代表腳本內建軟體源(鏡像站)類型和獲取腳本途徑,請在使用前檢查目標鏡像站是否支援您所使用的作業系統,可以在[軟體源列表](../mirrors/index.md)中查看。
|
||||
預設**自動備份**原有軟體源內容,如需了解更多請翻閱下方文檔。若使用過程中的某些選項令你疑惑不解,那麼在選擇軟體源後一路回車即是最佳實踐。
|
||||
|
||||
腳本支援在系統原有軟體源**損壞**、**缺失**、**無效**等異常環境下使用,無需額外安裝任何依賴。
|
||||
@@ -169,7 +169,7 @@ hide:
|
||||
|
||||
---
|
||||
|
||||
如果你係統命令列介面的中文顯示亂碼那麼將導致無法查看互動內容,此外部分系統 GUI 圖形介面的終端應用可能存在一些無法預料的顯示問題。部分系統會自動開啟 SSH 服務,否則請參考[開啟方法](#關於開啟-ssh-遠端登入的方法)。
|
||||
如果你系統命令列介面的中文顯示亂碼那麼將導致無法查看互動內容,此外部分系統 GUI 圖形介面的終端應用可能存在一些無法預料的顯示問題。部分系統會自動開啟 SSH 服務,否則請參考[開啟方法](#關於開啟-ssh-遠端登入的方法)。
|
||||
|
||||
- :material-numeric-3:{style="color: #3CA7E5" .lg} __如果是在新裝系統上首次執行腳本__
|
||||
|
||||
@@ -486,7 +486,7 @@ hide:
|
||||
|
||||
- ### 指定軟體源倉庫
|
||||
|
||||
這裡的軟體源倉庫與系統內容軟體源倉庫不同,指的是軟體源位址後面的路徑即鏡像站分支倉庫,雖然名義上都是倉庫但是非常容易混淆
|
||||
這裡描述的軟體源倉庫與系統軟體倉庫不同,指的是軟體源(鏡像站)位址後面的路徑即鏡像站的倉庫目錄,雖然名義上都是倉庫但是非常容易混淆
|
||||
|
||||
主要使用情境:目標鏡像站有對應的系統鏡像倉庫但是不符合本項目腳本關於軟體源倉庫設定的預設規則
|
||||
|
||||
@@ -530,7 +530,7 @@ hide:
|
||||
--branch rockylinux
|
||||
```
|
||||
|
||||
阿里雲鏡像站的 Rocky Linux 倉庫名稱為 [`rockylinux`](https://mirrors.aliyun.com/rockylinux),不符合預設規則 `rocky`,但是可以透過命令選項繞過腳本預設規則來實現。
|
||||
阿里雲鏡像站的 Rocky Linux 倉庫目錄名稱為 [`rockylinux`](https://mirrors.aliyun.com/rockylinux),不符合預設規則 `rocky`,但是可以透過命令選項繞過腳本預設規則來實現。
|
||||
|
||||
> 部分系統會同時配置多個倉庫的軟體源,具體詳見命令選項
|
||||
|
||||
@@ -679,7 +679,7 @@ hide:
|
||||
|
||||
- ### 純淨模式
|
||||
|
||||
推出此功能是為了方便開發以及运维人員使用,啟用後會精簡腳本內容輸出,建議搭配其它指令選項無互動使用
|
||||
推出此功能是為了方便開發以及运維人員使用,啟用後會精簡腳本內容輸出,建議搭配其它指令選項無互動使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --pure-mode
|
||||
|
||||
Reference in New Issue
Block a user