mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-01 23:10:28 +08:00
Compare commits
3 Commits
e81a8fda94
...
e26bd0d3f2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e26bd0d3f2 | ||
|
|
cab4cd8977 | ||
|
|
535cc8f751 |
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## Author: SuperManito
|
## Author: SuperManito
|
||||||
## Modified: 2025-10-14
|
## Modified: 2025-10-20
|
||||||
## License: MIT
|
## License: MIT
|
||||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||||
## Website: https://linuxmirrors.cn
|
## Website: https://linuxmirrors.cn
|
||||||
@@ -2248,13 +2248,11 @@ $(gen_deb_unsrc "${source_host}" "${SYSTEM_VERSION_CODENAME}" "${repository_sect
|
|||||||
write_source_file
|
write_source_file
|
||||||
## 底层系统软件源
|
## 底层系统软件源
|
||||||
local base_system_branch base_system_codename
|
local base_system_branch base_system_codename
|
||||||
if [[ "${SYSTEM_VERSION_ID}" == 6 ]]; then
|
if [[ "${SYSTEM_NAME}" == *"LMDE"* ]]; then
|
||||||
# Debian 版(LMDE)
|
# Debian 版(LMDE)
|
||||||
base_system_branch="debian"
|
base_system_branch="debian"
|
||||||
grep -q "DEBIAN_CODENAME" $File_LinuxRelease
|
base_system_codename="$(get_os_release_value DEBIAN_CODENAME)"
|
||||||
if [ $? -eq 0 ]; then
|
if [[ -z "${base_system_codename}" ]]; then
|
||||||
base_system_codename="$(get_os_release_value DEBIAN_CODENAME)"
|
|
||||||
else
|
|
||||||
base_system_codename="bookworm"
|
base_system_codename="bookworm"
|
||||||
fi
|
fi
|
||||||
repository_sections="main contrib non-free non-free-firmware"
|
repository_sections="main contrib non-free non-free-firmware"
|
||||||
@@ -2271,20 +2269,10 @@ $(gen_deb_security "${source_security_host}" "${base_system_codename}" "${reposi
|
|||||||
else
|
else
|
||||||
base_system_branch="ubuntu-ports"
|
base_system_branch="ubuntu-ports"
|
||||||
fi
|
fi
|
||||||
case "${SYSTEM_VERSION_ID_MAJOR}" in
|
base_system_codename="$(get_os_release_value UBUNTU_CODENAME)"
|
||||||
22)
|
if [[ -z "${base_system_codename}" ]]; then
|
||||||
base_system_codename="noble"
|
base_system_codename="noble"
|
||||||
;;
|
fi
|
||||||
21)
|
|
||||||
base_system_codename="jammy"
|
|
||||||
;;
|
|
||||||
20)
|
|
||||||
base_system_codename="focal"
|
|
||||||
;;
|
|
||||||
19)
|
|
||||||
base_system_codename="bionic"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
repository_sections="main restricted universe multiverse"
|
repository_sections="main restricted universe multiverse"
|
||||||
source_host="${SOURCE_BASE_SYSTEM:-"${SOURCE}"}/${SOURCE_BASE_SYSTEM_BRANCH:-"${base_system_branch}"}"
|
source_host="${SOURCE_BASE_SYSTEM:-"${SOURCE}"}/${SOURCE_BASE_SYSTEM_BRANCH:-"${base_system_branch}"}"
|
||||||
source_security_host="${SOURCE_SECURITY:-${SOURCE_BASE_SYSTEM:-${SOURCE}}}/${SOURCE_BASE_SYSTEM_BRANCH:-"${base_system_branch}"}"
|
source_security_host="${SOURCE_SECURITY:-${SOURCE_BASE_SYSTEM:-${SOURCE}}}/${SOURCE_BASE_SYSTEM_BRANCH:-"${base_system_branch}"}"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## Author: SuperManito
|
## Author: SuperManito
|
||||||
## Modified: 2025-10-14
|
## Modified: 2025-10-20
|
||||||
## License: MIT
|
## License: MIT
|
||||||
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
## GitHub: https://github.com/SuperManito/LinuxMirrors
|
||||||
## Website: https://linuxmirrors.cn
|
## Website: https://linuxmirrors.cn
|
||||||
@@ -620,20 +620,38 @@ function collect_system_info() {
|
|||||||
"${SYSTEM_UBUNTU}" | "${SYSTEM_ZORIN}")
|
"${SYSTEM_UBUNTU}" | "${SYSTEM_ZORIN}")
|
||||||
SOURCE_BRANCH="ubuntu"
|
SOURCE_BRANCH="ubuntu"
|
||||||
;;
|
;;
|
||||||
|
"${SYSTEM_KALI}")
|
||||||
|
SOURCE_BRANCH="debian"
|
||||||
|
SOURCE_BRANCH_CODENAME="trixie"
|
||||||
|
;;
|
||||||
|
"${SYSTEM_LINUX_MINT}")
|
||||||
|
if [[ "${SYSTEM_NAME}" == *"LMDE"* ]]; then
|
||||||
|
SOURCE_BRANCH="debian"
|
||||||
|
SOURCE_BRANCH_CODENAME="$(get_os_release_value DEBIAN_CODENAME)"
|
||||||
|
else
|
||||||
|
SOURCE_BRANCH="ubuntu"
|
||||||
|
SOURCE_BRANCH_CODENAME="$(get_os_release_value UBUNTU_CODENAME)"
|
||||||
|
fi
|
||||||
|
if [[ -z "${SOURCE_BRANCH_CODENAME}" ]]; then
|
||||||
|
SOURCE_BRANCH="debian"
|
||||||
|
SOURCE_BRANCH_CODENAME="bookworm"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
"${SYSTEM_RASPBERRY_PI_OS}")
|
"${SYSTEM_RASPBERRY_PI_OS}")
|
||||||
case "${DEVICE_ARCH_RAW}" in
|
case "${DEVICE_ARCH_RAW}" in
|
||||||
x86_64 | aarch64)
|
x86_64 | aarch64)
|
||||||
SOURCE_BRANCH="debian"
|
SOURCE_BRANCH="debian"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
# 注:自 Docker 29 版本起将不再提供此分支仓库
|
||||||
SOURCE_BRANCH="raspbian"
|
SOURCE_BRANCH="raspbian"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# 部分 Debian 系衍生操作系统使用 Debian 12 的 docker ce 源
|
# 其余 Debian 系衍生操作系统
|
||||||
SOURCE_BRANCH="debian"
|
SOURCE_BRANCH="debian"
|
||||||
SYSTEM_VERSION_CODENAME="bookworm"
|
SOURCE_BRANCH_CODENAME="bookworm"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
@@ -644,12 +662,6 @@ function collect_system_info() {
|
|||||||
;;
|
;;
|
||||||
"${SYSTEM_RHEL}")
|
"${SYSTEM_RHEL}")
|
||||||
SOURCE_BRANCH="rhel"
|
SOURCE_BRANCH="rhel"
|
||||||
# RHEL 10
|
|
||||||
if [[ "${SYSTEM_VERSION_ID_MAJOR}" == 10 ]]; then
|
|
||||||
echo -e "\n$WARN $(msg "warn.usedCentosBranch")"
|
|
||||||
echo -e "\n$TIP $(msg "tip.unsupportRHEL10")"
|
|
||||||
SOURCE_BRANCH="centos"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
SOURCE_BRANCH="centos"
|
SOURCE_BRANCH="centos"
|
||||||
@@ -1086,7 +1098,7 @@ function configure_docker_ce_mirror() {
|
|||||||
chmod a+r $file_keyring
|
chmod a+r $file_keyring
|
||||||
## 添加源
|
## 添加源
|
||||||
[ -d "${Dir_AptAdditionalSources}" ] || mkdir -p $Dir_AptAdditionalSources
|
[ -d "${Dir_AptAdditionalSources}" ] || mkdir -p $Dir_AptAdditionalSources
|
||||||
local source_content="deb [arch=$(dpkg --print-architecture) signed-by=${file_keyring}] ${WEB_PROTOCOL}://${SOURCE}/linux/${SOURCE_BRANCH} ${SYSTEM_VERSION_CODENAME} stable"
|
local source_content="deb [arch=$(dpkg --print-architecture) signed-by=${file_keyring}] ${WEB_PROTOCOL}://${SOURCE}/linux/${SOURCE_BRANCH} ${SOURCE_BRANCH_CODENAME:-"${SYSTEM_VERSION_CODENAME}"} stable"
|
||||||
echo "${source_content}" | tee $File_DockerSourceList >/dev/null 2>&1
|
echo "${source_content}" | tee $File_DockerSourceList >/dev/null 2>&1
|
||||||
commands+=("apt-get update")
|
commands+=("apt-get update")
|
||||||
;;
|
;;
|
||||||
@@ -2060,12 +2072,10 @@ function msg_pack_zh_hans() {
|
|||||||
['error.defaultBehavior.installLatest']='默认安装最新版本'
|
['error.defaultBehavior.installLatest']='默认安装最新版本'
|
||||||
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
||||||
['warn.usedCentosBranch']='当前采用 centos 分支(红帽衍生操作系统安装方式)进行安装,可能存在某些无法预料的兼容性问题!'
|
|
||||||
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
||||||
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
||||||
['warn.needInputNumberIndex']='请输入数字序号!'
|
['warn.needInputNumberIndex']='请输入数字序号!'
|
||||||
['warn.needManuallyDeleteConfig']='请自行删除 {} 中的 {} 配置并重启服务 {}'
|
['warn.needManuallyDeleteConfig']='请自行删除 {} 中的 {} 配置并重启服务 {}'
|
||||||
['tip.unsupportRHEL10']='Docker 官方尚未支持 RHEL 10 且红帽官方已将 Docker 从注册软件源中移除并默认使用 Podman。'
|
|
||||||
['tip.skipInstallDockerEngine']='检测到系统已安装 Docker Engine 且是最新版本,跳过安装'
|
['tip.skipInstallDockerEngine']='检测到系统已安装 Docker Engine 且是最新版本,跳过安装'
|
||||||
['info.backuped.dockerConfig']='已备份原有 Docker 配置文件'
|
['info.backuped.dockerConfig']='已备份原有 Docker 配置文件'
|
||||||
['interaction.source.type.public']='公网'
|
['interaction.source.type.public']='公网'
|
||||||
@@ -2213,12 +2223,10 @@ function msg_pack_zh_hant() {
|
|||||||
['error.defaultBehavior.installLatest']='預設安裝最新版本'
|
['error.defaultBehavior.installLatest']='預設安裝最新版本'
|
||||||
['error.defaultBehavior.noOverwrite']='預設不覆寫'
|
['error.defaultBehavior.noOverwrite']='預設不覆寫'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網位址'
|
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網位址'
|
||||||
['warn.usedCentosBranch']='目前採用 centos 分支(紅帽衍生系統安裝方式)進行安裝,可能存在某些無法預料的相容性問題!'
|
|
||||||
['warn.usedIntranetSource']='已切換至內網專用位址,僅限在特定環境下使用!'
|
['warn.usedIntranetSource']='已切換至內網專用位址,僅限在特定環境下使用!'
|
||||||
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
||||||
['warn.needInputNumberIndex']='請輸入數字序號!'
|
['warn.needInputNumberIndex']='請輸入數字序號!'
|
||||||
['warn.needManuallyDeleteConfig']='請自行刪除 {} 中的 {} 設定並重新啟動服務 {}'
|
['warn.needManuallyDeleteConfig']='請自行刪除 {} 中的 {} 設定並重新啟動服務 {}'
|
||||||
['tip.unsupportRHEL10']='Docker 官方尚未支援 RHEL 10 且紅帽官方已將 Docker 從註冊軟體源中移除並預設使用 Podman。'
|
|
||||||
['tip.skipInstallDockerEngine']='偵測到系統已安裝 Docker Engine 且是最新版本,跳過安裝'
|
['tip.skipInstallDockerEngine']='偵測到系統已安裝 Docker Engine 且是最新版本,跳過安裝'
|
||||||
['info.backuped.dockerConfig']='已備份原有 Docker 設定檔'
|
['info.backuped.dockerConfig']='已備份原有 Docker 設定檔'
|
||||||
['interaction.source.type.public']='公網'
|
['interaction.source.type.public']='公網'
|
||||||
@@ -2367,12 +2375,10 @@ function msg_pack_en() {
|
|||||||
['error.defaultBehavior.installLatest']='Installing latest version by default'
|
['error.defaultBehavior.installLatest']='Installing latest version by default'
|
||||||
['error.defaultBehavior.noOverwrite']='Not overwriting by default'
|
['error.defaultBehavior.noOverwrite']='Not overwriting by default'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='Not using intranet address 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.usedIntranetSource']='Switched to intranet-only address, use only in specific environments!'
|
||||||
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
||||||
['warn.needInputNumberIndex']='Please enter a number index!'
|
['warn.needInputNumberIndex']='Please enter a number index!'
|
||||||
['warn.needManuallyDeleteConfig']='Please manually delete {} configuration in {} and restart service {}'
|
['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'
|
['tip.skipInstallDockerEngine']='Detected Docker Engine is already installed with latest version, skipping installation'
|
||||||
['info.backuped.dockerConfig']='Original Docker config file has been backed up'
|
['info.backuped.dockerConfig']='Original Docker config file has been backed up'
|
||||||
['interaction.source.type.public']='Public'
|
['interaction.source.type.public']='Public'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ComponentSystem.register('mirrors-table', {
|
ComponentSystem.register('mirrors-table', {
|
||||||
template: `
|
template: `
|
||||||
<div class="mirrors-table">
|
<div>
|
||||||
<t-config-provider :global-config="globalConfig">
|
<t-config-provider :global-config="globalConfig">
|
||||||
<t-space v-if="!isMobile" align="center" style="margin-bottom: 8px; gap: 20px">
|
<t-space v-if="!isMobile" align="center" style="margin-bottom: 8px; gap: 20px">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ hide:
|
|||||||
本网站提供全球边缘网络加速,不惧各种网络环境,国内轻松访问
|
本网站提供全球边缘网络加速,不惧各种网络环境,国内轻松访问
|
||||||
同时提供了多个备用地址以确保项目脚本始终可用,真正做到使用无忧
|
同时提供了多个备用地址以确保项目脚本始终可用,真正做到使用无忧
|
||||||
|
|
||||||
- :material-arm-flex-outline:{ .lg .middle } __功能强大,无以伦比__
|
- :material-arm-flex-outline:{ .lg .middle } __功能强大,无与伦比__
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -228,6 +228,24 @@ search:
|
|||||||
| AF · Liquid Telecom · Kenya :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.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") |
|
| AF · Dimension Data · South Africa :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||||
|
|
||||||
|
???+ note "Help improve more overseas and foreign software sources"
|
||||||
|
|
||||||
|
The software repositories in this list are referenced from [`Ubuntu Mirrors`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors"), [`Debian Mirrors`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors"), and [`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") and have all been verified for effectiveness, but not actually tested.
|
||||||
|
|
||||||
|
The author does not have the energy to continuously maintain these overseas mirror sites in the list. If you want to add more software sources or correct the existing ones, please modify the [`mirror_list_abroad array variable`](https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70 "https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70") in the script and modify it according to the following editing specifications.
|
||||||
|
|
||||||
|
You can submit [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls") to the GitHub repository after confirming the mirror address is correct. You can also fork the repository and customize it yourself.
|
||||||
|
|
||||||
|
- Overseas and foreign software source (mirror site) editing specifications:
|
||||||
|
|
||||||
|
Complete format: `Continent · Software Source Name · Country/Region@Software Source Address (Domain)`
|
||||||
|
|
||||||
|
Please sort according to geographical location, country or region for user selection. Units with iconic abbreviation characters should be supplemented in brackets at the end, and the name of the unit should prioritize the domain name. The following are naming rules:
|
||||||
|
|
||||||
|
- Educational institution: Use the Chinese translation of the name. If the full name contains the name of the country or region, it should also be included. Pay attention to distinguishing subordinate units, such as colleges, student unions, societies, etc. The common second-level domain name format is `ftp.mirrors.xxx.xxx`. The name of the top-level institution should be used directly. If there is a third-level domain name, consider whether to add the subordinate unit in the name. The domain name takes priority.
|
||||||
|
|
||||||
|
- Non-educational institutions: The brand name used by their parent official website should be prioritized, and it should be the official English name rather than the characters in the logo. If there is no official English name and the website is in a language other than Chinese or English, the website domain name should be used as the name.
|
||||||
|
|
||||||
## Tool Websites
|
## Tool Websites
|
||||||
|
|
||||||
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">Domain Lookup</button>
|
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">Domain Lookup</button>
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ search:
|
|||||||
|
|
||||||
该列表中的软件源参考自 [`Ubuntu 镜像列表`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors")、[`Debian 镜像列表`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors")、[`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") 并且在此之前全部经过了有效性验证,但未作实际测试
|
该列表中的软件源参考自 [`Ubuntu 镜像列表`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors")、[`Debian 镜像列表`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors")、[`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") 并且在此之前全部经过了有效性验证,但未作实际测试
|
||||||
|
|
||||||
作者没有精力持续维护列表中的这些境外、海外镜像站,如果你想补充更多软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L66 "https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L66") 并按照下面的编辑规范进行修改
|
作者没有精力持续维护列表中的这些境外、海外镜像站,如果你想补充更多软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70 "https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70") 并按照下面的编辑规范进行修改
|
||||||
|
|
||||||
你可以在确认镜像站地址无误后前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 仓库后自行定制使用
|
你可以在确认镜像站地址无误后前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 仓库后自行定制使用
|
||||||
|
|
||||||
|
|||||||
@@ -228,6 +228,26 @@ search:
|
|||||||
| 非洲 · Liquid Telecom · 肯亞 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
| 非洲 · Liquid Telecom · 肯亞 :flag-KE: | [mirror.liquidtelecom.com](https://mirror.liquidtelecom.com "https://mirror.liquidtelecom.com") |
|
||||||
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
| 非洲 · Dimension Data · 南非 :flag-ZA: | [mirror.dimensiondata.com](https://mirror.dimensiondata.com "https://mirror.dimensiondata.com") |
|
||||||
|
|
||||||
|
???+ note "幫助專案完善更多境外、海外軟體源"
|
||||||
|
|
||||||
|
此清單中的軟體源參考自 [`Ubuntu 鏡像清單`](https://launchpad.net/ubuntu/+cdmirrors "https://launchpad.net/ubuntu/+cdmirrors")、[`Debian 鏡像清單`](https://www.debian.org/CD/http-ftp/#mirrors "https://www.debian.org/CD/http-ftp/#mirrors")、[`Fedora Mirror Manager`](https://mirrormanager.fedoraproject.org/mirrors "https://mirrormanager.fedoraproject.org/mirrors") 並且在此之前全部經過有效性驗證,但在此之前未完成了實際測試
|
||||||
|
|
||||||
|
作者沒有精力持續維護清單中的這些境外、海外鏡像站,如果你想補充更多軟體源或更正目前已有,請修改腳本內的 [`mirror_list_abroad 陣列變數`](https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70 "https://github.com/SuperManito/LinuxMirrors/blob/main/ChangeMirrors.sh#L70") 並依照下面的編輯規格進行修改
|
||||||
|
|
||||||
|
你可以在確認鏡像站位址無誤後前往 GitHub 倉庫提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 倉庫後自訂使用
|
||||||
|
|
||||||
|
- 境外以及海外軟體源(鏡像站)編輯規格:
|
||||||
|
|
||||||
|
完整格式:`洲 · 軟體源名稱 · 國家/地區@軟體源位址(網域)`
|
||||||
|
|
||||||
|
請根據地理位置、國家或地區進行排序以便於使用者選擇,有標誌性縮寫字元的單位應在最後用括號補充,單位的名稱應以網域名稱作為優先原則,以下是命名規則:
|
||||||
|
|
||||||
|
- 教育單位:需使用中文譯名,全稱若含有國家或地區的名稱也要帶上,注意區分下屬單位,例如學院、學生會、社團等。常見的二級網域格式 `ftp.mirrors.xxx.xxx` 應直接採用頂級單位的名稱,如果有三級網域則應考慮是否在名稱中加上下屬單位,以網域為優先原則
|
||||||
|
|
||||||
|
註:`Technology` 一詞應稱為 `理工` 而不能使用翻譯結果的 `技術` 一詞,大部分教育單位都有正式或公認的中文譯名
|
||||||
|
|
||||||
|
- 非教育單位:應優先採用其上屬官網所自稱的品牌名稱,注意是正式的英文名稱而不是logo中的字符,如果沒有並且網站是除中文、英文以外的語言文字應使用網站域名作為名稱
|
||||||
|
|
||||||
## 工具網站
|
## 工具網站
|
||||||
|
|
||||||
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">域名查詢</button>
|
<button class="md-button" title="https://tool.chinaz.com" onclick="window.open('https://tool.chinaz.com')">域名查詢</button>
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ Command options(name/meaning/value):
|
|||||||
``` { .bash .no-copy }
|
``` { .bash .no-copy }
|
||||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --en --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`
|
> Repository names are fixed: [`centos`](https://download.docker.com/linux/centos/) [`debian`](https://download.docker.com/linux/debian/) [`fedora`](https://download.docker.com/linux/fedora/) [`raspbian`](https://download.docker.com/linux/raspbian/) [`rhel`](https://download.docker.com/linux/rhel/) [`sles`](https://download.docker.com/linux/sles/) [`static`](https://download.docker.com/linux/static/) [`ubuntu`](https://download.docker.com/linux/ubuntu/)
|
||||||
> See [official installation docs](https://docs.docker.com/engine/install) and [Docker CE official repo](https://download.docker.com/linux) for details.
|
> 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 .no-copy title="Can also specify the repository version number." }
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ hide:
|
|||||||
|
|
||||||
兼容大量不受官方安装脚本支持的衍生操作系统 :material-information-outline:{ title="除官网首页展示的系统外还支持 <code>Huawei Cloud EulerOS</code> <code>TencentOS Server</code> <code>Alibaba Cloud Linux</code> 等特制系统" }
|
兼容大量不受官方安装脚本支持的衍生操作系统 :material-information-outline:{ title="除官网首页展示的系统外还支持 <code>Huawei Cloud EulerOS</code> <code>TencentOS Server</code> <code>Alibaba Cloud Linux</code> 等特制系统" }
|
||||||
|
|
||||||
- :material-weight-lifter:{ .lg .middle } __功能强大、无以伦比__
|
- :material-weight-lifter:{ .lg .middle } __功能强大、无与伦比__
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -327,7 +327,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
|
|||||||
``` { .bash .no-copy }
|
``` { .bash .no-copy }
|
||||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --branch centos
|
||||||
```
|
```
|
||||||
> 仓库名是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 这几个
|
> 仓库名是固定的,目前只有 [`centos`](https://download.docker.com/linux/centos/) [`debian`](https://download.docker.com/linux/debian/) [`fedora`](https://download.docker.com/linux/fedora/) [`raspbian`](https://download.docker.com/linux/raspbian/) [`rhel`](https://download.docker.com/linux/rhel/) [`sles`](https://download.docker.com/linux/sles/) [`static`](https://download.docker.com/linux/static/) [`ubuntu`](https://download.docker.com/linux/ubuntu/) 这几个
|
||||||
> 具体详见 [官方安装文档](https://docs.docker.com/engine/install) 和 [Docker CE 官方仓库](https://download.docker.com/linux)
|
> 具体详见 [官方安装文档](https://docs.docker.com/engine/install) 和 [Docker CE 官方仓库](https://download.docker.com/linux)
|
||||||
|
|
||||||
``` { .bash .no-copy title="还可以指定仓库版本号" }
|
``` { .bash .no-copy title="还可以指定仓库版本号" }
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ $ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --help
|
|||||||
``` { .bash .no-copy }
|
``` { .bash .no-copy }
|
||||||
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --branch centos
|
bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --zh-hant --branch centos
|
||||||
```
|
```
|
||||||
> 倉庫名稱是固定的,目前只有 `centos` `debian` `fedora` `raspbian` `rhel` `sles` `static` `ubuntu` 這幾個
|
> 倉庫名稱是固定的,目前只有 [`centos`](https://download.docker.com/linux/centos/) [`debian`](https://download.docker.com/linux/debian/) [`fedora`](https://download.docker.com/linux/fedora/) [`raspbian`](https://download.docker.com/linux/raspbian/) [`rhel`](https://download.docker.com/linux/rhel/) [`sles`](https://download.docker.com/linux/sles/) [`static`](https://download.docker.com/linux/static/) [`ubuntu`](https://download.docker.com/linux/ubuntu/) 這幾個
|
||||||
> 詳情請見 [官方安裝文件](https://docs.docker.com/engine/install) 及 [Docker CE 官方倉庫](https://download.docker.com/linux)
|
> 詳情請見 [官方安裝文件](https://docs.docker.com/engine/install) 及 [Docker CE 官方倉庫](https://download.docker.com/linux)
|
||||||
|
|
||||||
``` { .bash .no-copy title="还可以指定倉庫版本號" }
|
``` { .bash .no-copy title="还可以指定倉庫版本號" }
|
||||||
|
|||||||
@@ -41,12 +41,10 @@ MESSAGE_CONTENTS=(
|
|||||||
['error.defaultBehavior.installLatest']='Installing latest version by default'
|
['error.defaultBehavior.installLatest']='Installing latest version by default'
|
||||||
['error.defaultBehavior.noOverwrite']='Not overwriting by default'
|
['error.defaultBehavior.noOverwrite']='Not overwriting by default'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='Not using intranet address 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.usedIntranetSource']='Switched to intranet-only address, use only in specific environments!'
|
||||||
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
['warn.needValidNumberIndex']='Please enter a valid number index!'
|
||||||
['warn.needInputNumberIndex']='Please enter a number index!'
|
['warn.needInputNumberIndex']='Please enter a number index!'
|
||||||
['warn.needManuallyDeleteConfig']='Please manually delete {} configuration in {} and restart service {}'
|
['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'
|
['tip.skipInstallDockerEngine']='Detected Docker Engine is already installed with latest version, skipping installation'
|
||||||
['info.backuped.dockerConfig']='Original Docker config file has been backed up'
|
['info.backuped.dockerConfig']='Original Docker config file has been backed up'
|
||||||
['interaction.source.type.public']='Public'
|
['interaction.source.type.public']='Public'
|
||||||
|
|||||||
@@ -41,12 +41,10 @@ MESSAGE_CONTENTS=(
|
|||||||
['error.defaultBehavior.installLatest']='默认安装最新版本'
|
['error.defaultBehavior.installLatest']='默认安装最新版本'
|
||||||
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
['error.defaultBehavior.noOverwrite']='默认不覆盖'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
['error.defaultBehavior.noUseIntranetSource']='默认不使用内网地址'
|
||||||
['warn.usedCentosBranch']='当前采用 centos 分支(红帽衍生操作系统安装方式)进行安装,可能存在某些无法预料的兼容性问题!'
|
|
||||||
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
['warn.usedIntranetSource']='已切换至内网专用地址,仅限在特定环境下使用!'
|
||||||
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
['warn.needValidNumberIndex']='请输入有效的数字序号!'
|
||||||
['warn.needInputNumberIndex']='请输入数字序号!'
|
['warn.needInputNumberIndex']='请输入数字序号!'
|
||||||
['warn.needManuallyDeleteConfig']='请自行删除 {} 中的 {} 配置并重启服务 {}'
|
['warn.needManuallyDeleteConfig']='请自行删除 {} 中的 {} 配置并重启服务 {}'
|
||||||
['tip.unsupportRHEL10']='Docker 官方尚未支持 RHEL 10 且红帽官方已将 Docker 从注册软件源中移除并默认使用 Podman。'
|
|
||||||
['tip.skipInstallDockerEngine']='检测到系统已安装 Docker Engine 且是最新版本,跳过安装'
|
['tip.skipInstallDockerEngine']='检测到系统已安装 Docker Engine 且是最新版本,跳过安装'
|
||||||
['info.backuped.dockerConfig']='已备份原有 Docker 配置文件'
|
['info.backuped.dockerConfig']='已备份原有 Docker 配置文件'
|
||||||
['interaction.source.type.public']='公网'
|
['interaction.source.type.public']='公网'
|
||||||
|
|||||||
@@ -41,12 +41,10 @@ MESSAGE_CONTENTS=(
|
|||||||
['error.defaultBehavior.installLatest']='預設安裝最新版本'
|
['error.defaultBehavior.installLatest']='預設安裝最新版本'
|
||||||
['error.defaultBehavior.noOverwrite']='預設不覆寫'
|
['error.defaultBehavior.noOverwrite']='預設不覆寫'
|
||||||
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網位址'
|
['error.defaultBehavior.noUseIntranetSource']='預設不使用內網位址'
|
||||||
['warn.usedCentosBranch']='目前採用 centos 分支(紅帽衍生系統安裝方式)進行安裝,可能存在某些無法預料的相容性問題!'
|
|
||||||
['warn.usedIntranetSource']='已切換至內網專用位址,僅限在特定環境下使用!'
|
['warn.usedIntranetSource']='已切換至內網專用位址,僅限在特定環境下使用!'
|
||||||
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
['warn.needValidNumberIndex']='請輸入有效的數字序號!'
|
||||||
['warn.needInputNumberIndex']='請輸入數字序號!'
|
['warn.needInputNumberIndex']='請輸入數字序號!'
|
||||||
['warn.needManuallyDeleteConfig']='請自行刪除 {} 中的 {} 設定並重新啟動服務 {}'
|
['warn.needManuallyDeleteConfig']='請自行刪除 {} 中的 {} 設定並重新啟動服務 {}'
|
||||||
['tip.unsupportRHEL10']='Docker 官方尚未支援 RHEL 10 且紅帽官方已將 Docker 從註冊軟體源中移除並預設使用 Podman。'
|
|
||||||
['tip.skipInstallDockerEngine']='偵測到系統已安裝 Docker Engine 且是最新版本,跳過安裝'
|
['tip.skipInstallDockerEngine']='偵測到系統已安裝 Docker Engine 且是最新版本,跳過安裝'
|
||||||
['info.backuped.dockerConfig']='已備份原有 Docker 設定檔'
|
['info.backuped.dockerConfig']='已備份原有 Docker 設定檔'
|
||||||
['interaction.source.type.public']='公網'
|
['interaction.source.type.public']='公網'
|
||||||
|
|||||||
Reference in New Issue
Block a user