mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-02 15:30:26 +08:00
Compare commits
3 Commits
3dd9cf00a1
...
784f792b0c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
784f792b0c | ||
|
|
bf2adc1adf | ||
|
|
f896adb8b6 |
@@ -1,3 +1,7 @@
|
||||
2025-10-12
|
||||
|
||||
* Added support for I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
2025-09-28
|
||||
|
||||
* Adapted for openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2025-10-12
|
||||
|
||||
* 新增适配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
2025-09-28
|
||||
|
||||
* 适配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2025-10-12
|
||||
|
||||
* 新增適配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
2025-09-28
|
||||
|
||||
* 適配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
1445
ChangeMirrors.sh
1445
ChangeMirrors.sh
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
<img src="/docs/assets/images/brand/light/3.png" alt="LinuxMirrors" width="140">
|
||||
</picture>
|
||||
<h1>LinuxMirrors</h1>
|
||||
<p>GNU/Linux mirror switching script & docker installation and registry mirror switching script</p>
|
||||
<p>GNU/Linux mirror switching script & Docker installation and registry mirror switching script</p>
|
||||
<p><a href="README.md">简体中文</a> | <a href="README.zh-Hant.md">繁體中文</a> | English</p>
|
||||
<p>
|
||||
<a href="https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE"><img src="https://shields.io/github/license/SuperManito/LinuxMirrors?color=%23007bff" alt="License: MIT"></a>
|
||||
@@ -156,19 +156,19 @@
|
||||
- ### GNU/Linux System Software Mirror Switching
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
|
||||
- ### Docker Installation & Mirror Switching
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en
|
||||
```
|
||||
|
||||
- ### Docker Switch Registry Mirror
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --only-registry
|
||||
```
|
||||
|
||||
## Special Thanks
|
||||
|
||||
@@ -151,37 +151,37 @@
|
||||
|
||||
## 快速開始
|
||||
|
||||
> 項目官方網站整合了 AI 聊天與搜索,更多使用方法詳見 [**linuxmirrors.cn**](https://linuxmirrors.cn/zh-Hant/use/)
|
||||
> 專案官方網站整合了 AI 聊天與搜索,更多使用方法詳見 [**linuxmirrors.cn**](https://linuxmirrors.cn/zh-Hant/use/)
|
||||
|
||||
- ### GNU/Linux 更換系統軟體源
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant
|
||||
```
|
||||
|
||||
- ### Docker 安裝與換源
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant
|
||||
```
|
||||
|
||||
- ### Docker 更換鏡像加速器
|
||||
|
||||
```bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --only-registry
|
||||
```
|
||||
|
||||
## 特別感謝
|
||||
|
||||
<a href="https://www.jetbrains.com" style="text-decoration: none;"><picture><source media="(prefers-color-scheme: dark)" srcset="/docs/assets/images/icon/jetbrains-dark.svg" width="140" height="50"><img src="/docs/assets/images/icon/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/icon/netlify-dark.png" width="110"><img src="/docs/assets/images/icon/netlify-light.png" alt="netlify" width="110"></picture></a>
|
||||
|
||||
本項目已加入 JetBrains & Netlify 開源項目計劃
|
||||
本專案已加入 JetBrains & Netlify 開源專案計劃
|
||||
|
||||
## LICENSE
|
||||
|
||||
Copyright © 2025, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE).
|
||||
|
||||
這是一個完全開源的項目,旨在為從事電腦相關行業的朋友提供便利,使換源更簡單
|
||||
這是一個完全開源的專案,旨在為從事電腦相關行業的朋友提供便利,使換源更簡單
|
||||
|
||||
<a href="https://star-history.com/#SuperManito/LinuxMirrors&Date">
|
||||
<picture>
|
||||
@@ -191,4 +191,4 @@ Copyright © 2025, [SuperManito](https://github.com/SuperManito). Released under
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
__如果您覺得這個項目不錯對您有幫助的話,請點擊倉庫右上角的 ⭐ 並分享給更多的朋友。__
|
||||
__如果您覺得這個專案不錯對您有幫助的話,請點擊倉庫右上角的 ⭐ 並分享給更多的朋友。__
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// 表格数据
|
||||
const mirrorsTableData = [
|
||||
{
|
||||
name: '阿里云',
|
||||
officialName: '阿里巴巴开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '阿里雲' : window.location.pathname.includes('/en') ? 'Alibaba Cloud' : '阿里云',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '阿里巴巴開源鏡像站' : window.location.pathname.includes('/en') ? 'Alibaba Cloud Open Source Mirror' : '阿里巴巴开源镜像站',
|
||||
icon: 'alibabacloud.svg',
|
||||
iconStyle: { verticalAlign: '-0.2em' },
|
||||
url: 'https://mirrors.aliyun.com',
|
||||
@@ -28,8 +28,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '腾讯云',
|
||||
officialName: '腾讯软件源',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '騰訊雲' : window.location.pathname.includes('/en') ? 'Tencent Cloud' : '腾讯云',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '騰訊軟體源' : window.location.pathname.includes('/en') ? 'Tencent Software Repository' : '腾讯软件源',
|
||||
icon: 'tencentcloud.ico',
|
||||
iconStyle: { verticalAlign: '-0.25em' },
|
||||
url: 'https://mirrors.tencent.com',
|
||||
@@ -55,8 +55,8 @@ const mirrorsTableData = [
|
||||
manjaro: false,
|
||||
},
|
||||
{
|
||||
name: '华为云',
|
||||
officialName: '华为开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '華為雲' : window.location.pathname.includes('/en') ? 'Huawei Cloud' : '华为云',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '華為開源鏡像站' : window.location.pathname.includes('/en') ? 'Huawei Open Source Mirror' : '华为开源镜像站',
|
||||
icon: 'huaweicloud.ico',
|
||||
iconStyle: { verticalAlign: '-0.15em' },
|
||||
url: 'https://mirrors.huaweicloud.com',
|
||||
@@ -82,8 +82,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '网易',
|
||||
officialName: '网易开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '網易' : window.location.pathname.includes('/en') ? 'NetEase' : '网易',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '網易開源鏡像站' : window.location.pathname.includes('/en') ? 'NetEase Open Source Mirror' : '网易开源镜像站',
|
||||
icon: '163.ico',
|
||||
iconStyle: { verticalAlign: '-0.15em' },
|
||||
url: 'https://mirrors.163.com',
|
||||
@@ -109,8 +109,8 @@ const mirrorsTableData = [
|
||||
manjaro: false,
|
||||
},
|
||||
{
|
||||
name: '火山引擎',
|
||||
officialName: '火山引擎开源软件镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '火山引擎' : window.location.pathname.includes('/en') ? 'Volcengine' : '火山引擎',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '火山引擎開源軟體鏡像站' : window.location.pathname.includes('/en') ? 'Volcengine Open Source Software Mirror' : '火山引擎开源软件镜像站',
|
||||
icon: 'volcengine.svg',
|
||||
iconStyle: { verticalAlign: '-0.25em' },
|
||||
url: 'https://developer.volcengine.com/mirror',
|
||||
@@ -136,8 +136,8 @@ const mirrorsTableData = [
|
||||
manjaro: false,
|
||||
},
|
||||
{
|
||||
name: '清华大学',
|
||||
officialName: '清华大学开源软件镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '清華大學' : window.location.pathname.includes('/en') ? 'Tsinghua University' : '清华大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '清華大學開源軟體鏡像站' : window.location.pathname.includes('/en') ? 'Tsinghua University Open Source Mirror' : '清华大学开源软件镜像站',
|
||||
icon: 'tsinghua.png',
|
||||
iconStyle: { verticalAlign: '-0.3em' },
|
||||
url: 'https://mirrors.tuna.tsinghua.edu.cn',
|
||||
@@ -163,8 +163,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '北京大学',
|
||||
officialName: '北京大学开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '北京大學' : window.location.pathname.includes('/en') ? 'Peking University' : '北京大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '北京大學開源鏡像站' : window.location.pathname.includes('/en') ? 'Peking University Open Source Mirror' : '北京大学开源镜像站',
|
||||
icon: 'pku.ico',
|
||||
iconStyle: { verticalAlign: '-0.2em' },
|
||||
url: 'https://mirrors.pku.edu.cn/Mirrors',
|
||||
@@ -190,8 +190,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '浙江大学',
|
||||
officialName: '浙江大学镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '浙江大學' : window.location.pathname.includes('/en') ? 'Zhejiang University' : '浙江大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '浙江大學鏡像站' : window.location.pathname.includes('/en') ? 'Zhejiang University Mirror Site' : '浙江大学镜像站',
|
||||
icon: 'zju.ico',
|
||||
iconStyle: { verticalAlign: '-0.15em' },
|
||||
url: 'https://mirrors.zju.edu.cn',
|
||||
@@ -217,8 +217,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '南京大学',
|
||||
officialName: '南京大学开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '南京大學' : window.location.pathname.includes('/en') ? 'Nanjing University' : '南京大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '南京大學開源鏡像站' : window.location.pathname.includes('/en') ? 'Nanjing University Open Source Mirror' : '南京大学开源镜像站',
|
||||
icon: 'nju.ico',
|
||||
iconStyle: { verticalAlign: '-0.3em' },
|
||||
url: 'https://mirrors.nju.edu.cn',
|
||||
@@ -244,8 +244,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '兰州大学',
|
||||
officialName: '兰州大学开源软件镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '蘭州大學' : window.location.pathname.includes('/en') ? 'Lanzhou University' : '兰州大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '蘭州大學開源軟體鏡像站' : window.location.pathname.includes('/en') ? 'Lanzhou University Open Source Software Mirror' : '兰州大学开源软件镜像站',
|
||||
icon: 'lzu.png',
|
||||
iconStyle: { verticalAlign: '-0.25em' },
|
||||
url: 'https://mirror.lzu.edu.cn',
|
||||
@@ -271,8 +271,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '上海交通大学',
|
||||
officialName: '上海交通大学思源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '上海交通大學' : window.location.pathname.includes('/en') ? 'Shanghai Jiao Tong University' : '上海交通大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '上海交通大學思源鏡像站' : window.location.pathname.includes('/en') ? 'Shanghai Jiao Tong University Siyuan Mirror' : '上海交通大学思源镜像站',
|
||||
icon: 'sjtu.ico',
|
||||
iconStyle: { verticalAlign: '-0.15em' },
|
||||
url: 'https://mirror.sjtu.edu.cn',
|
||||
@@ -298,8 +298,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '重庆邮电大学',
|
||||
officialName: '重庆邮电大学开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '重慶郵電大學' : window.location.pathname.includes('/en') ? 'Chongqing University of Posts and Telecommunications' : '重庆邮电大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '重慶郵電大學開源鏡像站' : window.location.pathname.includes('/en') ? 'Chongqing University of Posts and Telecommunications Open Source Mirror' : '重庆邮电大学开源镜像站',
|
||||
icon: 'cqupt.ico',
|
||||
iconStyle: {},
|
||||
url: 'https://mirrors.cqupt.edu.cn',
|
||||
@@ -325,8 +325,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '中国科学技术大学',
|
||||
officialName: '中国科学技术大学开源软件镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '中國科學技術大學' : window.location.pathname.includes('/en') ? 'University of Science and Technology of China' : '中国科学技术大学',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? '中國科學技術大學開源軟體鏡像站' : window.location.pathname.includes('/en') ? 'USTC Open Source Software Mirror' : '中国科学技术大学开源软件镜像站',
|
||||
icon: 'ustc.png',
|
||||
iconStyle: { verticalAlign: '-0.2em' },
|
||||
url: 'https://mirrors.ustc.edu.cn',
|
||||
@@ -352,8 +352,8 @@ const mirrorsTableData = [
|
||||
manjaro: true,
|
||||
},
|
||||
{
|
||||
name: '中国科学院软件研究所',
|
||||
officialName: 'ISCAS 开源镜像站',
|
||||
name: window.location.pathname.includes('/zh-Hant') ? '中國科學院軟體研究所' : window.location.pathname.includes('/en') ? 'Institute of Software, Chinese Academy of Sciences (ISCAS)' : '中国科学院软件研究所',
|
||||
officialName: window.location.pathname.includes('/zh-Hant') ? 'ISCAS 開源鏡像站' : window.location.pathname.includes('/en') ? 'ISCAS Open Source Mirror' : 'ISCAS 开源镜像站',
|
||||
icon: 'iscas.png',
|
||||
iconStyle: { verticalAlign: '-0.25em' },
|
||||
url: 'https://mirror.iscas.ac.cn',
|
||||
@@ -384,7 +384,7 @@ const mirrorsTableData = [
|
||||
const mirrorsTableColumns = [
|
||||
{
|
||||
colKey: 'name',
|
||||
title: !window.location.pathname.includes('/zh-Hant') ? '镜像站' : '鏡像站',
|
||||
title: window.location.pathname.includes('/zh-Hant') ? '鏡像站' : window.location.pathname.includes('/en') ? 'Mirror Site' : '镜像站',
|
||||
align: 'left',
|
||||
width: '180',
|
||||
fixed: 'left',
|
||||
@@ -400,7 +400,7 @@ const mirrorsTableColumns = [
|
||||
title: 'EPEL',
|
||||
align: 'center',
|
||||
width: '90',
|
||||
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 發行版',
|
||||
tooltip: 'EPEL (Extra Packages for Enterprise Linux) ' + (window.location.pathname.includes('/zh-Hant') ? '是由 Fedora 組織維護的一個附加軟體包倉庫,它主要適用於除 Fedora 作業系統以外的紅帽系 Linux 發行版' : window.location.pathname.includes('/en') ? 'is an additional package repository maintained by the Fedora organization. It is mainly applicable to Red Hat Linux distributions other than the Fedora operating system.' : '是由 Fedora 组织维护的一个附加软件包仓库,它主要适用于除 Fedora 操作系统以外的红帽系 Linux 发行版'),
|
||||
},
|
||||
{
|
||||
colKey: 'archlinux',
|
||||
@@ -521,3 +521,9 @@ const mirrorsTableColumns = [
|
||||
}
|
||||
return item
|
||||
})
|
||||
|
||||
const mirrorsTableConfig = {
|
||||
sortAscendingOperationText: window.location.pathname.includes('/zh-Hant') ? '点击升序' : window.location.pathname.includes('/en') ? 'click to sort ascending' : '点击升序',
|
||||
sortCancelOperationText: window.location.pathname.includes('/zh-Hant') ? '点击取消排序' : window.location.pathname.includes('/en') ? 'click to cancel sorting' : '点击取消排序',
|
||||
sortDescendingOperationText: window.location.pathname.includes('/zh-Hant') ? '点击降序' : window.location.pathname.includes('/en') ? 'click to sort descending' : '点击降序',
|
||||
}
|
||||
|
||||
@@ -1,63 +1,66 @@
|
||||
ComponentSystem.register('mirrors-table', {
|
||||
template: `
|
||||
<div>
|
||||
<t-table
|
||||
:columns="columns"
|
||||
:data="data"
|
||||
row-key="name"
|
||||
size="small"
|
||||
verticalAlign="bottom"
|
||||
@data-change="dataChange"
|
||||
>
|
||||
<template v-for="col in columns" :key="col.colKey" #[col.title]>
|
||||
<div v-if="col.tooltip" class="t-table__th-cell-inner">
|
||||
<t-space style="gap: 4px">
|
||||
<span>{{ col.title }}</span>
|
||||
<t-tooltip :content="col.tooltip" placement="bottom" :show-arrow="false">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/></svg>
|
||||
</t-tooltip>
|
||||
</t-space>
|
||||
</div>
|
||||
<div v-else class="t-table__th-cell-inner">{{ col.title }}</div>
|
||||
</template>
|
||||
<template v-for="col in columns" :key="col.colKey" #[col.colKey]="{ row }">
|
||||
<template v-if="col.colKey === 'name'">
|
||||
<t-popup placement="bottom" :show-arrow="false">
|
||||
<template #content>
|
||||
<t-space direction="vertical" algin="center" style="gap: 2px">
|
||||
<span>{{ row.officialName }}</span>
|
||||
<a :href="row.url" target="_blank" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a>
|
||||
</t-space>
|
||||
</template>
|
||||
<a :href="row.url" target="_blank">
|
||||
<t-space align="center" style="gap: 6px">
|
||||
<span style="display: flex; height: 100%; align-items: center; justify-content: center">
|
||||
<img v-if="row.icon" :src="\`/assets/images/icon/mirrors/\${row.icon}\`" width="16" height="16">
|
||||
</span>
|
||||
<span>{{ row.name }}</span>
|
||||
</t-space>
|
||||
</a>
|
||||
</t-popup>
|
||||
<t-config-provider :global-config="{ table: tableConfig }">
|
||||
<t-table
|
||||
:columns="columns"
|
||||
:data="data"
|
||||
row-key="name"
|
||||
size="small"
|
||||
verticalAlign="bottom"
|
||||
@data-change="dataChange"
|
||||
>
|
||||
<template v-for="col in columns" :key="col.colKey" #[col.title]>
|
||||
<div v-if="col.tooltip" class="t-table__th-cell-inner">
|
||||
<t-space style="gap: 4px">
|
||||
<span>{{ col.title }}</span>
|
||||
<t-tooltip :content="col.tooltip" placement="bottom" :show-arrow="false">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887t-.362-.888t-.888-.362t-.887.363t-.363.887t.363.888t.887.362m.05 4q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m.1-12.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.937t.75-.788q.575-.55.988-1.2t.412-1.45q0-1.275-1.037-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.112.638t.337.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2"/></svg>
|
||||
</t-tooltip>
|
||||
</t-space>
|
||||
</div>
|
||||
<div v-else class="t-table__th-cell-inner">{{ col.title }}</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<t-tag v-if="typeof row[col.colKey] === 'boolean'" :theme="row[col.colKey] ? 'success' : 'danger'" variant="light" size="small" style="background-color: transparent; height: 100%; vertical-align: -0.35em">
|
||||
<template #icon>
|
||||
<svg v-if="row[col.colKey]" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z"></svg>
|
||||
<svg v-else xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.2em"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"></svg>
|
||||
</template>
|
||||
</t-tag>
|
||||
<t-tag v-else theme="warning" variant="light" size="small" style="background-color: transparent; vertical-align: -0.35em">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.1em"><path fill="#F6B604" d="M22.11 21.46L2.39 1.73L1.11 3l2.95 2.95A9.95 9.95 0 0 0 2 12c0 5.5 4.5 10 10 10c2.28 0 4.37-.77 6.05-2.06l2.79 2.79l1.27-1.27M12 20c-4.42 0-8-3.58-8-8c0-1.73.56-3.32 1.5-4.62L16.62 18.5A7.78 7.78 0 0 1 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2c5.5 0 10 4.5 10 10c0 1.94-.56 3.75-1.5 5.28l-1.47-1.45c.62-1.14.97-2.44.97-3.83c0-4.42-3.58-8-8-8c-1.39 0-2.69.35-3.83.97Z"></svg>
|
||||
</t-tag>
|
||||
<template v-for="col in columns" :key="col.colKey" #[col.colKey]="{ row }">
|
||||
<template v-if="col.colKey === 'name'">
|
||||
<t-popup placement="bottom" :show-arrow="false">
|
||||
<template #content>
|
||||
<t-space direction="vertical" algin="center" style="gap: 2px">
|
||||
<span>{{ row.officialName }}</span>
|
||||
<a :href="row.url" target="_blank" style="color: var(--md-typeset-a-color)">{{ row.domain }}</a>
|
||||
</t-space>
|
||||
</template>
|
||||
<a :href="row.url" target="_blank">
|
||||
<t-space align="center" style="gap: 6px">
|
||||
<span style="display: flex; height: 16px; width: 16px; align-items: center; justify-content: center">
|
||||
<img v-if="row.icon" :src="\`/assets/images/icon/mirrors/\${row.icon}\`" width="16" height="16">
|
||||
</span>
|
||||
<span>{{ row.name }}</span>
|
||||
</t-space>
|
||||
</a>
|
||||
</t-popup>
|
||||
</template>
|
||||
<template v-else>
|
||||
<t-tag v-if="typeof row[col.colKey] === 'boolean'" :theme="row[col.colKey] ? 'success' : 'danger'" variant="light" size="small" style="background-color: transparent; height: 100%; vertical-align: -0.35em">
|
||||
<template #icon>
|
||||
<svg v-if="row[col.colKey]" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z"></svg>
|
||||
<svg v-else xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.2em"><path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"></svg>
|
||||
</template>
|
||||
</t-tag>
|
||||
<t-tag v-else theme="warning" variant="light" size="small" style="background-color: transparent; vertical-align: -0.35em">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="vertical-align: -0.1em"><path fill="#F6B604" d="M22.11 21.46L2.39 1.73L1.11 3l2.95 2.95A9.95 9.95 0 0 0 2 12c0 5.5 4.5 10 10 10c2.28 0 4.37-.77 6.05-2.06l2.79 2.79l1.27-1.27M12 20c-4.42 0-8-3.58-8-8c0-1.73.56-3.32 1.5-4.62L16.62 18.5A7.78 7.78 0 0 1 12 20M8.17 4.97L6.72 3.5C8.25 2.56 10.06 2 12 2c5.5 0 10 4.5 10 10c0 1.94-.56 3.75-1.5 5.28l-1.47-1.45c.62-1.14.97-2.44.97-3.83c0-4.42-3.58-8-8-8c-1.39 0-2.69.35-3.83.97Z"></svg>
|
||||
</t-tag>
|
||||
</template>
|
||||
</template>
|
||||
</template>
|
||||
</t-table>
|
||||
</t-table>
|
||||
</t-config-provider>
|
||||
</div>
|
||||
`,
|
||||
data() {
|
||||
return {
|
||||
columns: mirrorsTableColumns,
|
||||
data: mirrorsTableData,
|
||||
tableConfig: mirrorsTableConfig,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -6,6 +6,10 @@ search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
### `2025-10-12`
|
||||
|
||||
* Added support for I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
### `2025-09-28`
|
||||
|
||||
* Adapted for openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
@@ -6,6 +6,10 @@ search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
### `2025-10-12`
|
||||
|
||||
* 新增适配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
### `2025-09-28`
|
||||
|
||||
* 适配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
@@ -6,6 +6,10 @@ search:
|
||||
exclude: true
|
||||
---
|
||||
|
||||
### `2025-10-12`
|
||||
|
||||
* 新增適配 I18n [#bf2adc1](https://github.com/SuperManito/LinuxMirrors/commit/bf2adc1adf4f2de4820f617a23aabf247a47281c)
|
||||
|
||||
### `2025-09-28`
|
||||
|
||||
* 適配 openSUSE 16 [#a934676](https://github.com/SuperManito/LinuxMirrors/commit/a934676aeb4dfc1d008b2b46ecea5811d7382317)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: One-Click Script Makes Mirror Switching Easier
|
||||
description: GNU/Linux mirror switching script & docker installation and registry mirror switching script
|
||||
description: GNU/Linux mirror switching script & Docker installation and registry mirror switching script
|
||||
comments: true
|
||||
glightbox: false
|
||||
comments_description: This comment section is only for sharing project usage reviews and experiences. For issues or suggestions, please go to the <a href="/community">Community</a> or <a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank">Issues</a>
|
||||
@@ -18,7 +18,7 @@ hide:
|
||||
</div>
|
||||
<img src="/assets/images/brand/light/2.png#only-light" alt="LinuxMirrors" style="width: 300px" />
|
||||
<img src="/assets/images/brand/dark/2.png#only-dark" alt="LinuxMirrors" style="width: 300px" />
|
||||
<figcaption>GNU/Linux mirror switching script & docker installation and registry mirror switching script</figcaption>
|
||||
<figcaption>GNU/Linux mirror switching script & Docker installation and registry mirror switching script</figcaption>
|
||||
<figcaption>One-Click Script Makes Mirror Switching Easier</figcaption>
|
||||
</figure>
|
||||
<figure class="home-cmd no-select" style="margin: 0; display: flex; flex-direction: column; justify-content: center" markdown>
|
||||
@@ -90,7 +90,7 @@ hide:
|
||||
---
|
||||
|
||||
Script command options are designed according to formal application standards, meeting various advanced needs
|
||||
Code structure is clear, easy to read and modify, and supports customization after cloning
|
||||
Code structure is clear, easy to read and modify, and supports customization after cloning, supports multi-language printing
|
||||
|
||||
- :material-scale-balance:{ .lg .middle } __Free and Open Source__
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ hide:
|
||||
---
|
||||
|
||||
脚本命令选项遵循正式应用程序规范设计,能够满足各种高级需求
|
||||
代码结构清晰,易于阅读和修改,支持克隆后定制
|
||||
代码结构清晰,易于阅读和修改,支持克隆后定制,支持多语言打印
|
||||
|
||||
- :material-scale-balance:{ .lg .middle } __自由,开源__
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ hide:
|
||||
---
|
||||
|
||||
腳本命令選項遵循正式應用程式規範設計,能夠滿足各種進階需求
|
||||
程式碼結構清晰,易於閱讀和修改,支援克隆後定制
|
||||
程式碼結構清晰,易於閱讀和修改,支援克隆後定制,支援多語言列印
|
||||
|
||||
- :material-scale-balance:{ .lg .middle } __自由,開源__
|
||||
|
||||
|
||||
@@ -59,174 +59,174 @@ search:
|
||||
|
||||
## Overseas And International Regions :flag-world-map:
|
||||
|
||||
=== ":fontawesome-solid-earth-asia: Asia"
|
||||
=== ":fontawesome-solid-earth-asia: AS"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| Asia · xTom · Hong Kong :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| Asia · 01Link · Hong Kong :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| Asia · National University of Singapore (NUS) · Singapore :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| Asia · SG.GS · Singapore :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| Asia · xTom · Singapore :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| Asia · NCHC Free Software Lab · Taiwan :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| Asia · OSS Planet · Taiwan :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| Asia · National Yang Ming Chiao Tung University · Taiwan :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| Asia · Tamkang University · Taiwan :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| Asia · AniGil Linux Archive · Korea :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| Asia · ICSCoE (Industrial Cyber Security Center of Excellence) · Japan :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| Asia · JAIST (Japan Advanced Institute of Science and Technology) · Japan :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| Asia · Yamagata University · Japan :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") |
|
||||
| Asia · xTom · Japan :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| Asia · GB Network Solutions · Malaysia :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| Asia · Khon Kaen University · Thailand :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
| AS · xTom · Hong Kong :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| AS · 01Link · Hong Kong :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| AS · National University of Singapore (NUS) · Singapore :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| AS · SG.GS · Singapore :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| AS · xTom · Singapore :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| AS · NCHC Free Software Lab · Taiwan :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| AS · OSS Planet · Taiwan :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| AS · National Yang Ming Chiao Tung University · Taiwan :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| AS · Tamkang University · Taiwan :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| AS · AniGil Linux Archive · Korea :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| AS · ICSCoE (Industrial Cyber Security Center of Excellence) · Japan :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| AS · JAIST (Japan Advanced Institute of Science and Technology) · Japan :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| AS · Yamagata University · Japan :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") |
|
||||
| AS · xTom · Japan :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| AS · GB Network Solutions · Malaysia :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| AS · Khon Kaen University · Thailand :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
|
||||
=== ":fontawesome-solid-earth-europe: Europe"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| Europe · Vorboss Ltd · UK :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| Europe · QuickHost · UK :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| Europe · dogado · Germany :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| Europe · xTom · Germany :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| Europe · RWTH Aachen University · Germany :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| Europe · Dresden University (AG DSN) · Germany :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| Europe · CCIN2P3 · France :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| Europe · Ircam · France :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| Europe · Crans · France :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| Europe · CRIHAN · France :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| Europe · xTom · Netherlands :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| Europe · DataPacket · Netherlands :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| Europe · Linux Kernel · Netherlands :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| Europe · xTom · Estonia :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| Europe · netsite · Denmark :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| Europe · Dotsrc · Denmark :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| Europe · Academic Computer Club · Sweden :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| Europe · Lysator · Sweden :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| Europe · Yandex · Russia :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| Europe · ia64 · Russia :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| Europe · Truenetwork · Russia :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| Europe · Belgian Research Network · Belgium :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| Europe · University of Crete Computer Center · Greece :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| Europe · Masaryk University Faculty of Informatics · Czech Republic :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| Europe · Czech Technical University Student Club (Silicon Hill) · Czech Republic :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| Europe · Vodafone · Czech Republic :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| Europe · CZ.NIC · Czech Republic :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| Europe · ETH Zurich · Switzerland :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
| EU · Vorboss Ltd · UK :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| EU · QuickHost · UK :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| EU · dogado · Germany :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| EU · xTom · Germany :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| EU · RWTH Aachen University · Germany :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| EU · Dresden University (AG DSN) · Germany :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| EU · CCIN2P3 · France :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| EU · Ircam · France :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| EU · Crans · France :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| EU · CRIHAN · France :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| EU · xTom · Netherlands :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| EU · DataPacket · Netherlands :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| EU · Linux Kernel · Netherlands :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| EU · xTom · Estonia :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| EU · netsite · Denmark :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| EU · Dotsrc · Denmark :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| EU · Academic Computer Club · Sweden :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| EU · Lysator · Sweden :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| EU · Yandex · Russia :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| EU · ia64 · Russia :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| EU · Truenetwork · Russia :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| EU · Belgian Research Network · Belgium :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| EU · University of Crete Computer Center · Greece :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| EU · Masaryk University Faculty of Informatics · Czech Republic :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| EU · Czech Technical University Student Club (Silicon Hill) · Czech Republic :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| EU · Vodafone · Czech Republic :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| EU · CZ.NIC · Czech Republic :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| EU · ETH Zurich · Switzerland :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: North America"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| North America · Linux Kernel · USA :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| North America · MIT · USA :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| North America · Princeton University Department of Mathematics · USA :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| North America · Oregon State University Open Source Lab · USA :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| North America · Fremont Cabal Internet Exchange (FCIX) · USA :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| North America · xTom · USA :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| North America · Steadfast · USA :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| North America · University of British Columbia · Canada :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| North America · GoCodeIT · Canada :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| North America · Switch · Canada :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
| NA · Linux Kernel · USA :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| NA · MIT · USA :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| NA · Princeton University Department of Mathematics · USA :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| NA · Oregon State University Open Source Lab · USA :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| NA · Fremont Cabal Internet Exchange (FCIX) · USA :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| NA · xTom · USA :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| NA · Steadfast · USA :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| NA · University of British Columbia · Canada :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| NA · GoCodeIT · Canada :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| NA · Switch · Canada :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
|
||||
=== ":fontawesome-solid-earth-americas: South America"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| South America · PoP-SC · Brazil :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| South America · State University of Ponta Grossa · Brazil :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| South America · UFSCar · Brazil :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| South America · Sysarmy Community · Argentina :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
| SA · PoP-SC · Brazil :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| SA · State University of Ponta Grossa · Brazil :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| SA · UFSCar · Brazil :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| SA · Sysarmy Community · Argentina :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
|
||||
=== ":fontawesome-solid-earth-oceania: Oceania"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| Oceania · Fremont Cabal Internet Exchange (FCIX) · Australia :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| Oceania · AARNet · Australia :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| Oceania · DataMossa · Australia :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| Oceania · Amaze · Australia :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| Oceania · xTom · Australia :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| Oceania · Over the Wire · Australia :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| Oceania · Free Software Mirror Group · New Zealand :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
| OC · Fremont Cabal Internet Exchange (FCIX) · Australia :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| OC · AARNet · Australia :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| OC · DataMossa · Australia :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| OC · Amaze · Australia :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| OC · xTom · Australia :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| OC · Over the Wire · Australia :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| OC · Free Software Mirror Group · New Zealand :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
|
||||
=== ":fontawesome-solid-earth-africa: Africa"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| Africa · Liquid Telecom · Kenya :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| Africa · Dimension Data · South Africa :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
| AF · Liquid Telecom · Kenya :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| AF · Dimension Data · South Africa :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
=== ":octicons-globe-16: All"
|
||||
|
||||
| Mirror Name | Mirror URL |
|
||||
| :- | :-: |
|
||||
| Asia · xTom · Hong Kong :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| Asia · 01Link · Hong Kong :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| Asia · National University of Singapore (NUS) · Singapore :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| Asia · SG.GS · Singapore :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| Asia · xTom · Singapore :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| Asia · NCHC Free Software Lab · Taiwan :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| Asia · OSS Planet · Taiwan :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| Asia · National Yang Ming Chiao Tung University · Taiwan :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| Asia · Tamkang University · Taiwan :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| Asia · AniGil Linux Archive · Korea :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| Asia · ICSCoE (Industrial Cyber Security Center of Excellence) · Japan :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| Asia · JAIST (Japan Advanced Institute of Science and Technology) · Japan :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| Asia · Yamagata University · Japan :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") |
|
||||
| Asia · xTom · Japan :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| Asia · GB Network Solutions · Malaysia :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| Asia · Khon Kaen University · Thailand :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
| Europe · Vorboss Ltd · UK :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| Europe · QuickHost · UK :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| Europe · dogado · Germany :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| Europe · xTom · Germany :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| Europe · RWTH Aachen University · Germany :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| Europe · Dresden University (AG DSN) · Germany :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| Europe · CCIN2P3 · France :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| Europe · Ircam · France :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| Europe · Crans · France :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| Europe · CRIHAN · France :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| Europe · xTom · Netherlands :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| Europe · DataPacket · Netherlands :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| Europe · Linux Kernel · Netherlands :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| Europe · xTom · Estonia :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| Europe · netsite · Denmark :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| Europe · Dotsrc · Denmark :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| Europe · Academic Computer Club · Sweden :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| Europe · Lysator · Sweden :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| Europe · Yandex · Russia :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| Europe · ia64 · Russia :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| Europe · Truenetwork · Russia :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| Europe · Belgian Research Network · Belgium :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| Europe · University of Crete Computer Center · Greece :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| Europe · Masaryk University Faculty of Informatics · Czech Republic :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| Europe · Czech Technical University Student Club (Silicon Hill) · Czech Republic :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| Europe · Vodafone · Czech Republic :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| Europe · CZ.NIC · Czech Republic :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| Europe · ETH Zurich · Switzerland :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
| North America · Linux Kernel · USA :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| North America · MIT · USA :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| North America · Princeton University Department of Mathematics · USA :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| North America · Oregon State University Open Source Lab · USA :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| North America · Fremont Cabal Internet Exchange (FCIX) · USA :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| North America · xTom · USA :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| North America · Steadfast · USA :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| North America · University of British Columbia · Canada :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| North America · GoCodeIT · Canada :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| North America · Switch · Canada :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
| South America · PoP-SC · Brazil :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| South America · State University of Ponta Grossa · Brazil :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| South America · UFSCar · Brazil :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| South America · Sysarmy Community · Argentina :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
| Oceania · Fremont Cabal Internet Exchange (FCIX) · Australia :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| Oceania · AARNet · Australia :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| Oceania · DataMossa · Australia :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| Oceania · Amaze · Australia :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| Oceania · xTom · Australia :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| Oceania · Over the Wire · Australia :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| Oceania · Free Software Mirror Group · New Zealand :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
| Africa · Liquid Telecom · Kenya :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| Africa · Dimension Data · South Africa :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
| AS · xTom · Hong Kong :flag-HK: | [mirrors.xtom.hk](https://mirrors.xtom.hk "https://mirrors.xtom.hk") |
|
||||
| AS · 01Link · Hong Kong :flag-HK: | [mirror.01link.hk](https://mirror.01link.hk "https://mirror.01link.hk") |
|
||||
| AS · National University of Singapore (NUS) · Singapore :flag-SG: | [download.nus.edu.sg/mirror](https://download.nus.edu.sg "https://download.nus.edu.sg") |
|
||||
| AS · SG.GS · Singapore :flag-SG: | [mirror.sg.gs](https://mirror.sg.gs "https://mirror.sg.gs") |
|
||||
| AS · xTom · Singapore :flag-SG: | [mirrors.xtom.sg](https://mirrors.xtom.sg "https://mirrors.xtom.sg") |
|
||||
| AS · NCHC Free Software Lab · Taiwan :flag-TW: | [free.nchc.org.tw](https://free.nchc.org.tw "https://free.nchc.org.tw") |
|
||||
| AS · OSS Planet · Taiwan :flag-TW: | [mirror.ossplanet.net](https://mirror.ossplanet.net "https://mirror.ossplanet.net") |
|
||||
| AS · National Yang Ming Chiao Tung University · Taiwan :flag-TW: | [linux.cs.nctu.edu.tw](https://linux.cs.nctu.edu.tw "https://linux.cs.nctu.edu.tw") |
|
||||
| AS · Tamkang University · Taiwan :flag-TW: | [ftp.tku.edu.tw](https://ftp.tku.edu.tw "https://ftp.tku.edu.tw") |
|
||||
| AS · AniGil Linux Archive · Korea :flag-KR: | [mirror.anigil.com](https://mirror.anigil.com "https://mirror.anigil.com") |
|
||||
| AS · ICSCoE (Industrial Cyber Security Center of Excellence) · Japan :flag-JP: | [ftp.udx.icscoe.jp/Linux](https://ftp.udx.icscoe.jp/Linux "https://ftp.udx.icscoe.jp/Linux") |
|
||||
| AS · JAIST (Japan Advanced Institute of Science and Technology) · Japan :flag-JP: | [ftp.jaist.ac.jp/pub/Linux](https://ftp.jaist.ac.jp/pub/Linux "https://ftp.jaist.ac.jp/pub/Linux") |
|
||||
| AS · Yamagata University · Japan :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") |
|
||||
| AS · xTom · Japan :flag-JP: | [mirrors.xtom.jp](https://mirrors.xtom.jp "https://mirrors.xtom.jp") |
|
||||
| AS · GB Network Solutions · Malaysia :flag-MY: | [mirrors.gbnetwork.com](https://mirrors.gbnetwork.com "https://mirrors.gbnetwork.com") |
|
||||
| AS · Khon Kaen University · Thailand :flag-TH: | [mirror.kku.ac.th](https://mirror.kku.ac.th "https://mirror.kku.ac.th") |
|
||||
| EU · Vorboss Ltd · UK :flag-GB: | [mirror.vorboss.net](https://mirror.vorboss.net "https://mirror.vorboss.net") |
|
||||
| EU · QuickHost · UK :flag-GB: | [mirror.quickhost.uk](https://mirror.quickhost.uk "https://mirror.quickhost.uk") |
|
||||
| EU · dogado · Germany :flag-DE: | [mirror.dogado.de](https://mirror.dogado.de "https://mirror.dogado.de") |
|
||||
| EU · xTom · Germany :flag-DE: | [mirrors.xtom.de](https://mirrors.xtom.de "https://mirrors.xtom.de") |
|
||||
| EU · RWTH Aachen University · Germany :flag-DE: | [ftp.halifax.rwth-aachen.de](https://ftp.halifax.rwth-aachen.de "https://ftp.halifax.rwth-aachen.de") |
|
||||
| EU · Dresden University (AG DSN) · Germany :flag-DE: | [ftp.agdsn.de](https://ftp.agdsn.de "https://ftp.agdsn.de") |
|
||||
| EU · CCIN2P3 · France :flag-FR: | [mirror.in2p3.fr/pub/linux](https://mirror.in2p3.fr/pub/linux "https://mirror.in2p3.fr/pub/linux") |
|
||||
| EU · Ircam · France :flag-FR: | [mirrors.ircam.fr/pub](https://mirrors.ircam.fr/pub "https://mirrors.ircam.fr/pub") |
|
||||
| EU · Crans · France :flag-FR: | [eclats.crans.org](https://eclats.crans.org "https://eclats.crans.org") |
|
||||
| EU · CRIHAN · France :flag-FR: | [ftp.crihan.fr](https://ftp.crihan.fr "https://ftp.crihan.fr") |
|
||||
| EU · xTom · Netherlands :flag-NL: | [mirrors.xtom.nl](https://mirrors.xtom.nl "https://mirrors.xtom.nl") |
|
||||
| EU · DataPacket · Netherlands :flag-NL: | [mirror.datapacket.com](https://mirror.datapacket.com "https://mirror.datapacket.com") |
|
||||
| EU · Linux Kernel · Netherlands :flag-NL: | [eu.edge.kernel.org](https://eu.edge.kernel.org "https://eu.edge.kernel.org") |
|
||||
| EU · xTom · Estonia :flag-EE: | [mirrors.xtom.ee](https://mirrors.xtom.ee "https://mirrors.xtom.ee") |
|
||||
| EU · netsite · Denmark :flag-DK: | [mirror.netsite.dk](https://mirror.netsite.dk "https://mirror.netsite.dk") |
|
||||
| EU · Dotsrc · Denmark :flag-DK: | [mirrors.dotsrc.org](https://mirrors.dotsrc.org "https://mirrors.dotsrc.org") |
|
||||
| EU · Academic Computer Club · Sweden :flag-SE: | [mirror.accum.se](https://mirror.accum.se "https://mirror.accum.se") |
|
||||
| EU · Lysator · Sweden :flag-SE: | [ftp.lysator.liu.se](https://ftp.lysator.liu.se "https://ftp.lysator.liu.se") |
|
||||
| EU · Yandex · Russia :flag-RU: | [mirror.yandex.ru](https://mirror.yandex.ru "https://mirror.yandex.ru") |
|
||||
| EU · ia64 · Russia :flag-RU: | [mirror.linux-ia64.org](https://mirror.linux-ia64.org "https://mirror.linux-ia64.org") |
|
||||
| EU · Truenetwork · Russia :flag-RU: | [mirror.truenetwork.ru](https://mirror.truenetwork.ru "https://mirror.truenetwork.ru") |
|
||||
| EU · Belgian Research Network · Belgium :flag-BE: | [ftp.belnet.be/mirror](https://ftp.belnet.be/mirror "https://ftp.belnet.be/mirror") |
|
||||
| EU · University of Crete Computer Center · Greece :flag-GR: | [ftp.cc.uoc.gr/mirrors/linux](https://ftp.cc.uoc.gr/mirrors/linux "https://ftp.cc.uoc.gr/mirrors/linux") |
|
||||
| EU · Masaryk University Faculty of Informatics · Czech Republic :flag-CZ: | [ftp.fi.muni.cz/pub/linux](https://ftp.fi.muni.cz/pub/linux "https://ftp.fi.muni.cz/pub/linux") |
|
||||
| EU · Czech Technical University Student Club (Silicon Hill) · Czech Republic :flag-CZ: | [ftp.sh.cvut.cz](https://ftp.sh.cvut.cz "https://ftp.sh.cvut.cz") |
|
||||
| EU · Vodafone · Czech Republic :flag-CZ: | [mirror.karneval.cz/pub/linux](https://mirror.karneval.cz/pub/linux "https://mirror.karneval.cz/pub/linux") |
|
||||
| EU · CZ.NIC · Czech Republic :flag-CZ: | [mirrors.nic.cz](https://mirrors.nic.cz "https://mirrors.nic.cz") |
|
||||
| EU · ETH Zurich · Switzerland :flag-CH: | [mirror.ethz.ch](https://mirror.ethz.ch "https://mirror.ethz.ch") |
|
||||
| NA · Linux Kernel · USA :flag-US: | [mirrors.kernel.org](https://mirrors.kernel.org "https://mirrors.kernel.org") |
|
||||
| NA · MIT · USA :flag-US: | [mirrors.mit.edu](https://mirrors.mit.edu "https://mirrors.mit.edu") |
|
||||
| NA · Princeton University Department of Mathematics · USA :flag-US: | [mirror.math.princeton.edu/pub](https://mirror.math.princeton.edu/pub "https://mirror.math.princeton.edu/pub") |
|
||||
| NA · Oregon State University Open Source Lab · USA :flag-US: | [ftp-chi.osuosl.org/pub](https://ftp-chi.osuosl.org/pub "https://ftp-chi.osuosl.org/pub") |
|
||||
| NA · Fremont Cabal Internet Exchange (FCIX) · USA :flag-US: | [mirror.fcix.net](https://mirror.fcix.net "https://mirror.fcix.net") |
|
||||
| NA · xTom · USA :flag-US: | [mirrors.xtom.com](https://mirrors.xtom.com "https://mirrors.xtom.com") |
|
||||
| NA · Steadfast · USA :flag-US: | [mirror.steadfast.net](https://mirror.steadfast.net "https://mirror.steadfast.net") |
|
||||
| NA · University of British Columbia · Canada :flag-CA: | [mirror.it.ubc.ca](https://mirror.it.ubc.ca "https://mirror.it.ubc.ca") |
|
||||
| NA · GoCodeIT · Canada :flag-CA: | [mirror.xenyth.net](https://mirror.xenyth.net "https://mirror.xenyth.net") |
|
||||
| NA · Switch · Canada :flag-CA: | [mirrors.switch.ca](https://mirrors.switch.ca "https://mirrors.switch.ca") |
|
||||
| SA · PoP-SC · Brazil :flag-BR: | [mirror.pop-sc.rnp.br/mirror](https://mirror.pop-sc.rnp.br/mirror "https://mirror.pop-sc.rnp.br/mirror") |
|
||||
| SA · State University of Ponta Grossa · Brazil :flag-BR: | [mirror.uepg.br](https://mirror.uepg.br "https://mirror.uepg.br") |
|
||||
| SA · UFSCar · Brazil :flag-BR: | [mirror.ufscar.br](https://mirror.ufscar.br "https://mirror.ufscar.br") |
|
||||
| SA · Sysarmy Community · Argentina :flag-AR: | [mirrors.eze.sysarmy.com](https://mirrors.eze.sysarmy.com "https://mirrors.eze.sysarmy.com") |
|
||||
| OC · Fremont Cabal Internet Exchange (FCIX) · Australia :flag-AU: | [gsl-syd.mm.fcix.net](https://gsl-syd.mm.fcix.net "https://gsl-syd.mm.fcix.net") |
|
||||
| OC · AARNet · Australia :flag-AU: | [mirror.aarnet.edu.au/pub](https://mirror.aarnet.edu.au/pub "https://mirror.aarnet.edu.au/pub") |
|
||||
| OC · DataMossa · Australia :flag-AU: | [mirror.datamossa.io](https://mirror.datamossa.io "https://mirror.datamossa.io") |
|
||||
| OC · Amaze · Australia :flag-AU: | [mirror.amaze.com.au](https://mirror.amaze.com.au "https://mirror.amaze.com.au") |
|
||||
| OC · xTom · Australia :flag-AU: | [mirrors.xtom.au](https://mirrors.xtom.au "https://mirrors.xtom.au") |
|
||||
| OC · Over the Wire · Australia :flag-AU: | [mirror.overthewire.com.au](https://mirror.overthewire.com.au "https://mirror.overthewire.com.au") |
|
||||
| OC · Free Software Mirror Group · New Zealand :flag-NZ: | [mirror.fsmg.org.nz](https://mirror.fsmg.org.nz "https://mirror.fsmg.org.nz") |
|
||||
| AF · Liquid Telecom · Kenya :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||
| AF · Dimension Data · South Africa :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||
|
||||
## Tool Websites
|
||||
|
||||
|
||||
@@ -30,36 +30,36 @@ search:
|
||||
|
||||
| 鏡像站名稱 | 鏡像站位址 |
|
||||
| :- | :-: |
|
||||
| 北京大学 | [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") |
|
||||
| 北京大學 | [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:
|
||||
|
||||
|
||||
@@ -15,39 +15,39 @@ hide:
|
||||
=== ":linuxmirrors: Official Site (Recommended)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --en
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --en
|
||||
```
|
||||
> Real-time sync, no delay. Recommended for use in Chinese mainland network environments.
|
||||
|
||||
=== ":simple-gitcode: GitCode"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --en
|
||||
```
|
||||
> 1-hour sync delay.
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --en
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: Tencent Cloud EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --en
|
||||
```
|
||||
> Not recommended in Chinese mainland network environments.
|
||||
|
||||
@@ -62,39 +62,39 @@ hide:
|
||||
=== ":linuxmirrors: Official Site (Recommended)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --en --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --en --only-registry
|
||||
```
|
||||
> Real-time sync, no delay. Recommended for use in Chinese mainland network environments.
|
||||
|
||||
=== ":simple-gitcode: GitCode"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --en --only-registry
|
||||
```
|
||||
> 1-hour sync delay.
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --en --only-registry
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: Tencent Cloud EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --en --only-registry
|
||||
```
|
||||
> Not recommended in Chinese mainland network environments.
|
||||
|
||||
@@ -209,40 +209,42 @@ hide:
|
||||
|
||||
<!-- termynal -->
|
||||
```
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --help
|
||||
|
||||
Command options(name/meaning/value):
|
||||
|
||||
--source Specify Docker CE source address (domain or IP) address
|
||||
--source-registry Specify Docker registry mirror address (domain or IP) address
|
||||
--branch Specify Docker CE source repository (path) repo name
|
||||
--branch-version Specify Docker CE source repository version version
|
||||
--source Specify Docker CE mirror address (domain or IP) address
|
||||
--source-registry Specify Docker Registry mirror address (domain or IP) address
|
||||
--branch Specify Docker CE mirror repository (path) repo name
|
||||
--branch-version Specify Docker CE mirror repository version version
|
||||
--designated-version Specify Docker Engine installation version version
|
||||
--codename Specify Debian-based OS codename codename
|
||||
--protocol Specify Web protocol for Docker CE source http or https
|
||||
--use-intranet-source Prefer intranet Docker CE source address true or false
|
||||
--protocol Specify Web protocol for Docker CE mirror 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
|
||||
--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
|
||||
--ignore-backup-tips Ignore backup overwrite prompt (do not backup) none
|
||||
--lang Specify the language of the script output language
|
||||
--only-registry Only switch registry mirror mode none
|
||||
--ignore-backup-tips Ignore backup overwrite prompt (do not backup) none
|
||||
--pure-mode Pure mode, minimal output none
|
||||
--help Show help menu none
|
||||
```
|
||||
|
||||
| Name | Meaning | Value |
|
||||
| :-: | :-: | :-: |
|
||||
| `--source` | Specify `Docker CE` source address (domain or IP) | `address` |
|
||||
| `--source-registry` | Specify `Docker` registry mirror address (domain or IP) | `address` |
|
||||
| `--branch` | Specify `Docker CE` source repository (path) | `repo name (see docs below)` |
|
||||
| `--branch-version` | Specify `Docker CE` source repository version | `version (see docs below)` |
|
||||
| `--source` | Specify `Docker CE` mirror address (domain or IP) | `address` |
|
||||
| `--source-registry` | Specify `Docker Registry` mirror address (domain or IP) | `address` |
|
||||
| `--branch` | Specify `Docker CE` mirror repository (path) | `repo name (see docs below)` |
|
||||
| `--branch-version` | Specify `Docker CE` mirror repository version | `version (see docs below)` |
|
||||
| `--designated-version` | Specify `Docker Engine` installation version | `version (see docs below)` |
|
||||
| `--codename` | Specify `Debian-based` OS codename | `codename` |
|
||||
| `--protocol` | Specify Web protocol for `Docker CE` source | `http` or `https` |
|
||||
| `--use-intranet-source` | Prefer intranet `Docker CE` source address | `true` or `false` |
|
||||
| `--protocol` | Specify Web protocol for `Docker CE` mirror | `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` |
|
||||
| `--close-firewall` | Whether to disable the firewall | `true` or `false` |
|
||||
| `--clean-screen` | Whether to clear the screen before running | `true` or `false` |
|
||||
| `--lang` | Specify the language of the script output | `language id (see docs below)` |
|
||||
| `--only-registry` | Only switch registry mirror mode | none |
|
||||
| `--ignore-backup-tips` | Ignore backup overwrite prompt (do not backup) | none |
|
||||
| `--pure-mode` | Pure mode, minimal output | none |
|
||||
@@ -253,7 +255,7 @@ Command options(name/meaning/value):
|
||||
- ### Specify Registry Mirror Address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source-registry registry.example.com
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --source-registry registry.example.com
|
||||
```
|
||||
|
||||
- ### Only Switch Registry Mirror
|
||||
@@ -263,7 +265,7 @@ Command options(name/meaning/value):
|
||||
Only switches the registry accelerator. If Docker is not installed, an error will be reported and exit.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --only-registry
|
||||
```
|
||||
|
||||
=== "Manual Replacement"
|
||||
@@ -314,22 +316,22 @@ Command options(name/meaning/value):
|
||||
- ### Specify Docker CE Source Address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --source mirror.example.com/docker-ce
|
||||
```
|
||||
> Note: The address path must include the Docker CE source repository path, i.e., `docker-ce`.
|
||||
> Note: The address path must include the Docker CE mirror repository path, i.e., `docker-ce`.
|
||||
|
||||
- ### Specify Docker CE Source Repository
|
||||
|
||||
The script will automatically detect this in most cases. Specify only if you have special requirements.
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --branch centos
|
||||
```
|
||||
> Repository names are fixed: `centos`, `debian`, `fedora`, `raspbian`, `rhel`, `sles`, `static`, `ubuntu`
|
||||
> See [official installation docs](https://docs.docker.com/engine/install) and [Docker CE official repo](https://download.docker.com/linux) for details.
|
||||
|
||||
``` { .bash .no-copy title="Can also specify the repository version number." }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en \
|
||||
--branch centos \
|
||||
--branch-version 9
|
||||
```
|
||||
@@ -340,7 +342,7 @@ Command options(name/meaning/value):
|
||||
When specifying a version, the "install latest" option is ignored. Format: `major.minor.patch`, e.g., `28.4.1`.
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 28.0.0
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --designated-version 28.0.0
|
||||
```
|
||||
> If the specified version does not exist or is not supported on your system, the script will report an error and exit.
|
||||
|
||||
@@ -364,13 +366,41 @@ Command options(name/meaning/value):
|
||||
|
||||
Versions not listed are not supported by this script. If you cannot get the version list, your system environment has not been properly configured for the Docker CE repository (this will not happen when running the script).
|
||||
|
||||
- ### I18n (Internationalization)
|
||||
|
||||
The script provides multi-language support. Currently, there are three built-in display languages: `简体中文`、`繁體中文`、`English`. The default is `简体中文`.
|
||||
|
||||
- #### Specify Language
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang xxx
|
||||
```
|
||||
|
||||
| Type | Value |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
It can also be used directly as a command option
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### Select through interaction
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### Unattended (Automation)
|
||||
|
||||
To perform installation without interaction, use at least the following options. Recommended for experienced users.
|
||||
|
||||
``` { .bash .no-copy title="Example Command" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en \
|
||||
--source mirror.example.com/docker-ce \
|
||||
--source-registry registry.hub.docker.com \
|
||||
--protocol http \
|
||||
@@ -386,14 +416,14 @@ Command options(name/meaning/value):
|
||||
This feature is introduced to facilitate the use of developers and operation and maintenance personnel. After it is enabled, the script content output will be simplified. It is recommended to use it with other command options without interaction.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --pure-mode
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "Scrolling command logs may have unpredictable display issues, but no problems have been found so far."
|
||||
|
||||
## FAQ
|
||||
|
||||
- ### About Service Startup Errors
|
||||
- #### About Service Startup Errors
|
||||
|
||||
!!! quote ""
|
||||
|
||||
@@ -419,7 +449,7 @@ Command options(name/meaning/value):
|
||||
|
||||
After uninstalling, simply rerun the script to install.
|
||||
|
||||
- ### About unsupported operating systems
|
||||
- #### About unsupported operating systems
|
||||
|
||||
If it prompts that it is not supported, please use the system's own package management tool to install it. Because these packages are built and maintained by the Linux distribution's package maintainers and may have differences in configuration or are built from modified source code.
|
||||
|
||||
@@ -438,4 +468,4 @@ Command options(name/meaning/value):
|
||||
- #### Simple method
|
||||
|
||||
--8<-- "docs/other/example2.md"
|
||||
> Note: If you don't specify `Docker CE source` and `Image repository source`, the script will be interactively selected by the user. The screen will be automatically cleared (`$ clear`) at this point, which will cause your script's log to be cleared.
|
||||
> Note: If you don't specify `Docker CE` and `Docker Registry` mirrors, the script will be interactively selected by the user. The screen will be automatically cleared (`$ clear`) at this point, which will cause your script's log to be cleared.
|
||||
|
||||
@@ -224,6 +224,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
--install-latest 是否安装最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否关闭防火墙 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--lang 指定脚本输出的语言 语言
|
||||
--only-registry 仅更换镜像仓库模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--pure-mode 纯净模式,精简打印内容 无
|
||||
@@ -243,6 +244,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
| `--install-latest` | 是否安装最新版本的 `Docker Engine` | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否关闭防火墙 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true` 或 `false` |
|
||||
| `--lang` | 指定脚本输出的语言 | `语言ID(详见下方文档)` |
|
||||
| `--only-registry` | 仅更换镜像仓库模式 | 无 |
|
||||
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
|
||||
| `--pure-mode` | 纯净模式,精简打印内容 | 无 |
|
||||
@@ -364,6 +366,34 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
|
||||
未出现在该列表中的版本则不支持通过本脚本安装,如果获取不到版本列表说明你当前的系统环境还没有正确配置 Docker CE 软件源(运行脚本时不存在该问题)
|
||||
|
||||
- ### 国际化(I18n)
|
||||
|
||||
脚本提供多语言支持,当前内置 `简体中文`、`繁體中文`、`English` 共三种显示语言,默认为 `简体中文`
|
||||
|
||||
- #### 指定语言
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang xxx
|
||||
```
|
||||
|
||||
| 类型 | 值 |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
也可以直接作为命令选项使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### 通过交互进行选择
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### 无人值守(自动化)
|
||||
|
||||
@@ -393,7 +423,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
|
||||
## 常见问题
|
||||
|
||||
- ### 关于服务报错无法启动
|
||||
- #### 关于服务报错无法启动
|
||||
|
||||
!!! quote ""
|
||||
|
||||
@@ -419,7 +449,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
||||
|
||||
卸载完成后重新执行脚本安装即可
|
||||
|
||||
- ### 关于不支持的操作系统
|
||||
- #### 关于不支持的操作系统
|
||||
|
||||
如果提示不支持那么请使用系统自带的包管理工具进行安装。因为这些软件包由 Linux 发行版的软件包维护者构建和维护,可能存在配置差异或由修改后的源代码构建。
|
||||
|
||||
|
||||
@@ -15,39 +15,39 @@ hide:
|
||||
=== ":linuxmirrors: 官網(推薦)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --zh-hant
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境建議使用
|
||||
|
||||
=== ":simple-gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --zh-hant
|
||||
```
|
||||
> 同步存在1小時延遲
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh)
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: 騰訊雲 EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh)
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --zh-hant
|
||||
```
|
||||
> 不建議在中國大陸網路環境下使用
|
||||
|
||||
@@ -62,39 +62,39 @@ hide:
|
||||
=== ":linuxmirrors: 官網(推薦)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/DockerInstallation.sh) --zh-hant --only-registry
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 碼雲 (映像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --zh-hant --only-registry
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境建議使用
|
||||
|
||||
=== ":simple-gitcode: GitCode (映像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh) --zh-hant --only-registry
|
||||
```
|
||||
> 同步存在1小時延遲
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --only-registry
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/DockerInstallation.sh) --zh-hant --only-registry
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: 騰訊雲 EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/docker.sh) --zh-hant --only-registry
|
||||
```
|
||||
> 不建議在中國大陸網路環境下使用
|
||||
|
||||
@@ -224,6 +224,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
--install-latest 是否安裝最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否關閉防火牆 true 或 false
|
||||
--clean-screen 是否在運行前清除螢幕上的所有內容 true 或 false
|
||||
--lang 指定腳本輸出的語言 语言
|
||||
--only-registry 僅更換映像倉庫模式 無
|
||||
--ignore-backup-tips 忽略覆蓋備份提示 無
|
||||
--pure-mode 純淨模式,精簡列印內容 無
|
||||
@@ -243,6 +244,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
| `--install-latest` | 是否安裝最新版本的 `Docker Engine` | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否關閉防火牆 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在運行前清除螢幕上的所有內容 | `true` 或 `false` |
|
||||
| `--lang` | 指定腳本輸出的語言 | `語言ID(詳見下方文件)` |
|
||||
| `--only-registry` | 僅更換映像倉庫模式 | 無 |
|
||||
| `--ignore-backup-tips` | 忽略覆蓋備份提示(即不覆蓋備份) | 無 |
|
||||
| `--pure-mode` | 純淨模式,精簡列印內容 | 無 |
|
||||
@@ -253,7 +255,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
- ### 指定映像倉庫位址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source-registry registry.example.com
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --source-registry registry.example.com
|
||||
```
|
||||
|
||||
- ### 僅更換映像倉庫
|
||||
@@ -263,7 +265,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
僅更換鏡像加速器,當偵測到未安裝 Docker 時會報錯跳出
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --only-registry
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --only-registry
|
||||
```
|
||||
|
||||
=== "手動替換"
|
||||
@@ -314,7 +316,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
- ### 指定 `Docker CE` 軟體源位址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --source mirror.example.com/docker-ce
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --source mirror.example.com/docker-ce
|
||||
```
|
||||
> 注意該位址路徑需要包含映像站的 Docker CE 軟體源倉庫路徑即 `docker-ce`
|
||||
|
||||
@@ -323,13 +325,13 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
腳本預設會自動判斷一般無需指定,除非你有特殊需求
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --branch centos
|
||||
```
|
||||
> 倉庫名稱是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 這幾個
|
||||
> 詳情請見 [官方安裝文件](https://docs.docker.com/engine/install) 及 [Docker CE 官方倉庫](https://download.docker.com/linux)
|
||||
|
||||
``` { .bash .no-copy title="还可以指定倉庫版本號" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant \
|
||||
--branch centos \
|
||||
--branch-version 9
|
||||
```
|
||||
@@ -340,9 +342,9 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
指定安裝版本時會忽略 `是否安裝最新版本` 的命令選項,格式為 `主版.次版本.補丁版本`,例如 `28.4.1`。
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --designated-version 28.0.0
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --designated-version 28.0.0
|
||||
```
|
||||
> 如果指定的版本不存在或不支援目前系統,屆時腳本會報錯跳出
|
||||
> 如果指定的版本不存在或不支援當前作業系統,屆時腳本會報錯跳出
|
||||
|
||||
??? quote "查看版本清單的方法"
|
||||
|
||||
@@ -364,13 +366,41 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
|
||||
未出現在該清單中的版本則不支援透過本腳本安裝,如果取得不到版本清單說明你目前的系統環境還沒有正確配置 Docker CE 軟體軟體源(執行腳本時不存在該問題)
|
||||
|
||||
- ### 國際化(I18n)
|
||||
|
||||
腳本提供多語言支持,目前內建 `簡體中文`、`繁體中文`、`English` 共三種顯示語言,預設為 `簡體中文`
|
||||
|
||||
- #### 指定語言
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang xxx
|
||||
```
|
||||
|
||||
| 類型 | 值 |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
也可以直接作為指令選項使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### 透過互動進行選擇
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### 無人值守(自動化)
|
||||
|
||||
不透過交互完成安裝操作,至少需要使用以下命令選項來實現,建議熟悉後再使用
|
||||
|
||||
``` { .bash .no-copy title="参考命令" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant \
|
||||
--source mirror.example.com/docker-ce \
|
||||
--source-registry registry.hub.docker.com \
|
||||
--protocol http \
|
||||
@@ -386,14 +416,14 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
推出此功能是為了方便開發以及运维人員使用,啟用後會精簡腳本內容輸出,建議搭配其它指令選項無互動使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --pure-mode
|
||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "滾動輸出的命令日誌可能有無法預料的顯示問題,不過目前暫未發現異常"
|
||||
|
||||
## 常見問題
|
||||
|
||||
- ### 關於服務報錯無法啟動
|
||||
- #### 關於服務報錯無法啟動
|
||||
|
||||
!!! quote ""
|
||||
|
||||
@@ -419,7 +449,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
|
||||
卸載完成後重新執行腳本安裝即可
|
||||
|
||||
- ### 關於不支援的作業系統
|
||||
- #### 關於不支援的作業系統
|
||||
|
||||
如果提示不支援那麼請使用系統自備的套件管理工具進行安裝。因為這些軟體包由 Linux 發行版的軟體包維護者建構和維護,可能存在配置差異或由修改後的原始碼建構。
|
||||
|
||||
|
||||
@@ -13,39 +13,39 @@ hide:
|
||||
=== ":linuxmirrors: Official Site (Recommended)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --en
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en
|
||||
```
|
||||
> Real-time sync, no delay. Recommended for use in Chinese mainland network environments.
|
||||
|
||||
=== ":simple-gitcode: GitCode"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en
|
||||
```
|
||||
> 1-hour sync delay.
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --en
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: Tencent Cloud EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
> Not recommended in Chinese mainland network environments.
|
||||
|
||||
@@ -56,33 +56,33 @@ hide:
|
||||
=== ":linuxmirrors: Official Site (Recommended)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --abroad
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --abroad
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --en --abroad
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en --abroad
|
||||
```
|
||||
> Real-time sync, no delay. Recommended for use in Chinese mainland network environments.
|
||||
|
||||
=== ":simple-gitcode: GitCode"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en --abroad
|
||||
```
|
||||
> 1-hour sync delay.
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --en --abroad
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: Tencent Cloud EO (CDN)"
|
||||
@@ -99,39 +99,39 @@ hide:
|
||||
=== ":linuxmirrors: Official Site (Recommended)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --edu
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --en --edu
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en --edu
|
||||
```
|
||||
> Real-time sync, no delay. Recommended for use in Chinese mainland network environments.
|
||||
|
||||
=== ":simple-gitcode: GitCode"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --en --edu
|
||||
```
|
||||
> 1-hour sync delay.
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --en --edu
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: Tencent Cloud EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --edu
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --en --edu
|
||||
```
|
||||
> Not recommended in Chinese mainland network environments.
|
||||
|
||||
@@ -260,19 +260,19 @@ hide:
|
||||
=== ":material-home-city: Chinese mainland"
|
||||
|
||||
``` bash
|
||||
bash main.sh
|
||||
bash main.sh --en
|
||||
```
|
||||
|
||||
=== ":material-earth: International Regions"
|
||||
|
||||
``` bash
|
||||
bash main.sh --abroad
|
||||
bash main.sh --en --abroad
|
||||
```
|
||||
|
||||
=== ":material-library: China Education Network"
|
||||
|
||||
``` bash
|
||||
bash main.sh --edu
|
||||
bash main.sh --en --edu
|
||||
```
|
||||
|
||||
If none of these work, copy the [source code](https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) to a new `.sh` file and run it with `bash`.
|
||||
@@ -436,7 +436,7 @@ hide:
|
||||
|
||||
<!-- termynal -->
|
||||
```
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --help
|
||||
|
||||
Command options(name/meaning/value):
|
||||
|
||||
@@ -464,6 +464,7 @@ Command options(name/meaning/value):
|
||||
--upgrade-software Upgrade packages true or false
|
||||
--clean-cache Clean cache after upgrade true or false
|
||||
--clean-screen Clear screen before running true or false
|
||||
--lang Specify the language of the script output language
|
||||
--only-epel Only switch EPEL repo none
|
||||
--ignore-backup-tips Ignore backup overwrite prompt none
|
||||
--print-diff Print diff before and after modification none
|
||||
@@ -497,6 +498,7 @@ Command options(name/meaning/value):
|
||||
| `--upgrade-software` | Upgrade packages | `true` or `false` |
|
||||
| `--clean-cache` | Clean cache after upgrade | `true` or `false` |
|
||||
| `--clean-screen` | Clear screen before running | `true` or `false` |
|
||||
| `--lang` | Specify the language of the script output | `language id (see docs below)` |
|
||||
| `--only-epel` | Only switch EPEL repo | none |
|
||||
| `--ignore-backup-tips` | Ignore backup overwrite prompt | none |
|
||||
| `--print-diff` | Print diff before and after modification | none |
|
||||
@@ -510,7 +512,7 @@ Below are some advanced usage examples
|
||||
- ### Specify mirror address
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --source mirror.example.com
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --source mirror.example.com
|
||||
```
|
||||
|
||||
- ### Specify mirror repository directory
|
||||
@@ -554,7 +556,7 @@ Below are some advanced usage examples
|
||||
Example:
|
||||
|
||||
``` { .bash title="Use Aliyun mirror for Rocky Linux" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--source mirrors.aliyun.com \
|
||||
--branch rockylinux
|
||||
```
|
||||
@@ -572,7 +574,7 @@ Below are some advanced usage examples
|
||||
Sometimes your desired mirror does not have EPEL. You can skip EPEL during the first run and then run:
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --only-epel
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --only-epel
|
||||
```
|
||||
|
||||
For EPEL 7 (EOL), use the [`archive`](https://dl.fedoraproject.org/pub/archive/epel) repo. For overseas networks, use `--use-official-source-epel true` to use the official repo.
|
||||
@@ -582,7 +584,7 @@ Below are some advanced usage examples
|
||||
If you accidentally deleted the backup of the official mirror, use this command to restore. This skips mirror selection.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --use-official-source true
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --use-official-source true
|
||||
```
|
||||
> Some systems (e.g., `Arch Linux`) have no official mirror, so Aliyun will be used as a fallback.
|
||||
|
||||
@@ -615,7 +617,7 @@ Below are some advanced usage examples
|
||||
For maximum security, use the official repo due to mirror sync delays.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--source-security security.debian.org \
|
||||
--branch-security debian-security
|
||||
```
|
||||
@@ -629,7 +631,7 @@ Below are some advanced usage examples
|
||||
- Change version code
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--codename trixie \
|
||||
--upgrade-software false
|
||||
```
|
||||
@@ -653,13 +655,13 @@ Below are some advanced usage examples
|
||||
# Clear the original software sources (If there is any non-system software source content, please back it up manually first)
|
||||
sed -i '1,$d' /etc/apt/sources.list
|
||||
# Rerun the mirror switching script
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
|
||||
=== "Switch GNU/Linux Debian to testing branch"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--codename testing \
|
||||
--upgrade-software false
|
||||
```
|
||||
@@ -675,7 +677,7 @@ Below are some advanced usage examples
|
||||
See the official [Wiki](https://wiki.ubuntu.com/Releases) for version support and check each mirror for `Ubuntu Old Releases` support.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--source mirrors.ustc.edu.cn \
|
||||
--branch ubuntu-old-releases
|
||||
```
|
||||
@@ -689,12 +691,41 @@ Below are some advanced usage examples
|
||||
grep -q "\[archlinuxcn\]" /etc/pacman.conf || echo -e "[archlinuxcn]\nServer = ${SOURCE}/\$arch" >>/etc/pacman.conf
|
||||
```
|
||||
|
||||
- ### Unattended (automation)
|
||||
- ### I18n (Internationalization)
|
||||
|
||||
The script provides multi-language support. Currently, there are three built-in display languages: `简体中文`、`繁體中文`、`English`. The default is `简体中文`.
|
||||
|
||||
- #### Specify Language
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang xxx
|
||||
```
|
||||
|
||||
| Type | Value |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
It can also be used directly as a command option
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### Select through interaction
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### Unattended (Automation)
|
||||
|
||||
To run without interaction, use at least the following options. Recommended for experienced users.
|
||||
|
||||
``` { .bash .no-copy title="Example Command" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en \
|
||||
--source mirror.example.com \
|
||||
--protocol http \
|
||||
--use-intranet-source false \
|
||||
@@ -711,7 +742,7 @@ Below are some advanced usage examples
|
||||
This feature is introduced to facilitate the use of developers and operation and maintenance personnel. After it is enabled, the script content output will be simplified. It is recommended to use it with other command options without interaction.
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --pure-mode
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "Scrolling command logs may have unpredictable display issues, but no problems have been found so far."
|
||||
@@ -730,6 +761,7 @@ If you are a developer of another project and want to create a custom script bas
|
||||
1. Keep the original structure; empty out the function bodies if not needed.
|
||||
2. Remove unused OS repo content `gen_repo_files_xxx`, which takes up over 60% of the script.
|
||||
3. Remove unused feature modules, e.g., `handle_command_options`, `backup_original_mirrors`, `upgrade_software`.
|
||||
4. Remove unnecessary language packs, for example: `function msg_pack_en() {}`
|
||||
6. Main configuration is controlled by unified variables, as are command options. These global variables are all uppercase and use underscores. See the table below. Declare them at the top of the script (reserved comment area) for quick customization.
|
||||
|
||||
| Variable | Meaning | Value Type |
|
||||
|
||||
@@ -466,6 +466,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
--upgrade-software 是否更新软件包 true 或 false
|
||||
--clean-cache 是否在更新软件包后清理下载缓存 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--lang 指定脚本输出的语言 语言
|
||||
--only-epel 仅更换 EPEL 软件源模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--print-diff 打印源文件修改前后差异 无
|
||||
@@ -499,6 +500,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
| `--upgrade-software` | 是否更新软件包 | `true` 或 `false` |
|
||||
| `--clean-cache` | 是否在更新软件包后清理下载缓存 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在运行前清除屏幕上的所有内容 | `true` 或 `false` |
|
||||
| `--lang` | 指定脚本输出的语言 | `语言ID(详见下方文档)` |
|
||||
| `--only-epel` | 仅更换 EPEL 软件源模式 | 无 |
|
||||
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
|
||||
| `--print-diff` | 是否打印源文件修改前后差异 | 无 |
|
||||
@@ -691,6 +693,35 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
grep -q "\[archlinuxcn\]" /etc/pacman.conf || echo -e "[archlinuxcn]\nServer = ${SOURCE}/\$arch" >>/etc/pacman.conf # 一键配置命令
|
||||
```
|
||||
|
||||
- ### 国际化(I18n)
|
||||
|
||||
脚本提供多语言支持,当前内置 `简体中文`、`繁體中文`、`English` 共三种显示语言,默认为 `简体中文`
|
||||
|
||||
- #### 指定语言
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang xxx
|
||||
```
|
||||
|
||||
| 类型 | 值 |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
也可以直接作为命令选项使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### 通过交互进行选择
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### 无人值守(自动化)
|
||||
|
||||
不通过交互完成换源操作,至少需要使用如下命令选项来实现,建议熟悉后再使用
|
||||
@@ -732,6 +763,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
1. 首先在删除内容时应尽可能保留脚本原始结构,直接把涉及函数中的内容删除即可,使其保留为空函数
|
||||
2. 可以删除一些不使用(操作系统)的软件源原始内容 `gen_repo_files_xxx`,这些内容占据了脚本 `60%` 以上的体积
|
||||
3. 如果你不使用某些功能那么可以删除对应功能模块函数中的内容,`命令选项 handle_command_options`、`备份原有软件源 backup_original_mirrors`、`更新软件包 upgrade_software`
|
||||
4. 移除不需要的语言包,例:`function msg_pack_en() {}`
|
||||
6. 脚本主要功能配置是由统一的变量控制的,命令选项亦是如此,这些全局变量由全大写字母构成并遵循下划线命名法,具体变量详见如下表格,你只需要将这些变量声明在脚本头部(预留注释区域)即可快速完成定制
|
||||
|
||||
| 变量名 | 含义 | 值类型 |
|
||||
|
||||
@@ -13,39 +13,39 @@ hide:
|
||||
=== ":linuxmirrors: 官網 (推薦)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":simple-gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant
|
||||
```
|
||||
> 同步存在1小時延遲
|
||||
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: 騰訊雲 EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --zh-hant
|
||||
```
|
||||
> 不建議在中國大陸網路環境下使用
|
||||
|
||||
@@ -56,26 +56,26 @@ hide:
|
||||
=== ":linuxmirrors: 官網 (推薦)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --abroad
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --abroad
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --zh-hant --abroad
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant --abroad
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":simple-gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant --abroad
|
||||
```
|
||||
> 同步存在1小時延遲
|
||||
|
||||
@@ -83,13 +83,13 @@ hide:
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --abroad
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --zh-hant --abroad
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: 騰訊雲 EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --abroad
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --zh-hant --abroad
|
||||
```
|
||||
> 不建議在中國大陸網路環境下使用
|
||||
|
||||
@@ -100,26 +100,26 @@ hide:
|
||||
=== ":linuxmirrors: 官網 (推薦)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --edu
|
||||
```
|
||||
|
||||
=== ":simple-github: GitHub"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --zh-hant --edu
|
||||
```
|
||||
|
||||
=== ":simple-gitee: Gitee 碼雲 (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant --edu
|
||||
```
|
||||
> 即時同步、無延遲,中國大陸網路環境下推薦使用
|
||||
|
||||
=== ":simple-gitcode: GitCode (鏡像倉庫)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://raw.gitcode.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --zh-hant --edu
|
||||
```
|
||||
> 同步存在1小時延遲
|
||||
|
||||
@@ -127,13 +127,13 @@ hide:
|
||||
=== ":simple-jsdelivr: jsDelivr (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --edu
|
||||
bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh) --zh-hant --edu
|
||||
```
|
||||
|
||||
=== ":tencent-cloud: 騰訊雲 EO (CDN)"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --edu
|
||||
bash <(curl -sSL https://edgeone.linuxmirrors.cn/main.sh) --zh-hant --edu
|
||||
```
|
||||
> 不建議在中國大陸網路環境下使用
|
||||
|
||||
@@ -262,19 +262,19 @@ hide:
|
||||
=== ":material-home-city: 中國大陸"
|
||||
|
||||
``` bash
|
||||
bash main.sh
|
||||
bash main.sh --zh-hant
|
||||
```
|
||||
|
||||
=== ":material-earth: 國際地區"
|
||||
|
||||
``` bash
|
||||
bash main.sh --abroad
|
||||
bash main.sh --zh-hant --abroad
|
||||
```
|
||||
|
||||
=== ":material-library: 中國大陸教育網"
|
||||
|
||||
``` bash
|
||||
bash main.sh --edu
|
||||
bash main.sh --zh-hant --edu
|
||||
```
|
||||
|
||||
如果以上方法試了都不行,那就複製[原始碼](https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)至本地新建任意名稱的 `.sh` 腳本,貼上原始碼內容後透過 `bash` 指令手動執行。
|
||||
@@ -438,7 +438,7 @@ hide:
|
||||
|
||||
<!-- termynal -->
|
||||
```
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --help
|
||||
|
||||
命令選項(名稱/含義/值):
|
||||
|
||||
@@ -466,6 +466,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
--upgrade-software 是否更新軟體包 true 或 false
|
||||
--clean-cache 是否在更新軟體包後清理下載快取 true 或 false
|
||||
--clean-screen 是否在運行前清除螢幕上的所有內容 true 或 false
|
||||
--lang 指定腳本輸出的語言 语言
|
||||
--only-epel 僅更換 EPEL 軟體源模式 無
|
||||
--ignore-backup-tips 忽略覆蓋備份提示 無
|
||||
--print-diff 是否列印原始文件修改前後差異 無
|
||||
@@ -499,6 +500,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
| `--upgrade-software` | 是否更新軟體套件 | `true` 或 `false` |
|
||||
| `--clean-cache` | 是否在更新軟體包後清理下載快取 | `true` 或 `false` |
|
||||
| `--clean-screen` | 是否在運行前清除螢幕上的所有內容 | `true` 或 `false` |
|
||||
| `--lang` | 指定腳本輸出的語言 | `語言ID(詳見下方文件)` |
|
||||
| `--only-epel` | 僅更換 EPEL 軟體源模式 | 無 |
|
||||
| `--ignore-backup-tips` | 忽略覆蓋備份提示(即不覆蓋備份) | 無 |
|
||||
| `--print-diff` | 是否列印原始文件修改前後差異 | 無 |
|
||||
@@ -512,7 +514,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
- ### 指定軟體源位址
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --source mirror.example.com
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --source mirror.example.com
|
||||
```
|
||||
|
||||
- ### 指定軟體源倉庫目錄
|
||||
@@ -556,7 +558,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
請看下面的例子
|
||||
|
||||
``` { .bash title="使用阿里雲鏡像站的 Rocky Linux 軟體源" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--source mirrors.aliyun.com \
|
||||
--branch rockylinux
|
||||
```
|
||||
@@ -574,7 +576,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
有些時候你會發現想使用的鏡像站沒有 EPEL 倉庫,那麼你可以在第一次運行腳本時不安裝或更換 EPEL 軟體源,然後再單獨執行下面的命令
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --only-epel
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --only-epel
|
||||
```
|
||||
|
||||
對於已經 EOL 的 EPEL 7,注意需要使用 [`archive`](https://dl.fedoraproject.org/pub/archive/epel) 倉庫,境外以及海外網絡環境建議通過命令選項 `--use-official-source-epel true` 使用官方源
|
||||
@@ -584,7 +586,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
當你不小心刪除了官方軟體源的備份時可以使用此命令來恢復,使用此命令選項後將跳過選擇軟體源步驟
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --use-official-source true
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --use-official-source true
|
||||
```
|
||||
> 部分系統不存在官方軟體源例如 `Arch Linux`,屆時會自動更換成相容性較高的阿里雲鏡像站
|
||||
|
||||
@@ -617,7 +619,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
如果你想盡可能提高伺服器的安全性建議使用官方軟體源,因為鏡像同步存在延遲
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--source-security security.debian.org \
|
||||
--branch-security debian-security
|
||||
```
|
||||
@@ -631,7 +633,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
- 更換版本代號
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--codename trixie \
|
||||
--upgrade-software false
|
||||
```
|
||||
@@ -655,13 +657,13 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
# 清空原有軟體源(如有非系統軟體源內容請先自行手動備份)
|
||||
sed -i '1,$d' /etc/apt/sources.list
|
||||
# 重新執行換源腳本
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant
|
||||
```
|
||||
|
||||
=== "將 GNU/Linux Debian 的版本切換到測試分支"
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--codename testing \
|
||||
--upgrade-software false
|
||||
```
|
||||
@@ -677,7 +679,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
具體版本支援情況詳見官方 [Wiki](https://wiki.ubuntu.com/Releases),關於 `Ubuntu Old Releases` 倉庫的支援情況詳見各鏡像站
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--source mirrors.ustc.edu.cn \
|
||||
--branch ubuntu-old-releases
|
||||
```
|
||||
@@ -691,12 +693,41 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
grep -q "\[archlinuxcn\]" /etc/pacman.conf || echo -e "[archlinuxcn]\nServer = ${SOURCE}/\$arch" >>/etc/pacman.conf # 一鍵配置命令
|
||||
```
|
||||
|
||||
- ### 國際化(I18n)
|
||||
|
||||
腳本提供多語言支持,目前內建 `簡體中文`、`繁體中文`、`English` 共三種顯示語言,預設為 `簡體中文`
|
||||
|
||||
- #### 指定語言
|
||||
|
||||
``` { .bash .no-copy }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang xxx
|
||||
```
|
||||
|
||||
| 類型 | 值 |
|
||||
| :-: | :-: |
|
||||
| 简体中文 | `zh-hans` `zh-cn` `zh` |
|
||||
| 繁體中文 | `zh-hant` `zh-tw` `zh-hk` |
|
||||
| English | `en` `en-us` |
|
||||
|
||||
也可以直接作為指令選項使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --en
|
||||
```
|
||||
> `--en` `--en-us` `--zh` `--zh-cn` `--zh-hans` `--zh-hant`
|
||||
|
||||
- #### 透過互動進行選擇
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --lang auto
|
||||
```
|
||||
|
||||
- ### 無人值守(自動化)
|
||||
|
||||
不透過交互完成換源操作,至少需要使用以下命令選項來實現,建議熟悉後再使用
|
||||
|
||||
``` { .bash .no-copy title="参考命令" }
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant \
|
||||
--source mirror.example.com \
|
||||
--protocol http \
|
||||
--use-intranet-source false \
|
||||
@@ -713,7 +744,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
推出此功能是為了方便開發以及运維人員使用,啟用後會精簡腳本內容輸出,建議搭配其它指令選項無互動使用
|
||||
|
||||
``` bash
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --pure-mode
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --zh-hant --pure-mode
|
||||
```
|
||||
|
||||
!!! tip "滾動輸出的命令日誌可能有無法預料的顯示問題,不過目前暫未發現異常"
|
||||
@@ -732,4 +763,5 @@ $ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
|
||||
1. 首先在刪除內容時應盡可能保留腳本原始結構,直接把涉及函數中的內容刪除即可,使其保留為空函數
|
||||
2. 可以刪除一些不使用(作業系統)的軟體源原始內容 `gen_repo_files_xxx`,這些內容佔據了腳本 `60%` 以上的體積
|
||||
3. 如果你不使用某些功能,那麼可以刪除對應功能模組函數中的內容,`命令選項 handle_command_options`、`備份原有軟體源 backup_original_mirrors`、`更新軟體包 upgrade_software`
|
||||
4. 移除不需要的語言包,例:`function msg_pack_en() {}`
|
||||
6. 腳本主要功能配置是由統一的變量控制的,命令選項亦是如此,這些全局變量由全大寫字母構成並遵循下劃線命名法,具體變量詳見如下表格,你只需要將這些變量聲明在腳本頭部(預留註釋區域)即可快速完成定制
|
||||
|
||||
149
locales/docker/en.sh
Normal file
149
locales/docker/en.sh
Normal file
@@ -0,0 +1,149 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']='Docker installation & mirror switcher'
|
||||
['start.runtimeEnv']='Runtime Env'
|
||||
['start.dateTime']='System Time'
|
||||
['end.moreInfo']='Script execution completed, visit our website for more tutorials'
|
||||
['end.sponsorAds']='[Sponsor Ads]'
|
||||
['error.cmd.options.needConfirm']='Please confirm and re-enter'
|
||||
['error.cmd.options.needSpecify']='Please specify {} after this option'
|
||||
['error.cmd.options.invalid']='Command option {} is invalid, {}!'
|
||||
['error.cmd.options.validAddress']='a valid address'
|
||||
['error.cmd.options.sourceAddress']='mirror address'
|
||||
['error.cmd.options.registryAddress']='registry mirror address'
|
||||
['error.cmd.options.sourceRepository']='mirror repository'
|
||||
['error.cmd.options.validVersion']='a valid version number'
|
||||
['error.cmd.options.ceRepositoryVersion']='Docker CE mirror repository version'
|
||||
['error.cmd.options.version']='version number'
|
||||
['error.cmd.options.codename']='version codename'
|
||||
['error.cmd.options.boolean']=' true or false '
|
||||
['error.cmd.options.protocol']=' http or https '
|
||||
['error.cmd.options.needProtocol']=' Web protocol(http/https)'
|
||||
['error.cmd.options.validLangKey']='A valid language ID '
|
||||
['error.cmd.options.langKey']='language ID '
|
||||
['error.unsupportSystem1']='Unsupported operating system ({})'
|
||||
['error.unsupportSystem2']='Unsupported operating system ({}), please install manually with commands:'
|
||||
['error.unknownSystem']='Unknown system'
|
||||
['error.unsupportX86_32']='Docker Engine does not support installation on x86_32 architecture!'
|
||||
['error.unknownArch']='Unknown system architecture: {}'
|
||||
['error.unsupportS390x']='Please refer to RHEL distribution announcement for s390x support'
|
||||
['error.input']='Input error, {}!'
|
||||
['error.needRoot']='Insufficient permissions, please run this script as Root user'
|
||||
['error.sync']='{} failed. Please fix system software sources (package repositories) so the {} package manager is available!'
|
||||
['error.downloadGPG']='GPG key download failed, please check network or switch Docker CE mirror and retry!'
|
||||
['error.queryVersionFailed']='Failed to query Docker Engine version list!'
|
||||
['error.designatedVersion']='Specified Docker Engine version does not exist or is not supported for installation!'
|
||||
['error.invalidVersion']='Please enter a valid version number!'
|
||||
['error.reEnter']='Input error, please re-enter!'
|
||||
['error.installDockerEngineFailed']='Docker Engine installation failed!'
|
||||
['error.installPackageFailed']='Package {} installation failed, please install manually and rerun script!'
|
||||
['error.defaultBehavior.https']='Using HTTPS protocol by default'
|
||||
['error.defaultBehavior.noClose']='Not closing by default'
|
||||
['error.defaultBehavior.installLatest']='Installing latest version by default'
|
||||
['error.defaultBehavior.noOverwrite']='Not overwriting by default'
|
||||
['error.defaultBehavior.noUseIntranetSource']='Not using intranet address by default'
|
||||
['warn.usedCentosBranch']='Currently using centos branch (Red Hat derivative OS installation method), may have unpredictable compatibility issues!'
|
||||
['warn.usedIntranetSource']='Switched to intranet-only address, use only in specific environments!'
|
||||
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
||||
['warn.needInputNumberIndex']='Please enter a number index!'
|
||||
['warn.needManuallyDeleteConfig']='Please manually delete {} configuration in {} and restart service {}'
|
||||
['tip.unsupportRHEL10']='Docker official has not yet supported RHEL 10 and Red Hat has removed Docker from registered repositories, using Podman by default.'
|
||||
['tip.skipInstallDockerEngine']='Detected Docker Engine is already installed with latest version, skipping installation'
|
||||
['info.backuped.dockerConfig']='Original Docker config file has been backed up'
|
||||
['interaction.source.type.public']='Public'
|
||||
['interaction.source.type.intranet']='Intranet'
|
||||
['interaction.source.type.select']='Please select network address (access method) for Docker CE mirror:'
|
||||
['interaction.source.type.usePublicAddress']='Use public network address for Docker CE mirror by default, continue'
|
||||
['interaction.source.dockerCE.select']='Please select the Docker CE mirror you want to use:'
|
||||
['interaction.source.dockerCE.selectAndInput']='Please select and enter the Docker CE mirror you want to use'
|
||||
['interaction.source.dockerRegistry.select']='Please select the Docker Registry mirror you want to use:'
|
||||
['interaction.source.dockerRegistry.selectAndInput']='Please select and enter the Docker Registry mirror you want to use'
|
||||
['interaction.protocol.select']='Please select network protocol for Docker CE mirror:'
|
||||
['interaction.protocol.useHttp']='Use HTTP protocol for Docker CE mirror'
|
||||
['interaction.firewall.close']='Close system firewall and SELinux'
|
||||
['interaction.install.selectVersion']='Please select the version you want to install:'
|
||||
['interaction.install.selectedVersion']='Specified installation version:'
|
||||
['interaction.install.selectedTitle']='Please select the version to install, e.g.: {}'
|
||||
['interaction.install.inputVersion']='Based on the list above, please select and enter the specific version you want to install:'
|
||||
['interaction.install.latestVersion']='Install latest version of Docker Engine'
|
||||
['interaction.backup.skipOverwrite']='Detected existing backup of Docker config file, skip overwriting backup'
|
||||
['interaction.common.tip']='Tip'
|
||||
['interaction.common.operationCanceled']='Operation canceled'
|
||||
['interaction.common.yes']='Yes'
|
||||
['interaction.common.no']='No'
|
||||
['work.installDependents']='Install environment packages'
|
||||
['work.installDockerEngine']='Install Docker Engine'
|
||||
['source.sync.text1']='Update APT package index'
|
||||
['source.sync.text2']='Generate mirror cache'
|
||||
['result.install.failed']='Installation failed'
|
||||
['result.install.checkSourceFile']='Check source file:'
|
||||
['result.install.manuallyExecCmd']='Please try manually executing installation command: {}'
|
||||
['result.install.notRunning']='Detected Docker service startup error, try running this script again'
|
||||
['result.install.manuallyRun']='Please execute {} command to try starting or investigate error cause'
|
||||
['result.registry.success']='Registry mirror replaced successfully'
|
||||
['result.registry.dockerEngineNotExsit']='Docker Engine is not installed yet, please remove {} command option and rerun script!'
|
||||
['commands.help']='Command options(name/meaning/value):
|
||||
|
||||
--source Specify Docker CE mirror address (domain or IP) address
|
||||
--source-registry Specify Docker Registry mirror address (domain or IP) address
|
||||
--branch Specify Docker CE mirror repository (path) repo name
|
||||
--branch-version Specify Docker CE mirror repository version version
|
||||
--designated-version Specify Docker Engine installation version version
|
||||
--codename Specify Debian-based OS codename codename
|
||||
--protocol Specify Web protocol for Docker CE mirror 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
|
||||
--close-firewall Whether to disable the firewall true or false
|
||||
--clean-screen Whether to clear the screen before running true or false
|
||||
--lang Specify the language of the script output language
|
||||
--only-registry Only switch registry mirror mode none
|
||||
--ignore-backup-tips Ignore backup overwrite prompt (do not backup) none
|
||||
--pure-mode Pure mode, minimal output none
|
||||
--help Show help menu none
|
||||
|
||||
Issue Report {}'
|
||||
['mirrors.dockerCE.0']='Alibaba Cloud'
|
||||
['mirrors.dockerCE.1']='Tencent Cloud'
|
||||
['mirrors.dockerCE.2']='Huawei Cloud'
|
||||
['mirrors.dockerCE.3']='NetEase'
|
||||
['mirrors.dockerCE.4']='Volcengine'
|
||||
['mirrors.dockerCE.5']='Microsoft Azure China'
|
||||
['mirrors.dockerCE.6']='Tsinghua University'
|
||||
['mirrors.dockerCE.7']='Peking University'
|
||||
['mirrors.dockerCE.8']='Zhejiang University'
|
||||
['mirrors.dockerCE.9']='Nanjing University'
|
||||
['mirrors.dockerCE.10']='Shanghai Jiao Tong University'
|
||||
['mirrors.dockerCE.11']='Chongqing University of Posts and Telecommunications'
|
||||
['mirrors.dockerCE.12']='University of Science and Technology of China'
|
||||
['mirrors.dockerCE.13']='Institute of Software, Chinese Academy of Sciences'
|
||||
['mirrors.dockerCE.14']='Official Source'
|
||||
['mirrors.registry.0']='Millisecond Mirror (recommended)'
|
||||
['mirrors.registry.1']='Docker Proxy'
|
||||
['mirrors.registry.2']='DaoCloud'
|
||||
['mirrors.registry.3']='1Panel Mirror'
|
||||
['mirrors.registry.4']='Alibaba Cloud (Hangzhou)'
|
||||
['mirrors.registry.5']='Alibaba Cloud (Shanghai)'
|
||||
['mirrors.registry.6']='Alibaba Cloud (Qingdao)'
|
||||
['mirrors.registry.7']='Alibaba Cloud (Beijing)'
|
||||
['mirrors.registry.8']='Alibaba Cloud (Zhangjiakou)'
|
||||
['mirrors.registry.9']='Alibaba Cloud (Hohhot)'
|
||||
['mirrors.registry.10']='Alibaba Cloud (Ulanqab)'
|
||||
['mirrors.registry.11']='Alibaba Cloud (Shenzhen)'
|
||||
['mirrors.registry.12']='Alibaba Cloud (Heyuan)'
|
||||
['mirrors.registry.13']='Alibaba Cloud (Guangzhou)'
|
||||
['mirrors.registry.14']='Alibaba Cloud (Chengdu)'
|
||||
['mirrors.registry.15']='Alibaba Cloud (Hong Kong)'
|
||||
['mirrors.registry.16']='Alibaba Cloud (Japan - Tokyo)'
|
||||
['mirrors.registry.17']='Alibaba Cloud (Singapore)'
|
||||
['mirrors.registry.18']='Alibaba Cloud (Malaysia - Kuala Lumpur)'
|
||||
['mirrors.registry.19']='Alibaba Cloud (Indonesia - Jakarta)'
|
||||
['mirrors.registry.20']='Alibaba Cloud (Germany - Frankfurt)'
|
||||
['mirrors.registry.21']='Alibaba Cloud (UK - London)'
|
||||
['mirrors.registry.22']='Alibaba Cloud (US West - Silicon Valley)'
|
||||
['mirrors.registry.23']='Alibaba Cloud (US East - Virginia)'
|
||||
['mirrors.registry.24']='Alibaba Cloud (UAE - Dubai)'
|
||||
['mirrors.registry.25']='Tencent Cloud'
|
||||
['mirrors.registry.26']='Google Cloud (North America)'
|
||||
['mirrors.registry.27']='Google Cloud (Asia)'
|
||||
['mirrors.registry.28']='Google Cloud (Europe)'
|
||||
['mirrors.registry.29']='Official Docker Hub'
|
||||
)
|
||||
149
locales/docker/zh-hans.sh
Normal file
149
locales/docker/zh-hans.sh
Normal file
@@ -0,0 +1,149 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']='欢迎使用 Docker Engine 安装与换源脚本'
|
||||
['start.runtimeEnv']='运行环境'
|
||||
['start.dateTime']='系统时间'
|
||||
['end.moreInfo']='脚本运行完毕,更多使用教程详见官网'
|
||||
['end.sponsorAds']='【赞助商广告】'
|
||||
['error.cmd.options.needConfirm']='请确认后重新输入'
|
||||
['error.cmd.options.needSpecify']='请在该选项后指定{}'
|
||||
['error.cmd.options.invalid']='命令选项 {} 无效,{}!'
|
||||
['error.cmd.options.validAddress']='有效的地址'
|
||||
['error.cmd.options.sourceAddress']='软件源地址'
|
||||
['error.cmd.options.registryAddress']='镜像仓库地址'
|
||||
['error.cmd.options.sourceRepository']='软件源仓库'
|
||||
['error.cmd.options.validVersion']='有效的版本号'
|
||||
['error.cmd.options.ceRepositoryVersion']='Docker CE 软件源仓库的版本号'
|
||||
['error.cmd.options.version']='版本号'
|
||||
['error.cmd.options.codename']='版本代号'
|
||||
['error.cmd.options.boolean']=' true 或 false '
|
||||
['error.cmd.options.protocol']=' http 或 https '
|
||||
['error.cmd.options.needProtocol']=' Web 协议(http/https)'
|
||||
['error.cmd.options.validLangKey']='有效的语言 ID '
|
||||
['error.cmd.options.langKey']='语言 '
|
||||
['error.unsupportSystem1']='不支持当前操作系统({})'
|
||||
['error.unsupportSystem2']='不支持当前操作系统({}),请参考如下命令自行安装:'
|
||||
['error.unknownSystem']='未知系统'
|
||||
['error.unsupportX86_32']='Docker Engine 不支持安装在 x86_32 架构的环境上!'
|
||||
['error.unknownArch']='未知的系统架构:{}'
|
||||
['error.unsupportS390x']='请查阅 RHEL 发行版声明以了解 s390x 支持'
|
||||
['error.input']='输入错误,{}!'
|
||||
['error.needRoot']='权限不足,请使用 Root 用户运行本脚本'
|
||||
['error.sync']='{}出错,请先解决系统原有软件源错误以确保 {} 软件包管理工具可用!'
|
||||
['error.downloadGPG']='GPG 密钥下载失败,请检查网络或更换 Docker CE 软件源后重试!'
|
||||
['error.queryVersionFailed']='查询 Docker Engine 版本列表失败!'
|
||||
['error.designatedVersion']='指定的 Docker Engine 版本不存在或不支持安装!'
|
||||
['error.invalidVersion']='请输入正确的版本号!'
|
||||
['error.reEnter']='输入错误请重新输入!'
|
||||
['error.installDockerEngineFailed']='安装 Docker Engine 失败!'
|
||||
['error.installPackageFailed']='软件包 {} 安装失败,请自行安装后重新运行脚本!'
|
||||
['error.defaultBehavior.https']='默认使用 HTTPS 协议'
|
||||
['error.defaultBehavior.noClose']='默认不关闭'
|
||||
['error.defaultBehavior.installLatest']='默认安装最新版本'
|
||||
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
||||
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
||||
['warn.usedCentosBranch']='当前采用 centos 分支(红帽衍生操作系统安装方式)进行安装,可能存在某些无法预料的兼容性问题!'
|
||||
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
||||
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
||||
['warn.needInputNumberIndex']='请输入数字序号!'
|
||||
['warn.needManuallyDeleteConfig']='请自行删除 {} 中的 {} 配置并重启服务 {}'
|
||||
['tip.unsupportRHEL10']='Docker 官方尚未支持 RHEL 10 且红帽官方已将 Docker 从注册软件源中移除并默认使用 Podman。'
|
||||
['tip.skipInstallDockerEngine']='检测到系统已安装 Docker Engine 且是最新版本,跳过安装'
|
||||
['info.backuped.dockerConfig']='已备份原有 Docker 配置文件'
|
||||
['interaction.source.type.public']='公网'
|
||||
['interaction.source.type.intranet']='内网'
|
||||
['interaction.source.type.select']='请选择 Docker CE 源的网络地址(访问方式):'
|
||||
['interaction.source.type.usePublicAddress']='默认使用 Docker CE 源的公网地址,是否继续'
|
||||
['interaction.source.dockerCE.select']='请选择你想使用的 Docker CE 源:'
|
||||
['interaction.source.dockerCE.selectAndInput']='请选择并输入你想使用的 Docker CE 源'
|
||||
['interaction.source.dockerRegistry.select']='请选择你想使用的 Docker Registry 源:'
|
||||
['interaction.source.dockerRegistry.selectAndInput']='请选择并输入你想使用的 Docker Registry 源'
|
||||
['interaction.protocol.select']='请选择 Docker CE 软件源的网络协议:'
|
||||
['interaction.protocol.useHttp']='Docker CE 软件源是否使用 HTTP 协议'
|
||||
['interaction.firewall.close']='是否关闭系统防火墙和 SELinux '
|
||||
['interaction.install.selectVersion']='请选择你想安装的版本:'
|
||||
['interaction.install.selectedVersion']='指定安装版本:'
|
||||
['interaction.install.selectedTitle']='请选择你要安装的版本,如:{}'
|
||||
['interaction.install.inputVersion']='请根据上面的列表,选择并输入你想要安装的具体版本号:'
|
||||
['interaction.install.latestVersion']='Docker Engine 是否安装最新版本'
|
||||
['interaction.backup.skipOverwrite']='检测到已备份的 Docker 配置文件,是否跳过覆盖备份'
|
||||
['interaction.common.tip']='提示'
|
||||
['interaction.common.operationCanceled']='操作已取消'
|
||||
['interaction.common.yes']='是'
|
||||
['interaction.common.no']='否'
|
||||
['work.installDependents']='安装环境软件包'
|
||||
['work.installDockerEngine']='安装 Docker Engine'
|
||||
['source.sync.text1']='更新软件源'
|
||||
['source.sync.text2']='生成软件源缓存'
|
||||
['result.install.failed']='安装失败'
|
||||
['result.install.checkSourceFile']='检查源文件:'
|
||||
['result.install.manuallyExecCmd']='请尝试手动执行安装命令:{}'
|
||||
['result.install.notRunning']='检测到 Docker 服务启动异常,可尝试再次执行本脚本重试'
|
||||
['result.install.manuallyRun']='请执行 {} 命令尝试启动或自行查询错误原因'
|
||||
['result.registry.success']='已更换镜像仓库'
|
||||
['result.registry.dockerEngineNotExsit']='当前尚未安装 Docker Engine,请取消设置 {} 命令选项后重新执行脚本!'
|
||||
['commands.help']='命令选项(名称/含义/值):
|
||||
|
||||
--source 指定 Docker CE 软件源地址(域名或IP) 地址
|
||||
--source-registry 指定 Docker 镜像仓库地址(域名或IP) 地址
|
||||
--branch 指定 Docker CE 软件源仓库(路径) 仓库名
|
||||
--branch-version 指定 Docker CE 软件源仓库版本 版本号
|
||||
--designated-version 指定 Docker Engine 安装版本 版本号
|
||||
--codename 指定 Debian 系操作系统的版本代号 代号名称
|
||||
--protocol 指定 Docker CE 软件源的 Web 协议 http 或 https
|
||||
--use-intranet-source 是否优先使用内网 Docker CE 软件源地址 true 或 false
|
||||
--install-latest 是否安装最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否关闭防火墙 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--lang 指定脚本使用的语言 ID 语言
|
||||
--only-registry 仅更换镜像仓库模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--pure-mode 纯净模式,精简打印内容 无
|
||||
--help 查看帮助菜单 无
|
||||
|
||||
问题报告 {}'
|
||||
['mirrors.dockerCE.0']='阿里云'
|
||||
['mirrors.dockerCE.1']='腾讯云'
|
||||
['mirrors.dockerCE.2']='华为云'
|
||||
['mirrors.dockerCE.3']='网易'
|
||||
['mirrors.dockerCE.4']='火山引擎'
|
||||
['mirrors.dockerCE.5']='微软 Azure 中国'
|
||||
['mirrors.dockerCE.6']='清华大学'
|
||||
['mirrors.dockerCE.7']='北京大学'
|
||||
['mirrors.dockerCE.8']='浙江大学'
|
||||
['mirrors.dockerCE.9']='南京大学'
|
||||
['mirrors.dockerCE.10']='上海交通大学'
|
||||
['mirrors.dockerCE.11']='重庆邮电大学'
|
||||
['mirrors.dockerCE.12']='中国科学技术大学'
|
||||
['mirrors.dockerCE.13']='中国科学院软件研究所'
|
||||
['mirrors.dockerCE.14']='官方源'
|
||||
['mirrors.registry.0']='毫秒镜像(推荐)'
|
||||
['mirrors.registry.1']='Docker Proxy'
|
||||
['mirrors.registry.2']='DaoCloud 道客'
|
||||
['mirrors.registry.3']='1Panel 镜像'
|
||||
['mirrors.registry.4']='阿里云(杭州)'
|
||||
['mirrors.registry.5']='阿里云(上海)'
|
||||
['mirrors.registry.6']='阿里云(青岛)'
|
||||
['mirrors.registry.7']='阿里云(北京)'
|
||||
['mirrors.registry.8']='阿里云(张家口)'
|
||||
['mirrors.registry.9']='阿里云(呼和浩特)'
|
||||
['mirrors.registry.10']='阿里云(乌兰察布)'
|
||||
['mirrors.registry.11']='阿里云(深圳)'
|
||||
['mirrors.registry.12']='阿里云(河源)'
|
||||
['mirrors.registry.13']='阿里云(广州)'
|
||||
['mirrors.registry.14']='阿里云(成都)'
|
||||
['mirrors.registry.15']='阿里云(香港)'
|
||||
['mirrors.registry.16']='阿里云(日本-东京)'
|
||||
['mirrors.registry.17']='阿里云(新加坡)'
|
||||
['mirrors.registry.18']='阿里云(马来西亚-吉隆坡)'
|
||||
['mirrors.registry.19']='阿里云(印度尼西亚-雅加达)'
|
||||
['mirrors.registry.20']='阿里云(德国-法兰克福)'
|
||||
['mirrors.registry.21']='阿里云(英国-伦敦)'
|
||||
['mirrors.registry.22']='阿里云(美国西部-硅谷)'
|
||||
['mirrors.registry.23']='阿里云(美国东部-弗吉尼亚)'
|
||||
['mirrors.registry.24']='阿里云(阿联酋-迪拜)'
|
||||
['mirrors.registry.25']='腾讯云'
|
||||
['mirrors.registry.26']='谷歌云(北美)'
|
||||
['mirrors.registry.27']='谷歌云(亚洲)'
|
||||
['mirrors.registry.28']='谷歌云(欧洲)'
|
||||
['mirrors.registry.29']='官方 Docker Hub'
|
||||
)
|
||||
149
locales/docker/zh-hant.sh
Normal file
149
locales/docker/zh-hant.sh
Normal file
@@ -0,0 +1,149 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']='歡迎使用 Docker Engine 安裝與換源腳本'
|
||||
['start.runtimeEnv']='執行環境'
|
||||
['start.dateTime']='系統時間'
|
||||
['end.moreInfo']='腳本執行完畢,更多使用教學詳見官網'
|
||||
['end.sponsorAds']='【贊助商廣告】'
|
||||
['error.cmd.options.needConfirm']='請確認後重新輸入'
|
||||
['error.cmd.options.needSpecify']='請在該選項後指定{}'
|
||||
['error.cmd.options.invalid']='命令選項 {} 無效,{}!'
|
||||
['error.cmd.options.validAddress']='有效的位址'
|
||||
['error.cmd.options.sourceAddress']='軟體源位址'
|
||||
['error.cmd.options.registryAddress']='映象倉庫位址'
|
||||
['error.cmd.options.sourceRepository']='軟體源倉庫'
|
||||
['error.cmd.options.validVersion']='有效的版本號'
|
||||
['error.cmd.options.ceRepositoryVersion']='Docker CE 軟體源倉庫的版本號'
|
||||
['error.cmd.options.version']='版本號'
|
||||
['error.cmd.options.codename']='版本代號'
|
||||
['error.cmd.options.boolean']=' true 或 false '
|
||||
['error.cmd.options.protocol']=' http 或 https '
|
||||
['error.cmd.options.needProtocol']=' Web 協定(http/https)'
|
||||
['error.cmd.options.validLangKey']='有效的語言 ID '
|
||||
['error.cmd.options.langKey']='語言 ID '
|
||||
['error.unsupportSystem1']='不支援當前作業系統({})'
|
||||
['error.unsupportSystem2']='不支援當前作業系統({}),請參考如下命令自行安裝:\n\n{}'
|
||||
['error.unknownSystem']='未知系統'
|
||||
['error.unsupportX86_32']='Docker Engine 不支援安裝在 x86_32 架構的環境上!'
|
||||
['error.unknownArch']='未知的系統架構:{}'
|
||||
['error.unsupportS390x']='請查閱 RHEL 發行版宣告以瞭解 s390x 支援'
|
||||
['error.input']='輸入錯誤,{}!'
|
||||
['error.needRoot']='權限不足,請使用 Root 使用者執行本腳本'
|
||||
['error.sync']='{}出錯,請先解決系統原有軟體源錯誤以確保 {} 軟體包管理工具可用!'
|
||||
['error.downloadGPG']='GPG 金鑰下載失敗,請檢查網路或更換 Docker CE 軟體源後重試!'
|
||||
['error.queryVersionFailed']='查詢 Docker Engine 版本清單失敗!'
|
||||
['error.designatedVersion']='指定的 Docker Engine 版本不存在或不支援安裝!'
|
||||
['error.invalidVersion']='請輸入正確的版本號!'
|
||||
['error.reEnter']='輸入錯誤請重新輸入!'
|
||||
['error.installDockerEngineFailed']='安裝 Docker Engine 失敗!'
|
||||
['error.installPackageFailed']='軟體包 {} 安裝失敗,請自行安裝後重新執行腳本!'
|
||||
['error.defaultBehavior.https']='預設使用 HTTPS 協定'
|
||||
['error.defaultBehavior.noClose']='預設不關閉'
|
||||
['error.defaultBehavior.installLatest']='預設安裝最新版本'
|
||||
['error.defaultBehavior.noOverwrite']='預設不覆寫'
|
||||
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網位址'
|
||||
['warn.usedCentosBranch']='目前採用 centos 分支(紅帽衍生系統安裝方式)進行安裝,可能存在某些無法預料的相容性問題!'
|
||||
['warn.usedIntranetSource']='已切換至內網專用位址,僅限在特定環境下使用!'
|
||||
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
||||
['warn.needInputNumberIndex']='請輸入數字序號!'
|
||||
['warn.needManuallyDeleteConfig']='請自行刪除 {} 中的 {} 設定並重新啟動服務 {}'
|
||||
['tip.unsupportRHEL10']='Docker 官方尚未支援 RHEL 10 且紅帽官方已將 Docker 從註冊軟體源中移除並預設使用 Podman。'
|
||||
['tip.skipInstallDockerEngine']='偵測到系統已安裝 Docker Engine 且是最新版本,跳過安裝'
|
||||
['info.backuped.dockerConfig']='已備份原有 Docker 設定檔'
|
||||
['interaction.source.type.public']='公網'
|
||||
['interaction.source.type.intranet']='內網'
|
||||
['interaction.source.type.select']='請選擇 Docker CE 源的網路位址(存取方式):'
|
||||
['interaction.source.type.usePublicAddress']='預設使用 Docker CE 源的公網位址,是否繼續'
|
||||
['interaction.source.dockerCE.select']='請選擇你想使用的 Docker CE 源:'
|
||||
['interaction.source.dockerCE.selectAndInput']='請選擇並輸入你想使用的 Docker CE 源'
|
||||
['interaction.source.dockerRegistry.select']='請選擇你想使用的 Docker Registry 源:'
|
||||
['interaction.source.dockerRegistry.selectAndInput']='請選擇並輸入你想使用的 Docker Registry 源'
|
||||
['interaction.protocol.select']='請選擇 Docker CE 軟體源的網路協定:'
|
||||
['interaction.protocol.useHttp']='Docker CE 軟體源是否使用 HTTP 協定'
|
||||
['interaction.firewall.close']='是否關閉系統防火牆和 SELinux '
|
||||
['interaction.install.selectVersion']='請選擇你想安裝的版本:'
|
||||
['interaction.install.selectedVersion']='指定安裝版本:'
|
||||
['interaction.install.selectedTitle']='請選擇你要安裝的版本,如:{}'
|
||||
['interaction.install.inputVersion']='請根據上面的清單,選擇並輸入你想要安裝的具體版本號:'
|
||||
['interaction.install.latestVersion']='Docker Engine 是否安裝最新版本'
|
||||
['interaction.backup.skipOverwrite']='偵測到已備份的 Docker 設定檔,是否跳過覆寫備份'
|
||||
['interaction.common.tip']='提示'
|
||||
['interaction.common.operationCanceled']='操作已取消'
|
||||
['interaction.common.yes']='是'
|
||||
['interaction.common.no']='否'
|
||||
['work.installDependents']='安裝環境軟體包'
|
||||
['work.installDockerEngine']='安裝 Docker Engine'
|
||||
['source.sync.text1']='更新軟體源'
|
||||
['source.sync.text2']='產生軟體源快取'
|
||||
['result.install.failed']='安裝失敗'
|
||||
['result.install.checkSourceFile']='檢查源檔案:'
|
||||
['result.install.manuallyExecCmd']='請嘗試手動執行安裝命令:{}'
|
||||
['result.install.notRunning']='偵測到 Docker 服務啟動異常,可嘗試再次執行本腳本重試'
|
||||
['result.install.manuallyRun']='請執行 {} 命令嘗試啟動或自行查詢錯誤原因'
|
||||
['result.registry.success']='已更換映象倉庫'
|
||||
['result.registry.dockerEngineNotExsit']='目前尚未安裝 Docker Engine,請取消設定 {} 命令選項後重新執行腳本!'
|
||||
['commands.help']='命令選項(名稱/含義/值):
|
||||
|
||||
--source 指定 Docker CE 軟體源位址(網域名稱或IP) 位址
|
||||
--source-registry 指定 Docker 映像倉庫位址 (網域名稱或IP) 位址
|
||||
--branch 指定 Docker CE 軟體源倉庫 (路徑) 倉庫名稱
|
||||
--branch-version 指定 Docker CE 軟體源倉庫版本 版本號
|
||||
--designated-version 指定 Docker Engine 安裝版本 版本號
|
||||
--codename 指定 Debian 係作業系統的版本代號 代號名稱
|
||||
--protocol 指定 Docker CE 源的 Web 協定 http 或 https
|
||||
--use-intranet-source 是否優先使用內部網路 Docker CE 軟體源位址 true 或 false
|
||||
--install-latest 是否安裝最新版本的 Docker Engine true 或 false
|
||||
--close-firewall 是否關閉防火牆 true 或 false
|
||||
--clean-screen 是否在運行前清除螢幕上的所有內容 true 或 false
|
||||
--lang 指定腳本輸出的語言 语言
|
||||
--only-registry 僅更換映像倉庫模式 無
|
||||
--ignore-backup-tips 忽略覆蓋備份提示 無
|
||||
--pure-mode 純淨模式,精簡列印內容 無
|
||||
--help 查看幫助選單 無
|
||||
|
||||
問題報告 {}'
|
||||
['mirrors.dockerCE.0']='阿里雲'
|
||||
['mirrors.dockerCE.1']='騰訊雲'
|
||||
['mirrors.dockerCE.2']='華為雲'
|
||||
['mirrors.dockerCE.3']='網易'
|
||||
['mirrors.dockerCE.4']='火山引擎'
|
||||
['mirrors.dockerCE.5']='微軟 Azure 中國'
|
||||
['mirrors.dockerCE.6']='清華大學'
|
||||
['mirrors.dockerCE.7']='北京大學'
|
||||
['mirrors.dockerCE.8']='浙江大學'
|
||||
['mirrors.dockerCE.9']='南京大學'
|
||||
['mirrors.dockerCE.10']='上海交通大學'
|
||||
['mirrors.dockerCE.11']='重慶郵電大學'
|
||||
['mirrors.dockerCE.12']='中國科學技術大學'
|
||||
['mirrors.dockerCE.13']='中國科學院軟體研究所'
|
||||
['mirrors.dockerCE.14']='官方源'
|
||||
['mirrors.registry.0']='毫秒鏡像(推薦)'
|
||||
['mirrors.registry.1']='Docker Proxy'
|
||||
['mirrors.registry.2']='DaoCloud 道客'
|
||||
['mirrors.registry.3']='1Panel 鏡像'
|
||||
['mirrors.registry.4']='阿里雲(杭州)'
|
||||
['mirrors.registry.5']='阿里雲(上海)'
|
||||
['mirrors.registry.6']='阿里雲(青島)'
|
||||
['mirrors.registry.7']='阿里雲(北京)'
|
||||
['mirrors.registry.8']='阿里雲(張家口)'
|
||||
['mirrors.registry.9']='阿里雲(呼和浩特)'
|
||||
['mirrors.registry.10']='阿里雲(烏蘭察布)'
|
||||
['mirrors.registry.11']='阿里雲(深圳)'
|
||||
['mirrors.registry.12']='阿里雲(河源)'
|
||||
['mirrors.registry.13']='阿里雲(廣州)'
|
||||
['mirrors.registry.14']='阿里雲(成都)'
|
||||
['mirrors.registry.15']='阿里雲(香港)'
|
||||
['mirrors.registry.16']='阿里雲(日本-東京)'
|
||||
['mirrors.registry.17']='阿里雲(新加坡)'
|
||||
['mirrors.registry.18']='阿里雲(馬來西亞-吉隆坡)'
|
||||
['mirrors.registry.19']='阿里雲(印度尼西亞-雅加達)'
|
||||
['mirrors.registry.20']='阿里雲(德國-法蘭克福)'
|
||||
['mirrors.registry.21']='阿里雲(英國-倫敦)'
|
||||
['mirrors.registry.22']='阿里雲(美國西部-矽谷)'
|
||||
['mirrors.registry.23']='阿里雲(美國東部-弗吉尼亞)'
|
||||
['mirrors.registry.24']='阿里雲(阿聯酋-迪拜)'
|
||||
['mirrors.registry.25']='騰訊雲'
|
||||
['mirrors.registry.26']='谷歌雲(北美)'
|
||||
['mirrors.registry.27']='谷歌雲(亞洲)'
|
||||
['mirrors.registry.28']='谷歌雲(歐洲)'
|
||||
['mirrors.registry.29']='官方 Docker Hub'
|
||||
)
|
||||
225
locales/linux/en.sh
Normal file
225
locales/linux/en.sh
Normal file
@@ -0,0 +1,225 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']=' GNU/Linux mirror switching script'
|
||||
['start.runtimeEnv']='Runtime Env'
|
||||
['start.dateTime']='System Time'
|
||||
['end.moreInfo']='Script execution completed, visit our website for more tutorials'
|
||||
['end.sponsorAds']='[Sponsor Ads]'
|
||||
['error.cmd.options.needConfirm']='Please confirm and re-enter'
|
||||
['error.cmd.options.needSpecify']='Please specify {} after this option'
|
||||
['error.cmd.options.invalid']='Command option {} is invalid, {}!'
|
||||
['error.cmd.options.validAddress']='a valid address'
|
||||
['error.cmd.options.sourceAddress']='mirror address'
|
||||
['error.cmd.options.sourceRepository']='mirror repository'
|
||||
['error.cmd.options.codename']='version codename'
|
||||
['error.cmd.options.boolean']=' true or false '
|
||||
['error.cmd.options.protocol']=' http or https '
|
||||
['error.cmd.options.needProtocol']=' Web protocol(http/https)'
|
||||
['error.cmd.options.validLangKey']='A valid language ID '
|
||||
['error.cmd.options.langKey']='language ID '
|
||||
['error.cmd.options.unsupportTwoSourceMode']='Two mirror modes cannot be used at the same time. Please retry!'
|
||||
['error.cmd.options.unsupportCodename']='The current system does not support specifying a codename. Please retry!'
|
||||
['error.cmd.options.unsupportEPEL']='The current system cannot install the EPEL add-on package. Please retry!'
|
||||
['error.unsupportSystem']='The operating system ({}) is not supported. Check the supported list on the website!'
|
||||
['error.unsupportVersion']='The current system version is not supported'
|
||||
['error.unknownSystem']='Unknown system'
|
||||
['error.unknownVersion']='System version unknown'
|
||||
['error.input']='Input error, {}!'
|
||||
['error.needRoot']='Insufficient permissions, please run this script as Root user'
|
||||
['error.defaultBehavior.https']='HTTPS is used by default'
|
||||
['error.defaultBehavior.noReplace']='No replacement by default'
|
||||
['error.defaultBehavior.noOverwrite']='No overwrite by default'
|
||||
['error.defaultBehavior.noUpdate']='No update by default'
|
||||
['error.defaultBehavior.noClean']='No cleanup by default'
|
||||
['error.defaultBehavior.noUseIntranetSource']='Intranet mirrors are disabled by default'
|
||||
['warn.usedIntranetSource']='Switched to an intranet-only mirror. Use only in the intended environment!'
|
||||
['warn.unstableDebian']='Detected system version {} which may cause unpredictable issues.'
|
||||
['warn.EPEL7']='Extra Packages for Enterprise Linux 7 reached end-of-life and was moved to the archive!'
|
||||
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
||||
['warn.needInputNumberIndex']='Please enter a number index!'
|
||||
['info.backuped.sourceFile']='Backed up existing {} source file'
|
||||
['tip.EPEL7']="Some mirrors don't sync that archive. If errors occur, verify the target mirror provides it."
|
||||
['interaction.source.type.public']='Public'
|
||||
['interaction.source.type.intranet']='Intranet'
|
||||
['interaction.source.type.select']='Please select network address (access method) for mirror:'
|
||||
['interaction.source.type.usePublicAddress']='Use public network address for mirror by default, continue'
|
||||
['interaction.source.select']='Please select the mirror you want to use:'
|
||||
['interaction.source.selectAndInput']='Please select and enter the mirror you want to use'
|
||||
['interaction.protocol.select']='Please select network protocol for mirror:'
|
||||
['interaction.protocol.useHttp']='Use HTTP protocol for mirror'
|
||||
['interaction.epel.skipReplace']='EPEL already installed. Replace/overwrite mirror'
|
||||
['interaction.epel.install']='Install EPEL add-on package'
|
||||
['interaction.backup.skipOverwrite.sourceFile']='A backup of {} already exists. Skip overwriting'
|
||||
['interaction.upgrade.skip']='Skip upgrading packages'
|
||||
['interaction.cache.autoClean']='Clean download cache after upgrading packages'
|
||||
['interaction.common.tip']='Tip'
|
||||
['interaction.common.operationCanceled']='Operation canceled'
|
||||
['interaction.common.yes']='Yes'
|
||||
['interaction.common.no']='No'
|
||||
['work.upgradeSoftware']='Upgrading packages'
|
||||
['work.installEPELPackage']='Installing epel-release package...'
|
||||
['source.sync.text1']='Update APT package index'
|
||||
['source.sync.text2']='Generate mirror cache'
|
||||
['source.sync.text3']='Refreshing mirrors'
|
||||
['source.sync.text4']='Synchronizing mirrors'
|
||||
['source.sync.text5']='Updating binary cache and channels'
|
||||
['source.comment.disabledSourceCode']='Source code mirrors are disabled by default for speed. Uncomment to enable'
|
||||
['source.comment.securitySource']='Security updates'
|
||||
['source.comment.proposedSource']='Proposed repository (not recommended)'
|
||||
['source.changeResult.success']='Mirror switching complete'
|
||||
['source.changeResult.fail']='Mirror switching complete, but {} failed'
|
||||
['source.changeResult.tipTitle']='Run the script again with the same mirror. If {} still fails, consider:'
|
||||
['source.changeResult.tip1']='Connectivity issues: unstable network, blocked access, or mirror-side firewall rules'
|
||||
['source.changeResult.tip2']='Mirror issues: test the mirror manually at {}'
|
||||
['source.changeResult.tip2.1']='If a file is missing, the mirror might still be syncing'
|
||||
['source.changeResult.tip2.2']='If a path is missing, the mirror may not provide this system repository'
|
||||
['source.changeResult.tip2.3']='Try another mirror. Syncing mirrors may temporarily serve broken content'
|
||||
['source.changeResult.tip3']='Original mirrors failing: fix unrelated mirror errors and rerun the script'
|
||||
['commands.help']='Command options(name/meaning/value):
|
||||
|
||||
--abroad Use overseas mirrors none
|
||||
--edu Use China education network mirrors none
|
||||
--source Specify mirror address (domain or IP) address
|
||||
--source-epel Specify EPEL repository address (domain or IP) address
|
||||
--source-security Specify Debian/Ubuntu security repo address (domain or IP) address
|
||||
--source-vault Specify CentOS/AlmaLinux vault repo address (domain or IP) address
|
||||
--source-portage Specify Gentoo portage repo address (domain or IP) address
|
||||
--source-base-system Specify Linux Mint/Raspberry Pi OS base system repo address (domain or IP) address
|
||||
--branch Specify mirror repository (repo name) repo name
|
||||
--branch-epel Specify EPEL repository (path) repo name
|
||||
--branch-security Specify Debian security repo (path) repo name
|
||||
--branch-vault Specify CentOS/AlmaLinux vault repo (path) repo name
|
||||
--branch-portage Specify Gentoo portage repo (path) repo name
|
||||
--branch-base-system Specify Linux Mint/Raspberry Pi OS base system repo (path) repo name
|
||||
--codename Specify Debian/openKylin codename codename
|
||||
--protocol Specify web protocol http or https
|
||||
--use-intranet-source Prefer intranet mirror address true or false
|
||||
--use-official-source Use official mirror of target OS true or false
|
||||
--use-official-source-epel Use official EPEL repo true or false
|
||||
--install-epel Install EPEL repository true or false
|
||||
--backup Backup original mirrors true or false
|
||||
--upgrade-software Upgrade packages true or false
|
||||
--clean-cache Clean cache after upgrade true or false
|
||||
--clean-screen Clear screen before running true or false
|
||||
--lang Specify the language of the script output language
|
||||
--only-epel Only switch EPEL repo none
|
||||
--ignore-backup-tips Ignore backup overwrite prompt none
|
||||
--print-diff Print diff before and after modification none
|
||||
--pure-mode Pure mode, minimal output none
|
||||
--help Show help menu none
|
||||
|
||||
Issue Report {}'
|
||||
['mirrors.default.0']='Alibaba Cloud'
|
||||
['mirrors.default.1']='Tencent Cloud'
|
||||
['mirrors.default.2']='Huawei Cloud'
|
||||
['mirrors.default.3']='NetEase'
|
||||
['mirrors.default.4']='Volcengine'
|
||||
['mirrors.default.5']='Tsinghua University'
|
||||
['mirrors.default.6']='Peking University'
|
||||
['mirrors.default.7']='Zhejiang University'
|
||||
['mirrors.default.8']='Nanjing University'
|
||||
['mirrors.default.9']='Lanzhou University'
|
||||
['mirrors.default.10']='Shanghai Jiao Tong University'
|
||||
['mirrors.default.11']='CQUPT'
|
||||
['mirrors.default.12']='USTC'
|
||||
['mirrors.default.13']='ISCAS'
|
||||
['mirrors.default.14']='Official Source'
|
||||
['mirrors.edu.0']='Peking University'
|
||||
['mirrors.edu.1']='Beijing Jiaotong University'
|
||||
['mirrors.edu.2']='Beijing Foreign Studies University'
|
||||
['mirrors.edu.3']='Beijing University of Posts and Telecommunications'
|
||||
['mirrors.edu.4']='Chongqing University'
|
||||
['mirrors.edu.5']='Chongqing University of Posts and Telecommunications'
|
||||
['mirrors.edu.6']='Dalian Neusoft University of Information'
|
||||
['mirrors.edu.7']='University of Electronic Science and Technology of China'
|
||||
['mirrors.edu.8']='South China Agricultural University'
|
||||
['mirrors.edu.9']='Huazhong University of Science and Technology'
|
||||
['mirrors.edu.10']='Jilin University'
|
||||
['mirrors.edu.11']='Jingchu University of Technology'
|
||||
['mirrors.edu.12']='Jiangxi University of Science and Technology'
|
||||
['mirrors.edu.13']='Lanzhou University'
|
||||
['mirrors.edu.14']='Nanjing University'
|
||||
['mirrors.edu.15']='Nanjing Tech University'
|
||||
['mirrors.edu.16']='Nanjing University of Posts and Telecommunications'
|
||||
['mirrors.edu.17']='Southern University of Science and Technology'
|
||||
['mirrors.edu.18']='Nanyang Institute of Technology'
|
||||
['mirrors.edu.19']='Qilu University of Technology'
|
||||
['mirrors.edu.20']='Tsinghua University'
|
||||
['mirrors.edu.21']='Shandong University'
|
||||
['mirrors.edu.22']='ShanghaiTech University'
|
||||
['mirrors.edu.23']='Shanghai Jiao Tong University (Siyuan)'
|
||||
['mirrors.edu.24']='Shanghai Jiao Tong University (Zhiyuan)'
|
||||
['mirrors.edu.25']='Wuchang Shouyi University'
|
||||
['mirrors.edu.26']="Xi'an Jiaotong University"
|
||||
['mirrors.edu.27']='Northwest A&F University'
|
||||
['mirrors.edu.28']='Zhejiang University'
|
||||
['mirrors.edu.29']='University of Science and Technology of China'
|
||||
['mirrors.edu.30']='Official Source'
|
||||
['mirrors.abroad.0']='AS · xTom · Hong Kong'
|
||||
['mirrors.abroad.1']='AS · 01Link · Hong Kong'
|
||||
['mirrors.abroad.2']='AS · National University of Singapore (NUS) · Singapore'
|
||||
['mirrors.abroad.3']='AS · SG.GS · Singapore'
|
||||
['mirrors.abroad.4']='AS · xTom · Singapore'
|
||||
['mirrors.abroad.5']='AS · NCHC Free Software Lab · Taiwan'
|
||||
['mirrors.abroad.6']='AS · OSS Planet · Taiwan'
|
||||
['mirrors.abroad.7']='AS · National Yang Ming Chiao Tung University · Taiwan'
|
||||
['mirrors.abroad.8']='AS · Tamkang University · Taiwan'
|
||||
['mirrors.abroad.9']='AS · AniGil Linux Archive · Korea'
|
||||
['mirrors.abroad.10']='AS · ICSCoE (Industrial Cyber Security Center of Excellence) · Japan'
|
||||
['mirrors.abroad.11']='AS · JAIST (Japan Advanced Institute of Science and Technology) · Japan'
|
||||
['mirrors.abroad.12']='AS · Yamagata University · Japan'
|
||||
['mirrors.abroad.13']='AS · xTom · Japan'
|
||||
['mirrors.abroad.14']='AS · GB Network Solutions · Malaysia'
|
||||
['mirrors.abroad.15']='AS · Khon Kaen University · Thailand'
|
||||
['mirrors.abroad.16']='EU · Vorboss Ltd · UK'
|
||||
['mirrors.abroad.17']='EU · QuickHost · UK'
|
||||
['mirrors.abroad.18']='EU · dogado · Germany'
|
||||
['mirrors.abroad.19']='EU · xTom · Germany'
|
||||
['mirrors.abroad.20']='EU · RWTH Aachen University · Germany'
|
||||
['mirrors.abroad.21']='EU · Dresden University (AG DSN) · Germany'
|
||||
['mirrors.abroad.22']='EU · CCIN2P3 · France'
|
||||
['mirrors.abroad.23']='EU · Ircam · France'
|
||||
['mirrors.abroad.24']='EU · Crans · France'
|
||||
['mirrors.abroad.25']='EU · CRIHAN · France'
|
||||
['mirrors.abroad.26']='EU · xTom · Netherlands'
|
||||
['mirrors.abroad.27']='EU · DataPacket · Netherlands'
|
||||
['mirrors.abroad.28']='EU · Linux Kernel · Netherlands'
|
||||
['mirrors.abroad.29']='EU · xTom · Estonia'
|
||||
['mirrors.abroad.30']='EU · netsite · Denmark'
|
||||
['mirrors.abroad.31']='EU · Dotsrc · Denmark'
|
||||
['mirrors.abroad.32']='EU · Academic Computer Club · Sweden'
|
||||
['mirrors.abroad.33']='EU · Lysator · Sweden'
|
||||
['mirrors.abroad.34']='EU · Yandex · Russia'
|
||||
['mirrors.abroad.35']='EU · ia64 · Russia'
|
||||
['mirrors.abroad.36']='EU · Truenetwork · Russia'
|
||||
['mirrors.abroad.37']='EU · Belgian Research Network · Belgium'
|
||||
['mirrors.abroad.38']='EU · University of Crete Computer Center · Greece'
|
||||
['mirrors.abroad.39']='EU · Masaryk University Faculty of Informatics · Czech Republic'
|
||||
['mirrors.abroad.40']='EU · Czech Technical University Student Club (Silicon Hill) · Czech Republic'
|
||||
['mirrors.abroad.41']='EU · Vodafone · Czech Republic'
|
||||
['mirrors.abroad.42']='EU · CZ.NIC · Czech Republic'
|
||||
['mirrors.abroad.43']='EU · ETH Zurich · Switzerland'
|
||||
['mirrors.abroad.44']='NA · Linux Kernel · USA'
|
||||
['mirrors.abroad.45']='NA · MIT · USA'
|
||||
['mirrors.abroad.46']='NA · Princeton University Department of Mathematics · USA'
|
||||
['mirrors.abroad.47']='NA · Oregon State University Open Source Lab · USA'
|
||||
['mirrors.abroad.48']='NA · Fremont Cabal Internet Exchange(FCIX) · USA'
|
||||
['mirrors.abroad.49']='NA · xTom · USA'
|
||||
['mirrors.abroad.50']='NA · Steadfast · USA'
|
||||
['mirrors.abroad.51']='NA · University of British Columbia · Canada'
|
||||
['mirrors.abroad.52']='NA · GoCodeIT · Canada'
|
||||
['mirrors.abroad.53']='NA · Switch · Canada'
|
||||
['mirrors.abroad.54']='SA · PoP-SC · Brazil'
|
||||
['mirrors.abroad.55']='SA · State University of Ponta Grossa · Brazil'
|
||||
['mirrors.abroad.56']='SA · UFSCar · Brazil'
|
||||
['mirrors.abroad.57']='SA · Sysarmy Community · Argentina'
|
||||
['mirrors.abroad.58']='OC · Fremont Cabal Internet Exchange(FCIX) · Australia'
|
||||
['mirrors.abroad.59']='OC · AARNet · Australia'
|
||||
['mirrors.abroad.60']='OC · DataMossa · Australia'
|
||||
['mirrors.abroad.61']='OC · Amaze · Australia'
|
||||
['mirrors.abroad.62']='OC · xTom · Australia'
|
||||
['mirrors.abroad.63']='OC · Over the Wire · Australia'
|
||||
['mirrors.abroad.64']='OC · Free Software Mirror Group · New Zealand'
|
||||
['mirrors.abroad.65']='AF · Liquid Telecom · Kenya'
|
||||
['mirrors.abroad.66']='AF · Dimension Data · South Africa'
|
||||
['mirrors.abroad.67']='Official Source'
|
||||
)
|
||||
225
locales/linux/zh-hans.sh
Normal file
225
locales/linux/zh-hans.sh
Normal file
@@ -0,0 +1,225 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']='欢迎使用 GNU/Linux 更换系统软件源脚本'
|
||||
['start.runtimeEnv']='运行环境'
|
||||
['start.dateTime']='系统时间'
|
||||
['end.moreInfo']='脚本运行完毕,更多使用教程详见官网'
|
||||
['end.sponsorAds']='【赞助商广告】'
|
||||
['error.cmd.options.needConfirm']='请确认后重新输入'
|
||||
['error.cmd.options.needSpecify']='请在该选项后指定{}'
|
||||
['error.cmd.options.invalid']='命令选项 {} 无效,{}!'
|
||||
['error.cmd.options.validAddress']='有效的地址'
|
||||
['error.cmd.options.sourceAddress']='软件源地址'
|
||||
['error.cmd.options.sourceRepository']='软件源仓库'
|
||||
['error.cmd.options.codename']='版本代号'
|
||||
['error.cmd.options.boolean']=' true 或 false '
|
||||
['error.cmd.options.protocol']=' http 或 https '
|
||||
['error.cmd.options.needProtocol']=' Web 协议(http/https)'
|
||||
['error.cmd.options.validLangKey']='有效的语言 ID '
|
||||
['error.cmd.options.langKey']='语言 '
|
||||
['error.cmd.options.unsupportTwoSourceMode']='不可同时使用两种软件源模式,请确认后重试!'
|
||||
['error.cmd.options.unsupportCodename']='当前系统不支持使用指定版本代号命令选项,请确认后重试!'
|
||||
['error.cmd.options.unsupportEPEL']='当前系统不支持安装 EPEL 附加软件包,请确认后重试!'
|
||||
['error.unsupportSystem']='不支持当前操作系统({}),请前往官网查看支持列表!'
|
||||
['error.unsupportVersion']='不支持当前系统版本'
|
||||
['error.unknownSystem']='未知系统'
|
||||
['error.unknownVersion']='系统版本未知'
|
||||
['error.input']='输入错误,{}!'
|
||||
['error.needRoot']='权限不足,请使用 Root 用户运行本脚本'
|
||||
['error.defaultBehavior.https']='默认使用 HTTPS 协议'
|
||||
['error.defaultBehavior.noReplace']='默认不更换'
|
||||
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
||||
['error.defaultBehavior.noUpdate']='默认不更新'
|
||||
['error.defaultBehavior.noClean']='默认不清理'
|
||||
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
||||
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
||||
['warn.unstableDebian']='检测到当前系统为 {} 版本,可能会产生一些无法预料的问题。'
|
||||
['warn.EPEL7']='Extra Packages for Enterprise Linux 7 已结束生命周期并被官方移至归档库!'
|
||||
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
||||
['warn.needInputNumberIndex']='请输入数字序号!'
|
||||
['info.backuped.sourceFile']='已备份原有 {} 源文件'
|
||||
['tip.EPEL7']='目前部分镜像站没有同步该归档仓库,若换源后出现错误那么请先检查目标镜像站是否支持该仓库。'
|
||||
['interaction.source.type.public']='公网'
|
||||
['interaction.source.type.intranet']='内网'
|
||||
['interaction.source.type.select']='请选择软件源的网络地址(访问方式):'
|
||||
['interaction.source.type.usePublicAddress']='默认使用软件源的公网地址,是否继续'
|
||||
['interaction.source.select']='请选择你想使用的软件源:'
|
||||
['interaction.source.selectAndInput']='请选择并输入你想使用的软件源'
|
||||
['interaction.protocol.select']='请选择软件源网络协议:'
|
||||
['interaction.protocol.useHttp']='软件源是否使用 HTTP 协议'
|
||||
['interaction.epel.skipReplace']='检测到系统已安装 EPEL 附加软件包,是否替换/覆盖软件源'
|
||||
['interaction.epel.install']='是否安装 EPEL 附加软件包'
|
||||
['interaction.backup.skipOverwrite.sourceFile']='检测到系统存在已备份的 {} 源文件,是否跳过覆盖备份'
|
||||
['interaction.upgrade.skip']='是否跳过更新软件包'
|
||||
['interaction.cache.autoClean']='在更新软件包后,是否自动清理下载缓存'
|
||||
['interaction.common.tip']='提示'
|
||||
['interaction.common.operationCanceled']='操作已取消'
|
||||
['interaction.common.yes']='是'
|
||||
['interaction.common.no']='否'
|
||||
['work.upgradeSoftware']='更新软件包'
|
||||
['work.installEPELPackage']='安装 epel-release 软件包...'
|
||||
['source.sync.text1']='更新软件源'
|
||||
['source.sync.text2']='生成软件源缓存'
|
||||
['source.sync.text3']='刷新软件源'
|
||||
['source.sync.text4']='同步软件源'
|
||||
['source.sync.text5']='更新二进制缓存与频道源'
|
||||
['source.comment.disabledSourceCode']='默认禁用源码镜像以提高更新速度,如需启用请自行取消注释'
|
||||
['source.comment.securitySource']='安全更新软件源'
|
||||
['source.comment.proposedSource']='预发布软件源(不建议启用)'
|
||||
['source.changeResult.success']='软件源更换完毕'
|
||||
['source.changeResult.fail']='软件源更换完毕,但{}失败'
|
||||
['source.changeResult.tipTitle']='请再次执行脚本并更换相同软件源后进行尝试,若仍然{}失败那么可能由以下原因导致:'
|
||||
['source.changeResult.tip1']='网络连通性问题:例如连接异常、由地区影响的网络间歇式中断、禁止外部访问、软件源网站防火墙阻断等'
|
||||
['source.changeResult.tip2']='目标软件源异常:请手动前往软件源(镜像站)地址进行验证:{}'
|
||||
['source.changeResult.tip2.1']='若报错内容是提示某个文件不存在那么有可能是软件源的问题,多常见于正在同步中的软件源仓库'
|
||||
['source.changeResult.tip2.2']='若报错内容是目录(path)不存在也有可能是目标软件源不存在当前系统镜像仓库,即不支持当前系统'
|
||||
['source.changeResult.tip2.3']='建议更换其它镜像站进行尝试,少数情况下软件源若处于同步中状态则可能会出现文件同步错误问题'
|
||||
['source.changeResult.tip3']='原有软件源报错:请先排除系统原有的其它软件源报错,因为脚本不会干预这些无关的软件源配置,解决后重新运行脚本即可'
|
||||
['commands.help']='命令选项(名称/含义/值):
|
||||
|
||||
--abroad 使用境外以及海外软件源 无
|
||||
--edu 使用中国大陆教育网软件源 无
|
||||
--source 指定软件源地址(域名或IP) 地址
|
||||
--source-epel 指定 EPEL 附加软件包仓库的软件源地址(域名或IP) 地址
|
||||
--source-security 指定 Debian / Ubuntu 系统 security 仓库的软件源地址(域名或IP) 地址
|
||||
--source-vault 指定 CentOS / AlmaLinux 系统 vault 仓库的软件源地址(域名或IP) 地址
|
||||
--source-portage 指定 Gentoo 系统 portage 仓库的软件源地址(域名或IP) 地址
|
||||
--source-base-system 指定 Linux Mint / Raspberry Pi OS 底层系统的软件源地址(域名或IP) 地址
|
||||
--branch 指定软件源仓库(路径) 仓库名
|
||||
--branch-epel 指定 EPEL 附加软件包仓库的软件源仓库(路径) 仓库名
|
||||
--branch-security 指定 Debian 系统 security 仓库的软件源仓库(路径) 仓库名
|
||||
--branch-vault 指定 CentOS / AlmaLinux 系统 vault 仓库的软件源仓库(路径) 仓库名
|
||||
--branch-portage 指定 Gentoo 系统 portage 仓库的软件源仓库(路径) 仓库名
|
||||
--branch-base-system 指定 Linux Mint / Raspberry Pi OS 底层系统的软件源仓库(路径) 仓库名
|
||||
--codename 指定 Debian 系 / openKylin 操作系统的版本代号 代号名称
|
||||
--protocol 指定 Web 协议 http 或 https
|
||||
--use-intranet-source 是否优先使用内网软件源地址 true 或 false
|
||||
--use-official-source 是否使用目标操作系统的官方软件源 true 或 false
|
||||
--use-official-source-epel 是否使用 EPEL 附加软件包的官方软件源 true 或 false
|
||||
--install-epel 是否安装 EPEL 附加软件包 true 或 false
|
||||
--backup 是否备份原有软件源 true 或 false
|
||||
--upgrade-software 是否更新软件包 true 或 false
|
||||
--clean-cache 是否在更新软件包后清理下载缓存 true 或 false
|
||||
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
|
||||
--lang 指定脚本输出的语言 语言
|
||||
--only-epel 仅更换 EPEL 软件源模式 无
|
||||
--ignore-backup-tips 忽略覆盖备份提示 无
|
||||
--print-diff 打印源文件修改前后差异 无
|
||||
--pure-mode 纯净模式,精简打印内容 无
|
||||
--help 查看帮助菜单 无
|
||||
|
||||
问题报告 {}'
|
||||
['mirrors.default.0']='阿里云'
|
||||
['mirrors.default.1']='腾讯云'
|
||||
['mirrors.default.2']='华为云'
|
||||
['mirrors.default.3']='网易'
|
||||
['mirrors.default.4']='火山引擎'
|
||||
['mirrors.default.5']='清华大学'
|
||||
['mirrors.default.6']='北京大学'
|
||||
['mirrors.default.7']='浙江大学'
|
||||
['mirrors.default.8']='南京大学'
|
||||
['mirrors.default.9']='兰州大学'
|
||||
['mirrors.default.10']='上海交通大学'
|
||||
['mirrors.default.11']='重庆邮电大学'
|
||||
['mirrors.default.12']='中国科学技术大学'
|
||||
['mirrors.default.13']='中国科学院软件研究所'
|
||||
['mirrors.default.14']='官方源'
|
||||
['mirrors.edu.0']='北京大学'
|
||||
['mirrors.edu.1']='北京交通大学'
|
||||
['mirrors.edu.2']='北京外国语大学'
|
||||
['mirrors.edu.3']='北京邮电大学'
|
||||
['mirrors.edu.4']='重庆大学'
|
||||
['mirrors.edu.5']='重庆邮电大学'
|
||||
['mirrors.edu.6']='大连东软信息学院'
|
||||
['mirrors.edu.7']='电子科技大学'
|
||||
['mirrors.edu.8']='华南农业大学'
|
||||
['mirrors.edu.9']='华中科技大学'
|
||||
['mirrors.edu.10']='吉林大学'
|
||||
['mirrors.edu.11']='荆楚理工学院'
|
||||
['mirrors.edu.12']='江西理工大学'
|
||||
['mirrors.edu.13']='兰州大学'
|
||||
['mirrors.edu.14']='南京大学'
|
||||
['mirrors.edu.15']='南京工业大学'
|
||||
['mirrors.edu.16']='南京邮电大学'
|
||||
['mirrors.edu.17']='南方科技大学'
|
||||
['mirrors.edu.18']='南阳理工学院'
|
||||
['mirrors.edu.19']='齐鲁工业大学'
|
||||
['mirrors.edu.20']='清华大学'
|
||||
['mirrors.edu.21']='山东大学'
|
||||
['mirrors.edu.22']='上海科技大学'
|
||||
['mirrors.edu.23']='上海交通大学(思源)'
|
||||
['mirrors.edu.24']='上海交通大学(致远)'
|
||||
['mirrors.edu.25']='武昌首义学院'
|
||||
['mirrors.edu.26']='西安交通大学'
|
||||
['mirrors.edu.27']='西北农林科技大学'
|
||||
['mirrors.edu.28']='浙江大学'
|
||||
['mirrors.edu.29']='中国科学技术大学'
|
||||
['mirrors.edu.30']='官方源'
|
||||
['mirrors.abroad.0']='亚洲 · xTom · 香港'
|
||||
['mirrors.abroad.1']='亚洲 · 01Link · 香港'
|
||||
['mirrors.abroad.2']='亚洲 · 新加坡国立大学(NUS) · 新加坡'
|
||||
['mirrors.abroad.3']='亚洲 · SG.GS · 新加坡'
|
||||
['mirrors.abroad.4']='亚洲 · xTom · 新加坡'
|
||||
['mirrors.abroad.5']='亚洲 · 自由软件实验室(NCHC) · 台湾'
|
||||
['mirrors.abroad.6']='亚洲 · OSS Planet · 台湾'
|
||||
['mirrors.abroad.7']='亚洲 · 国立阳明交通大学 · 台湾'
|
||||
['mirrors.abroad.8']='亚洲 · 淡江大学 · 台湾'
|
||||
['mirrors.abroad.9']='亚洲 · AniGil Linux Archive · 韩国'
|
||||
['mirrors.abroad.10']='亚洲 · 工业网络安全中心(ICSCoE) · 日本'
|
||||
['mirrors.abroad.11']='亚洲 · 北陆先端科学技术大学院大学(JAIST) · 日本'
|
||||
['mirrors.abroad.12']='亚洲 · 山形大学 · 日本'
|
||||
['mirrors.abroad.13']='亚洲 · xTom · 日本'
|
||||
['mirrors.abroad.14']='亚洲 · GB Network Solutions · 马来西亚'
|
||||
['mirrors.abroad.15']='亚洲 · 孔敬大学 · 泰国'
|
||||
['mirrors.abroad.16']='欧洲 · Vorboss Ltd · 英国'
|
||||
['mirrors.abroad.17']='欧洲 · QuickHost · 英国'
|
||||
['mirrors.abroad.18']='欧洲 · dogado · 德国'
|
||||
['mirrors.abroad.19']='欧洲 · xTom · 德国'
|
||||
['mirrors.abroad.20']='欧洲 · 亚琛工业大学(RWTH Aachen) · 德国'
|
||||
['mirrors.abroad.21']='欧洲 · 德累斯顿大学(AG DSN) · 德国'
|
||||
['mirrors.abroad.22']='欧洲 · CCIN2P3 · 法国'
|
||||
['mirrors.abroad.23']='欧洲 · Ircam · 法国'
|
||||
['mirrors.abroad.24']='欧洲 · Crans · 法国'
|
||||
['mirrors.abroad.25']='欧洲 · CRIHAN · 法国'
|
||||
['mirrors.abroad.26']='欧洲 · xTom · 荷兰'
|
||||
['mirrors.abroad.27']='欧洲 · DataPacket · 荷兰'
|
||||
['mirrors.abroad.28']='欧洲 · Linux Kernel · 荷兰'
|
||||
['mirrors.abroad.29']='欧洲 · xTom · 爱沙尼亚'
|
||||
['mirrors.abroad.30']='欧洲 · netsite · 丹麦'
|
||||
['mirrors.abroad.31']='欧洲 · Dotsrc · 丹麦'
|
||||
['mirrors.abroad.32']='欧洲 · Academic Computer Club · 瑞典'
|
||||
['mirrors.abroad.33']='欧洲 · Lysator · 瑞典'
|
||||
['mirrors.abroad.34']='欧洲 · Yandex · 俄罗斯'
|
||||
['mirrors.abroad.35']='欧洲 · ia64 · 俄罗斯'
|
||||
['mirrors.abroad.36']='欧洲 · Truenetwork · 俄罗斯'
|
||||
['mirrors.abroad.37']='欧洲 · Belgian Research Network · 比利时'
|
||||
['mirrors.abroad.38']='欧洲 · 克里特大学计算机中心 · 希腊'
|
||||
['mirrors.abroad.39']='欧洲 · 马萨里克大学信息学院 · 捷克'
|
||||
['mirrors.abroad.40']='欧洲 · 捷克理工大学学生会俱乐部(Silicon Hill) · 捷克'
|
||||
['mirrors.abroad.41']='欧洲 · Vodafone · 捷克'
|
||||
['mirrors.abroad.42']='欧洲 · CZ.NIC · 捷克'
|
||||
['mirrors.abroad.43']='欧洲 · 苏黎世联邦理工学院 · 瑞士'
|
||||
['mirrors.abroad.44']='北美 · Linux Kernel · 美国'
|
||||
['mirrors.abroad.45']='北美 · 麻省理工学院(MIT) · 美国'
|
||||
['mirrors.abroad.46']='北美 · 普林斯顿大学数学系 · 美国'
|
||||
['mirrors.abroad.47']='北美 · 俄勒冈州立大学开源实验室 · 美国'
|
||||
['mirrors.abroad.48']='北美 · Fremont Cabal Internet Exchange(FCIX) · 美国'
|
||||
['mirrors.abroad.49']='北美 · xTom · 美国'
|
||||
['mirrors.abroad.50']='北美 · Steadfast · 美国'
|
||||
['mirrors.abroad.51']='北美 · 不列颠哥伦比亚大学 · 加拿大'
|
||||
['mirrors.abroad.52']='北美 · GoCodeIT · 加拿大'
|
||||
['mirrors.abroad.53']='北美 · Switch · 加拿大'
|
||||
['mirrors.abroad.54']='南美 · PoP-SC · 巴西'
|
||||
['mirrors.abroad.55']='南美 · 蓬塔格罗萨州立大学 · 巴西'
|
||||
['mirrors.abroad.56']='南美 · UFSCar · 巴西'
|
||||
['mirrors.abroad.57']='南美 · Sysarmy Community · 阿根廷'
|
||||
['mirrors.abroad.58']='大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亚'
|
||||
['mirrors.abroad.59']='大洋 · AARNet · 澳大利亚'
|
||||
['mirrors.abroad.60']='大洋 · DataMossa · 澳大利亚'
|
||||
['mirrors.abroad.61']='大洋 · Amaze · 澳大利亚'
|
||||
['mirrors.abroad.62']='大洋 · xTom · 澳大利亚'
|
||||
['mirrors.abroad.63']='大洋 · Over the Wire · 澳大利亚'
|
||||
['mirrors.abroad.64']='大洋 · Free Software Mirror Group · 新西兰'
|
||||
['mirrors.abroad.65']='非洲 · Liquid Telecom · 肯尼亚'
|
||||
['mirrors.abroad.66']='非洲 · Dimension Data · 南非'
|
||||
['mirrors.abroad.67']='官方源'
|
||||
)
|
||||
226
locales/linux/zh-hant.sh
Normal file
226
locales/linux/zh-hant.sh
Normal file
@@ -0,0 +1,226 @@
|
||||
MESSAGE_CONTENTS=(
|
||||
['start.welcome']='歡迎使用 GNU/Linux 更換系統軟體源腳本'
|
||||
['start.runtimeEnv']='執行環境'
|
||||
['start.dateTime']='系統時間'
|
||||
['end.moreInfo']='腳本執行完畢,更多使用教學詳見官網'
|
||||
['end.sponsorAds']='【贊助商廣告】'
|
||||
['error.cmd.options.needConfirm']='請確認後重新輸入'
|
||||
['error.cmd.options.needSpecify']='請在該選項後指定{}'
|
||||
['error.cmd.options.invalid']='命令選項 {} 無效,{}!'
|
||||
['error.cmd.options.invalid']='命令選項 {} 無效,{}!'
|
||||
['error.cmd.options.validAddress']='有效的地址'
|
||||
['error.cmd.options.sourceAddress']='軟體源地址'
|
||||
['error.cmd.options.sourceRepository']='軟體源倉庫'
|
||||
['error.cmd.options.codename']='版本代號'
|
||||
['error.cmd.options.boolean']=' true 或 false '
|
||||
['error.cmd.options.protocol']=' http 或 https '
|
||||
['error.cmd.options.needProtocol']=' Web 協定(http/https)'
|
||||
['error.cmd.options.validLangKey']='有效的語言 ID '
|
||||
['error.cmd.options.langKey']='語言 ID '
|
||||
['error.cmd.options.unsupportTwoSourceMode']='不可同時使用兩種軟體源模式,請確認後重試!'
|
||||
['error.cmd.options.unsupportCodename']='當前系統不支援使用指定版本代號命令選項,請確認後重試!'
|
||||
['error.cmd.options.unsupportEPEL']='當前系統不支援安裝 EPEL 附加軟體包,請確認後重試!'
|
||||
['error.unsupportSystem']='不支援當前系統({}),請前往官網查看支援清單!'
|
||||
['error.unsupportVersion']='不支援當前系統版本'
|
||||
['error.unknownSystem']='未知系統'
|
||||
['error.unknownVersion']='系統版本未知'
|
||||
['error.input']='輸入錯誤,{}!'
|
||||
['error.needRoot']='權限不足,請使用 Root 使用者執行本腳本'
|
||||
['error.defaultBehavior.https']='預設使用 HTTPS 協定'
|
||||
['error.defaultBehavior.noReplace']='預設不更換'
|
||||
['error.defaultBehavior.noOverwrite']='預設不覆蓋'
|
||||
['error.defaultBehavior.noUpdate']='預設不更新'
|
||||
['error.defaultBehavior.noClean']='預設不清理'
|
||||
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網地址'
|
||||
['warn.usedIntranetSource']='已切換至內網專用地址,僅限在特定環境下使用!'
|
||||
['warn.unstableDebian']='偵測到當前系統為 {} 版本,可能會產生一些無法預料的問題。'
|
||||
['warn.EPEL7']='Extra Packages for Enterprise Linux 7 已結束生命週期並被官方移至封存庫!'
|
||||
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
||||
['warn.needInputNumberIndex']='請輸入數字序號!'
|
||||
['info.backuped.sourceFile']='已備份原有 {} 源檔案'
|
||||
['tip.EPEL7']='目前部分鏡像站尚未同步該封存倉庫,若換源後出現錯誤請先檢查目標鏡像站是否支援該倉庫。'
|
||||
['interaction.source.type.public']='外網'
|
||||
['interaction.source.type.intranet']='內網'
|
||||
['interaction.source.type.select']='請選擇軟體源的網路地址(存取方式):'
|
||||
['interaction.source.type.usePublicAddress']='預設使用軟體源的外網地址,是否繼續'
|
||||
['interaction.source.select']='請選擇你想使用的軟體源:'
|
||||
['interaction.source.selectAndInput']='請選擇並輸入你想使用的軟體源'
|
||||
['interaction.protocol.select']='請選擇軟體源網路協定:'
|
||||
['interaction.protocol.useHttp']='軟體源是否使用 HTTP 协议'
|
||||
['interaction.epel.skipReplace']='偵測到系統已安裝 EPEL 附加軟體包,是否替換/覆蓋軟體源'
|
||||
['interaction.epel.install']='是否安裝 EPEL 附加軟體包'
|
||||
['interaction.backup.skipOverwrite.sourceFile']='偵測到系統存在已備份的 {} 源檔案,是否跳過覆蓋備份'
|
||||
['interaction.upgrade.skip']='是否跳過更新軟體包'
|
||||
['interaction.cache.autoClean']='在更新軟體包後,是否自動清理下載快取'
|
||||
['interaction.common.tip']='提示'
|
||||
['interaction.common.operationCanceled']='操作已取消'
|
||||
['interaction.common.yes']='是'
|
||||
['interaction.common.no']='否'
|
||||
['work.upgradeSoftware']='更新軟體包'
|
||||
['work.installEPELPackage']='正在安裝 epel-release 套件...'
|
||||
['source.sync.text1']='更新軟體源'
|
||||
['source.sync.text2']='產生軟體源快取'
|
||||
['source.sync.text3']='重新整理軟體源'
|
||||
['source.sync.text4']='同步軟體源'
|
||||
['source.sync.text5']='更新二進位快取與頻道來源'
|
||||
['source.comment.disabledSourceCode']='預設停用原始碼鏡像以提升更新速度,如需啟用請自行取消註解'
|
||||
['source.comment.securitySource']='安全更新軟體源'
|
||||
['source.comment.proposedSource']='預發布軟體源(不建議啟用)'
|
||||
['source.changeResult.success']='軟體源更換完畢'
|
||||
['source.changeResult.fail']='軟體源更換完畢,但{}失敗'
|
||||
['source.changeResult.tipTitle']='請再次執行腳本並更換相同軟體源後重試,若仍然{}失敗則可能由下列原因造成:'
|
||||
['source.changeResult.tip1']='網路連通性問題:例如連線異常、地域因素造成的網路間歇中斷、禁止外部存取、軟體源站台防火牆阻斷等'
|
||||
['source.changeResult.tip2']='目標軟體源異常:請手動前往軟體源(鏡像站)地址進行驗證:{}'
|
||||
['source.changeResult.tip2.1']='若錯誤內容是提示某個檔案不存在,可能是軟體源的問題,常見於鏡像站同步期間'
|
||||
['source.changeResult.tip2.2']='若錯誤內容是目錄不存在,也可能代表目標軟體源不含當前系統的鏡像倉庫,即不支援當前系統'
|
||||
['source.changeResult.tip2.3']='建議更換其他鏡像站再試,少數情況下軟體源若處於同步中狀態則可能會出現檔案同步錯誤'
|
||||
['source.changeResult.tip3']='原有軟體源報錯:請先排除系統其他軟體源的錯誤,因為腳本不會處理無關的軟體源配置,解決後重新執行腳本即可'
|
||||
['commands.help']='命令選項(名稱/含義/值):
|
||||
|
||||
--abroad 使用境外以及海外軟體源 無
|
||||
--edu 使用中國大陸教育網軟體源 無
|
||||
--source 指定軟體源地址(網域名稱或IP) 位址
|
||||
--source-epel 指定 EPEL 附加軟體包倉庫的軟體源地址(網域名稱或IP) 位址
|
||||
--source-security 指定 Debian / Ubuntu 系統 security 倉庫的軟體源地址(網域名稱或IP) 位址
|
||||
--source-vault 指定 CentOS / AlmaLinux 系統 vault 倉庫的軟體源地址(網域名稱或IP) 位址
|
||||
--source-portage 指定 Gentoo 系統 portage 倉庫的軟體源地址(網域名稱或IP) 位址
|
||||
--source-base-system 指定 Linux Mint / Raspberry Pi OS 底層系統的軟體源地址(網域名稱或IP) 位址
|
||||
--branch 指定軟體源倉庫(路徑) 倉庫名稱
|
||||
--branch-epel 指定 EPEL 附加軟體包倉庫的軟體源倉庫(路徑) 倉庫名稱
|
||||
--branch-security 指定 Debian 系統 security 倉庫的軟體源倉庫(路徑) 倉庫名稱
|
||||
--branch-vault 指定 CentOS / AlmaLinux 系統 vault 倉庫的軟體源倉庫(路徑) 倉庫名稱
|
||||
--branch-portage 指定 Gentoo 系統 portage 倉庫的軟體源倉庫(路徑) 倉庫名稱
|
||||
--branch-base-system 指定 Linux Mint / Raspberry Pi OS 底層系統的軟體源倉庫(路徑) 倉庫名稱
|
||||
--codename 指定 Debian 系 / openKylin 系統的版本代號 代號名稱
|
||||
--protocol 指定 Web 協定 http 或 https
|
||||
--use-intranet-source 是否優先使用內部網路軟體源位址 true 或 false
|
||||
--use-official-source 是否使用目標系統的官方軟體源 true 或 false
|
||||
--use-official-source-epel 是否使用 EPEL 附加軟體包的官方軟體源 true 或 false
|
||||
--install-epel 是否安裝 EPEL 附加軟體包 true 或 false
|
||||
--backup 是否備份原有軟體源 true 或 false
|
||||
--upgrade-software 是否更新軟體包 true 或 false
|
||||
--clean-cache 是否在更新軟體包後清理下載快取 true 或 false
|
||||
--clean-screen 是否在運行前清除螢幕上的所有內容 true 或 false
|
||||
--lang 指定腳本輸出的語言 语言
|
||||
--only-epel 僅更換 EPEL 軟體源模式 無
|
||||
--ignore-backup-tips 忽略覆蓋備份提示 無
|
||||
--print-diff 是否列印原始文件修改前後差異 無
|
||||
--pure-mode 純淨模式,精簡列印內容 無
|
||||
--help 查看幫助選單 無
|
||||
|
||||
問題報告 {}'
|
||||
['mirrors.default.0']='阿里雲'
|
||||
['mirrors.default.1']='騰訊雲'
|
||||
['mirrors.default.2']='華為雲'
|
||||
['mirrors.default.3']='網易'
|
||||
['mirrors.default.4']='火山引擎'
|
||||
['mirrors.default.5']='清華大學'
|
||||
['mirrors.default.6']='北京大學'
|
||||
['mirrors.default.7']='浙江大學'
|
||||
['mirrors.default.8']='南京大學'
|
||||
['mirrors.default.9']='蘭州大學'
|
||||
['mirrors.default.10']='上海交通大學'
|
||||
['mirrors.default.11']='重慶郵電大學'
|
||||
['mirrors.default.12']='中國科學技術大學'
|
||||
['mirrors.default.13']='中國科學院軟件研究所'
|
||||
['mirrors.default.14']='官方源'
|
||||
['mirrors.edu.0']='北京大學'
|
||||
['mirrors.edu.1']='北京交通大學'
|
||||
['mirrors.edu.2']='北京外國語大學'
|
||||
['mirrors.edu.3']='北京郵電大學'
|
||||
['mirrors.edu.4']='重慶大學'
|
||||
['mirrors.edu.5']='重慶郵電大學'
|
||||
['mirrors.edu.6']='大連東軟信息學院'
|
||||
['mirrors.edu.7']='電子科技大學'
|
||||
['mirrors.edu.8']='華南農業大學'
|
||||
['mirrors.edu.9']='華中科技大學'
|
||||
['mirrors.edu.10']='吉林大學'
|
||||
['mirrors.edu.11']='荊楚理工學院'
|
||||
['mirrors.edu.12']='江西理工大學'
|
||||
['mirrors.edu.13']='蘭州大學'
|
||||
['mirrors.edu.14']='南京大學'
|
||||
['mirrors.edu.15']='南京工業大學'
|
||||
['mirrors.edu.16']='南京郵電大學'
|
||||
['mirrors.edu.17']='南方科技大學'
|
||||
['mirrors.edu.18']='南陽理工學院'
|
||||
['mirrors.edu.19']='齊魯工業大學'
|
||||
['mirrors.edu.20']='清華大學'
|
||||
['mirrors.edu.21']='山東大學'
|
||||
['mirrors.edu.22']='上海科技大學'
|
||||
['mirrors.edu.23']='上海交通大學(思源)'
|
||||
['mirrors.edu.24']='上海交通大學(致遠)'
|
||||
['mirrors.edu.25']='武昌首義學院'
|
||||
['mirrors.edu.26']='西安交通大學'
|
||||
['mirrors.edu.27']='西北農林科技大學'
|
||||
['mirrors.edu.28']='浙江大學'
|
||||
['mirrors.edu.29']='中國科學技術大學'
|
||||
['mirrors.edu.30']='官方源'
|
||||
['mirrors.abroad.0']='亞洲 · xTom · 香港'
|
||||
['mirrors.abroad.1']='亞洲 · 01Link · 香港'
|
||||
['mirrors.abroad.2']='亞洲 · 新加坡國立大學(NUS) · 新加坡'
|
||||
['mirrors.abroad.3']='亞洲 · SG.GS · 新加坡'
|
||||
['mirrors.abroad.4']='亞洲 · xTom · 新加坡'
|
||||
['mirrors.abroad.5']='亞洲 · 自由軟體實驗室(NCHC) · 臺灣'
|
||||
['mirrors.abroad.6']='亞洲 · OSS Planet · 臺灣'
|
||||
['mirrors.abroad.7']='亞洲 · 國立陽明交通大學 · 臺灣'
|
||||
['mirrors.abroad.8']='亞洲 · 淡江大學 · 臺灣'
|
||||
['mirrors.abroad.9']='亞洲 · AniGil Linux Archive · 韓國'
|
||||
['mirrors.abroad.10']='亞洲 · 工業網路安全中心(ICSCoE) · 日本'
|
||||
['mirrors.abroad.11']='亞洲 · 北陸先端科學技術大學院大學(JAIST) · 日本'
|
||||
['mirrors.abroad.12']='亞洲 · 山形大學 · 日本'
|
||||
['mirrors.abroad.13']='亞洲 · xTom · 日本'
|
||||
['mirrors.abroad.14']='亞洲 · GB Network Solutions · 馬來西亞'
|
||||
['mirrors.abroad.15']='亞洲 · 孔敬大學 · 泰國'
|
||||
['mirrors.abroad.16']='歐洲 · Vorboss Ltd · 英國'
|
||||
['mirrors.abroad.17']='歐洲 · QuickHost · 英國'
|
||||
['mirrors.abroad.18']='歐洲 · dogado · 德國'
|
||||
['mirrors.abroad.19']='歐洲 · xTom · 德國'
|
||||
['mirrors.abroad.20']='歐洲 · 亞琛工業大學(RWTH Aachen) · 德國'
|
||||
['mirrors.abroad.21']='歐洲 · 德勒斯登大學(AG DSN) · 德國'
|
||||
['mirrors.abroad.22']='歐洲 · CCIN2P3 · 法國'
|
||||
['mirrors.abroad.23']='歐洲 · Ircam · 法國'
|
||||
['mirrors.abroad.24']='歐洲 · Crans · 法國'
|
||||
['mirrors.abroad.25']='歐洲 · CRIHAN · 法國'
|
||||
['mirrors.abroad.26']='歐洲 · xTom · 荷蘭'
|
||||
['mirrors.abroad.27']='歐洲 · DataPacket · 荷蘭'
|
||||
['mirrors.abroad.28']='歐洲 · Linux Kernel · 荷蘭'
|
||||
['mirrors.abroad.29']='歐洲 · xTom · 愛沙尼亞'
|
||||
['mirrors.abroad.30']='歐洲 · netsite · 丹麥'
|
||||
['mirrors.abroad.31']='歐洲 · Dotsrc · 丹麥'
|
||||
['mirrors.abroad.32']='歐洲 · Academic Computer Club · 瑞典'
|
||||
['mirrors.abroad.33']='歐洲 · Lysator · 瑞典'
|
||||
['mirrors.abroad.34']='歐洲 · Yandex · 俄羅斯'
|
||||
['mirrors.abroad.35']='歐洲 · ia64 · 俄羅斯'
|
||||
['mirrors.abroad.36']='歐洲 · Truenetwork · 俄羅斯'
|
||||
['mirrors.abroad.37']='歐洲 · Belgian Research Network · 比利時'
|
||||
['mirrors.abroad.38']='歐洲 · 克里特大學計算機中心 · 希臘'
|
||||
['mirrors.abroad.39']='歐洲 · 馬薩里克大學信息學院 · 捷克'
|
||||
['mirrors.abroad.40']='歐洲 · 捷克理工大學學生會俱樂部(Silicon Hill) · 捷克'
|
||||
['mirrors.abroad.41']='歐洲 · Vodafone · 捷克'
|
||||
['mirrors.abroad.42']='歐洲 · CZ.NIC · 捷克'
|
||||
['mirrors.abroad.43']='歐洲 · 蘇黎世聯邦理工學院 · 瑞士'
|
||||
['mirrors.abroad.44']='北美 · Linux Kernel · 美國'
|
||||
['mirrors.abroad.45']='北美 · 麻省理工學院(MIT) · 美國'
|
||||
['mirrors.abroad.46']='北美 · 普林斯頓大學數學系 · 美國'
|
||||
['mirrors.abroad.47']='北美 · 俄勒岡州立大學開源實驗室 · 美國'
|
||||
['mirrors.abroad.48']='北美 · Fremont Cabal Internet Exchange(FCIX) · 美國'
|
||||
['mirrors.abroad.49']='北美 · xTom · 美國'
|
||||
['mirrors.abroad.50']='北美 · Steadfast · 美國'
|
||||
['mirrors.abroad.51']='北美 · 不列顛哥倫比亞大學 · 加拿大'
|
||||
['mirrors.abroad.52']='北美 · GoCodeIT · 加拿大'
|
||||
['mirrors.abroad.53']='北美 · Switch · 加拿大'
|
||||
['mirrors.abroad.54']='南美 · PoP-SC · 巴西'
|
||||
['mirrors.abroad.55']='南美 · 蓬塔格羅薩州立大學 · 巴西'
|
||||
['mirrors.abroad.56']='南美 · UFSCar · 巴西'
|
||||
['mirrors.abroad.57']='南美 · Sysarmy Community · 阿根廷'
|
||||
['mirrors.abroad.58']='大洋 · Fremont Cabal Internet Exchange(FCIX) · 澳大利亞'
|
||||
['mirrors.abroad.59']='大洋 · AARNet · 澳大利亞'
|
||||
['mirrors.abroad.60']='大洋 · DataMossa · 澳大利亞'
|
||||
['mirrors.abroad.61']='大洋 · Amaze · 澳大利亞'
|
||||
['mirrors.abroad.62']='大洋 · xTom · 澳大利亞'
|
||||
['mirrors.abroad.63']='大洋 · Over the Wire · 澳大利亞'
|
||||
['mirrors.abroad.64']='大洋 · Free Software Mirror Group · 紐西蘭'
|
||||
['mirrors.abroad.65']='非洲 · Liquid Telecom · 肯亞'
|
||||
['mirrors.abroad.66']='非洲 · Dimension Data · 南非'
|
||||
['mirrors.abroad.67']='官方源'
|
||||
)
|
||||
Reference in New Issue
Block a user