mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 16:00:26 +08:00
新增适配 Deepin 深度操作系统
This commit is contained in:
@@ -146,6 +146,7 @@ mirror_list_intranet=(
|
|||||||
SYSTEM_DEBIAN="Debian"
|
SYSTEM_DEBIAN="Debian"
|
||||||
SYSTEM_UBUNTU="Ubuntu"
|
SYSTEM_UBUNTU="Ubuntu"
|
||||||
SYSTEM_KALI="Kali"
|
SYSTEM_KALI="Kali"
|
||||||
|
SYSTEM_DEEPIN="Deepin"
|
||||||
SYSTEM_REDHAT="RedHat"
|
SYSTEM_REDHAT="RedHat"
|
||||||
SYSTEM_RHEL="Red Hat Enterprise Linux"
|
SYSTEM_RHEL="Red Hat Enterprise Linux"
|
||||||
SYSTEM_CENTOS="CentOS"
|
SYSTEM_CENTOS="CentOS"
|
||||||
@@ -370,7 +371,7 @@ function EnvJudgment() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"${SYSTEM_KALI}" | "${SYSTEM_ARCH}")
|
"${SYSTEM_KALI}" | "${SYSTEM_DEEPIN}" | "${SYSTEM_ARCH}")
|
||||||
# 理论全部支持
|
# 理论全部支持
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -400,7 +401,7 @@ function EnvJudgment() {
|
|||||||
esac
|
esac
|
||||||
## 定义软件源分支名称
|
## 定义软件源分支名称
|
||||||
if [[ -z "${SOURCE_BRANCH}" ]]; then
|
if [[ -z "${SOURCE_BRANCH}" ]]; then
|
||||||
## 默认
|
## 默认为系统名称小写
|
||||||
SOURCE_BRANCH="$(echo "${SYSTEM_JUDGMENT,,}" | sed "s/ /-/g")"
|
SOURCE_BRANCH="$(echo "${SYSTEM_JUDGMENT,,}" | sed "s/ /-/g")"
|
||||||
## 处理特殊
|
## 处理特殊
|
||||||
case "${SYSTEM_JUDGMENT}" in
|
case "${SYSTEM_JUDGMENT}" in
|
||||||
@@ -1082,7 +1083,7 @@ function RunEnd() {
|
|||||||
## 更换基于 Debian 系 Linux 发行版的软件源
|
## 更换基于 Debian 系 Linux 发行版的软件源
|
||||||
function DebianMirrors() {
|
function DebianMirrors() {
|
||||||
local source_suffix
|
local source_suffix
|
||||||
local TIPS="## 默认禁用源码镜像以提高速度,如需启用请自行取消注释"
|
local tips="## 默认禁用源码镜像以提高速度,如需启用请自行取消注释"
|
||||||
local basic_url="${WEB_PROTOCOL}://${SOURCE}/${SOURCE_BRANCH}"
|
local basic_url="${WEB_PROTOCOL}://${SOURCE}/${SOURCE_BRANCH}"
|
||||||
case "${SYSTEM_JUDGMENT}" in
|
case "${SYSTEM_JUDGMENT}" in
|
||||||
"${SYSTEM_DEBIAN}")
|
"${SYSTEM_DEBIAN}")
|
||||||
@@ -1094,7 +1095,7 @@ function DebianMirrors() {
|
|||||||
source_suffix="main contrib non-free"
|
source_suffix="main contrib non-free"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo "${TIPS}
|
echo "${tips}
|
||||||
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
||||||
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
||||||
deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-updates ${source_suffix}
|
deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-updates ${source_suffix}
|
||||||
@@ -1117,7 +1118,7 @@ deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-backports ${source_suffix}
|
|||||||
;;
|
;;
|
||||||
"${SYSTEM_UBUNTU}")
|
"${SYSTEM_UBUNTU}")
|
||||||
source_suffix="main restricted universe multiverse"
|
source_suffix="main restricted universe multiverse"
|
||||||
echo "${TIPS}
|
echo "${tips}
|
||||||
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
||||||
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
||||||
deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-updates ${source_suffix}
|
deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-updates ${source_suffix}
|
||||||
@@ -1133,10 +1134,16 @@ deb ${basic_url} ${SYSTEM_VERSION_CODENAME}-security ${source_suffix}
|
|||||||
;;
|
;;
|
||||||
"${SYSTEM_KALI}")
|
"${SYSTEM_KALI}")
|
||||||
source_suffix="main non-free contrib"
|
source_suffix="main non-free contrib"
|
||||||
echo "${TIPS}
|
echo "${tips}
|
||||||
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
deb ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}
|
||||||
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}" >>$File_DebianSourceList
|
# deb-src ${basic_url} ${SYSTEM_VERSION_CODENAME} ${source_suffix}" >>$File_DebianSourceList
|
||||||
;;
|
;;
|
||||||
|
"${SYSTEM_DEEPIN}")
|
||||||
|
source_suffix="apricot main contrib non-free"
|
||||||
|
echo "${tips}
|
||||||
|
deb ${basic_url} ${source_suffix}
|
||||||
|
# deb-src ${basic_url} ${source_suffix}" >>$File_DebianSourceList
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://linuxmirrors.cn">
|
<a href="https://linuxmirrors.cn">
|
||||||
<img src="./docs/assets/images/logo.png" width="320" alt="Material for MkDocs">
|
<img src="./docs/assets/images/logo.png" width="320">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
@@ -27,6 +27,10 @@
|
|||||||
<td><a href="https://www.kali.org" target="_blank"><img src="./docs/assets/images/icon/kali-linux.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Kali Linux</td>
|
<td><a href="https://www.kali.org" target="_blank"><img src="./docs/assets/images/icon/kali-linux.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Kali Linux</td>
|
||||||
<td align="center">2.0 ~ 2023</td>
|
<td align="center">2.0 ~ 2023</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://www.deepin.org" target="_blank"><img src="./docs/assets/images/icon/deepin.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Deepin</td>
|
||||||
|
<td align="center">all</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="./docs/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Red Hat Enterprise Linux</td>
|
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="./docs/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Red Hat Enterprise Linux</td>
|
||||||
<td align="center">7.0 ~ 9</td>
|
<td align="center">7.0 ~ 9</td>
|
||||||
|
|||||||
1
docs/assets/images/icon/deepin.svg
Normal file
1
docs/assets/images/icon/deepin.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg height="2500" viewBox="-5.264 -1.773 268.698 261.444" width="2500" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m162.923 16.407c-63.887-18.18-130.811 17.463-149.503 79.624-18.684 62.156 17.953 127.28 81.841 145.46 63.873 18.18 130.812-17.461 149.489-79.617 18.684-62.17-17.954-127.287-81.827-145.467z" fill="#eff4f8"/><path d="m162.154 18.965c-62.436-17.765-127.839 17.065-146.104 77.815-18.26 60.742 17.545 124.387 79.98 142.153 62.422 17.767 127.84-17.064 146.092-77.807 18.26-60.757-17.546-124.394-79.967-142.16z" fill="#fff"/><path d="m164.69 33.527c-14.96-5.311-30.287-6.744-45.159-5.398-17.244 1.324-25.662 6.52-25.164 5.579-28.198 9.796-52.038 30.865-63.08 60.414-19.662 52.623 8.186 110.817 62.188 129.976 54.023 19.159 113.743-7.974 133.405-60.596 19.668-52.623-8.18-110.809-62.19-129.975zm-67.66 181.056c-5.756-2.047-11.133-4.652-16.197-7.626 25.164 1.881 58.002-3.762 80.147-23.927 0 0 42.215-32.82 11.675-86.679 0 0 4.923 21.706-1.353 39.563 0 0-5.986 24.281-32.593 31.336-39.189 10.39-83.843-16.301-102.509-29.23-1.405-13.292-.156-27.025 4.849-40.425 7.421-19.853 21.371-35.344 38.416-45.748-4.26 29.006-.892 55.711 3.949 66.897 6.499 15 17.794 32.494 39.828 34.737 22.033 2.25 34.184-17.813 34.184-17.813 11.303-16.714 13.073-40.713 12.902-41.292-.172-.586-3.012-2.17-3.012-2.17-7.607 29.953-20.152 39.96-20.152 39.96-19.78 18.58-33.79 5.694-33.79 5.694-15.058-15.737-4.514-41.314-4.514-41.314 5.897-17.422 23.082-42.92 42.557-55.885 3.243.781 6.507 1.266 9.712 2.402 11.786 4.182 22.108 10.484 30.838 18.226-14.24 5.057-37.233 15.75-37.233 15.75-36.445 14.935-38.906 37.523-38.906 37.523-3.77 23.284 15.214 13.429 15.214 13.429 19.543-9.261 29.143-38.123 29.143-38.123-6.098-1.129-10.902.673-10.902.673-7.8 18.732-23.714 26.438-23.714 26.438-6.261 3.227-7.718-2.475-7.718-2.475-1.056-4.268 4.528-5 4.528-5 8.67-3.277 14.218-12.14 15.475-15.765 1.25-3.632 3.577-3.914 3.577-3.914 11.883-3.69 22.717-4.515 22.717-4.515 14.753-1.766 37.337 5.08 37.337 5.08 5.064 1.982 9.92 3.465 14.233 4.651 8.276 20.122 9.585 43.036 1.383 65.002-17.683 47.356-71.447 71.782-120.072 54.54z" fill="#00b7ff" opacity=".8"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -19,7 +19,7 @@ GNU/Linux 一键更换系统软件源脚本
|
|||||||
!!! example inline end "适配计划"
|
!!! example inline end "适配计划"
|
||||||
|
|
||||||
暂无计划适配更多系统或版本
|
暂无计划适配更多系统或版本
|
||||||
如果你有需求那么请提交 [Issues](https://github.com/SuperManito/LinuxMirrors/issues)
|
如果你有需求那么请提交至 [Issues](https://github.com/SuperManito/LinuxMirrors/issues)
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -34,6 +34,10 @@ GNU/Linux 一键更换系统软件源脚本
|
|||||||
<td><a href="https://www.kali.org" target="_blank"><img src="/assets/images/icon/kali-linux.svg" width="16" height="16"></a> Kali Linux</td>
|
<td><a href="https://www.kali.org" target="_blank"><img src="/assets/images/icon/kali-linux.svg" width="16" height="16"></a> Kali Linux</td>
|
||||||
<td align="center">2.0 ~ 2023</td>
|
<td align="center">2.0 ~ 2023</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://www.deepin.org" target="_blank"><img src="/assets/images/icon/deepin.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Deepin</td>
|
||||||
|
<td align="center">all</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Red Hat Enterprise Linux</td>
|
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Red Hat Enterprise Linux</td>
|
||||||
<td align="center">7.0 ~ 9</td>
|
<td align="center">7.0 ~ 9</td>
|
||||||
|
|||||||
@@ -8,23 +8,23 @@ hide:
|
|||||||
|
|
||||||
## 中国大陆 :flag-CN:
|
## 中国大陆 :flag-CN:
|
||||||
|
|
||||||
| | 镜像站名称 | IPv6 | Kali | Rocky | AlmaLinux | EPEL | Fedora | openEuler | OpenCloudOS |
|
| | 镜像站名称 | IPv6 | Kali | Deepin | Rocky | AlmaLinux | EPEL | Fedora | openEuler | OpenCloudOS |
|
||||||
| :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
|
| :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: |
|
||||||
| 1 | [阿里云](https://mirrors.aliyun.com) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 1 | [阿里云](https://mirrors.aliyun.com) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 2 | [腾讯云](https://mirrors.tencent.com) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
| 2 | [腾讯云](https://mirrors.tencent.com) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
||||||
| 3 | [华为云](https://mirrors.huaweicloud.com) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 3 | [华为云](https://mirrors.huaweicloud.com) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 4 | [网易](https://mirrors.163.com) | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 4 | [网易](https://mirrors.163.com) | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 5 | [搜狐](https://mirrors.sohu.com) | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} |
|
| 5 | [搜狐](https://mirrors.sohu.com) | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 6 | [清华大学](https://mirrors.tuna.tsinghua.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 6 | [清华大学](https://mirrors.tuna.tsinghua.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 7 | [北京大学](https://mirrors.pku.edu.cn/Mirrors) | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
| 7 | [北京大学](https://mirrors.pku.edu.cn/Mirrors) | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
||||||
| 8 | [浙江大学](https://mirrors.zju.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 8 | [浙江大学](https://mirrors.zju.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 9 | [南京大学](https://mirrors.nju.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 9 | [南京大学](https://mirrors.nju.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 10 | [重庆大学](https://mirrors.cqu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} |
|
| 10 | [重庆大学](https://mirrors.cqu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-circle-off-outline:{style="color:#F6B604"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 11 | [兰州大学](https://mirror.lzu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 11 | [兰州大学](https://mirror.lzu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 12 | [上海交通大学](https://mirror.sjtu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
| 12 | [上海交通大学](https://mirror.sjtu.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} |
|
||||||
| 13 | [哈尔滨工业大学](https://mirrors.hit.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 13 | [哈尔滨工业大学](https://mirrors.hit.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 14 | [中国科学技术大学](https://mirrors.ustc.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 14 | [中国科学技术大学](https://mirrors.ustc.edu.cn) | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
| 15 | [中国科学院软件研究所](https://mirror.iscas.ac.cn) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
| 15 | [中国科学院软件研究所](https://mirror.iscas.ac.cn) | :material-close:{style="color:#EF5350"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-check:{style="color:#4DB6AC"} | :material-close:{style="color:#EF5350"} |
|
||||||
|
|
||||||
???+ question "使用帮助"
|
???+ question "使用帮助"
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ bash <(curl -sSL https://linuxmirrors.cn/docker.sh)
|
|||||||
apt-get remove -y docker* containerd.io runc && apt-get autoremove
|
apt-get remove -y docker* containerd.io runc && apt-get autoremove
|
||||||
```
|
```
|
||||||
|
|
||||||
> `Debian` `Ubuntu` `Kali`
|
> `Debian` `Ubuntu` `Kali` `Deepin`
|
||||||
|
|
||||||
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,10 @@ bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
|||||||
<td><a href="https://www.kali.org" target="_blank"><img src="/../assets/images/icon/kali-linux.svg" width="16" height="16"/></a> Kali Linux</td>
|
<td><a href="https://www.kali.org" target="_blank"><img src="/../assets/images/icon/kali-linux.svg" width="16" height="16"/></a> Kali Linux</td>
|
||||||
<td align="center">kali</td>
|
<td align="center">kali</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="https://www.deepin.org" target="_blank"><img src="/../assets/images/icon/deepin.svg" width="16" height="16" style="vertical-align: -0.15em"></a> Deepin</td>
|
||||||
|
<td align="center">deepin</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/../assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"/></a> Red Hat Enterprise Linux</td>
|
<td><a href="https://access.redhat.com/products/red-hat-enterprise-linux" target="_blank"><img src="/../assets/images/icon/redhat.svg" width="16" height="16" style="vertical-align: -0.15em"/></a> Red Hat Enterprise Linux</td>
|
||||||
<td align="center">centos/rocky</td>
|
<td align="center">centos/rocky</td>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
apt-get install -y curl
|
apt-get install -y curl
|
||||||
```
|
```
|
||||||
|
|
||||||
> `Debian` `Ubuntu` `Kali`
|
> `Debian` `Ubuntu` `Kali` `Deepin`
|
||||||
|
|
||||||
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
apt-get update
|
apt-get update
|
||||||
```
|
```
|
||||||
|
|
||||||
> `Debian` `Ubuntu` `Kali`
|
> `Debian` `Ubuntu` `Kali` `Deepin`
|
||||||
|
|
||||||
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
||||||
|
|
||||||
@@ -103,4 +103,4 @@
|
|||||||
|
|
||||||
!!! quote ""
|
!!! quote ""
|
||||||
|
|
||||||
- 如果提示 `bash: /proc/self/fd/11: No such file or directory`,请切换至 `Root` 用户执行,切换命令为 `su root`
|
- 如果提示 `bash: /proc/self/fd/11: No such file or directory`,请切换至 `Root` 用户执行,切换命令为 `sudo -i` 或 `su root`
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ hide:
|
|||||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu # (1)!
|
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu # (1)!
|
||||||
```
|
```
|
||||||
|
|
||||||
1. 通过 `--edu` 命令选项来使用中国教育单位软件源
|
1. 通过 `--edu` 命令选项来使用中国大陆教育单位软件源
|
||||||
|
|
||||||
??? quote "原始执行脚本方法"
|
??? quote "原始执行脚本方法"
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ hide:
|
|||||||
|
|
||||||
:material-numeric-1:{style="color: #3CA7E5"} 需使用 `Root` 用户执行脚本
|
:material-numeric-1:{style="color: #3CA7E5"} 需使用 `Root` 用户执行脚本
|
||||||
|
|
||||||
: 切换命令为 `sudo -i` 或 `su root`,不同系统环境使用的命令不一样,因为有些系统没有在初始安装时为 Root 用户设置固定密码所以需要使用 `sudo` 指令来提权
|
: 切换命令为 `sudo -i` 或 `su root`,不同系统环境使用的命令不一样,因为有些系统没有在初始安装时为 Root 用户设置固定密码(例如Ubuntu)所以需要使用 `sudo` 指令来提权
|
||||||
|
|
||||||
:material-numeric-2:{style="color: #3CA7E5"} 建议使用 `SSH` 远程工具
|
:material-numeric-2:{style="color: #3CA7E5"} 建议使用 `SSH` 远程工具
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
默认禁用了`deb-src`源码仓库和`proposed`预发布软件源,若需启用请将 `/etc/apt/sources.list` 文件中相关内容的所在行取消注释
|
默认禁用了`deb-src`源码仓库和`proposed`预发布软件源,若需启用请将 `/etc/apt/sources.list` 文件中相关内容的所在行取消注释
|
||||||
|
|
||||||
> `Debian` `Ubuntu` `Kali`
|
> `Debian` `Ubuntu` `Kali` `Deepin`
|
||||||
|
|
||||||
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
=== "RedHat 系 Linux / OpenCloudOS / openEuler"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user