更新文档

This commit is contained in:
Super Manito
2025-04-22 18:12:18 +08:00
parent cf11187186
commit 2360f1b584
8 changed files with 275 additions and 271 deletions

View File

@@ -636,6 +636,7 @@ function run_end() {
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn" "🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" "🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com"
"🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" "🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com"
"🔥 云悠YUNYOO · 全球高性价比云服务器低至15.99元起 ➜ https://yunyoo.cc"
) )
echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n" echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n"
for ad in "${sponsor_ad[@]}"; do for ad in "${sponsor_ad[@]}"; do

View File

@@ -345,6 +345,7 @@ function run_end() {
"🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn" "🔥 林枫云 · 专注独立IP高频VPSR9/i9系列定制 ➜ https://www.dkdun.cn"
"🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com" "🔥 乔星欢 · 香港4核4G服务器28元起_香港500Mbps大带宽 ➜ https://www.qiaoxh.com"
"🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com" "🔥 速拓云 · 国内高防云服务器新用户享5折优惠 ➜ https://www.sutuoyun.com"
"🔥 云悠YUNYOO · 全球高性价比云服务器低至15.99元起 ➜ https://yunyoo.cc"
) )
echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n" echo -e "\n✨ 脚本运行完毕,更多使用教程详见官网 👉 \033[3mhttps://linuxmirrors.cn\033[0m\n"
for ad in "${sponsor_ad[@]}"; do for ad in "${sponsor_ad[@]}"; do

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -91,6 +91,25 @@ hide:
- ### 命令选项(高级用法) - ### 命令选项(高级用法)
<!-- termynal -->
```
$ bash <(curl -sSL https://linuxmirrors.cn/docker.sh) --help
命令选项(名称/含义/值)
--source 指定 Docker CE 源地址(域名或IP) 地址
--source-registry 指定镜像仓库地址(域名或IP) 地址
--branch 指定 Docker CE 源仓库(路径) 仓库名
--codename 指定 Debian 系操作系统的版本代号 代号名称
--designated-version 指定 Docker CE 安装版本 版本号
--protocol 指定 Docker CE 源的 WEB 协议 http 或 https
--install-latest 是否安装最新版本的 Docker Engine true 或 false
--close-firewall 是否关闭防火墙 true 或 false
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
--ignore-backup-tips 忽略覆盖备份提示 无
--pure-mode 纯净模式,精简打印内容 无
```
| 名称 | 含义 | 选项值 | | 名称 | 含义 | 选项值 |
| :-: | :-: | :-: | | :-: | :-: | :-: |
| `--source` | 指定 `Docker CE` 源地址(域名或IP) | `地址` | | `--source` | 指定 `Docker CE` 源地址(域名或IP) | `地址` |
@@ -107,27 +126,6 @@ hide:
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>` > 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
<!-- termynal -->
```
$ bash DockerInstallation.sh --help
命令选项(名称/含义/值)
--source 指定 Docker CE 源地址(域名或IP) 地址
--source-registry 指定镜像仓库地址(域名或IP) 地址
--branch 指定 Docker CE 源仓库(路径) 仓库名
--codename 指定 Debian 系操作系统的版本代号 代号名称
--designated-version 指定 Docker CE 安装版本 版本号
--protocol 指定 Docker CE 源的 WEB 协议 http 或 https
--install-latest 是否安装最新版本的 Docker Engine true 或 false
--close-firewall 是否关闭防火墙 true 或 false
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
--ignore-backup-tips 忽略覆盖备份提示 无
--pure-mode 纯净模式,精简打印内容 无
问题报告 https://github.com/SuperManito/LinuxMirrors/issues
```
- #### 指定 Docker CE 软件源地址 - #### 指定 Docker CE 软件源地址
``` { .bash .no-copy } ``` { .bash .no-copy }
@@ -210,7 +208,7 @@ hide:
!!! quote "" !!! quote ""
非新装环境可能会在运行脚本后遇到 `Docker` 服务无法启动的情况,建议重新安装来解决,卸载不会删除镜像和容器数据 非新装环境可能会在运行脚本后遇到 `Docker` 服务无法启动的情况,建议重新安装来解决,卸载不会删除本地镜像和容器数据
卸载命令如下: 卸载命令如下:

View File

@@ -14,7 +14,7 @@ hide:
<figcaption><h3 style="font-style: normal !important"><strong>成为赞助商</strong></h3></figcaption> <figcaption><h3 style="font-style: normal !important"><strong>成为赞助商</strong></h3></figcaption>
<figcaption> <figcaption>
<button class="md-button md-button--primary" style="padding: 4px 8px 0 8px; border-radius: 5px" title="https://afdian.com/a/SuperManito" onclick="window.open('https://afdian.com/a/SuperManito')"> <button class="md-button md-button--primary" style="padding: 4px 8px 0 8px; border-radius: 5px" title="https://afdian.com/a/SuperManito" onclick="window.open('https://afdian.com/a/SuperManito')">
<img src="/assets/images/sponsor/ifdian.png" alt="1Panel" style="width: 120px" /> <img src="/assets/images/sponsor/ifdian.png" alt="1Panel" style="user-select: none; -webkit-user-select: none; width: 120px" />
</button> </button>
</figcaption> </figcaption>
<figcaption><p style="color: var(--md-default-fg-color--light)">请前往作者爱发电主页查看说明并与作者取得联系</p></figcaption> <figcaption><p style="color: var(--md-default-fg-color--light)">请前往作者爱发电主页查看说明并与作者取得联系</p></figcaption>

View File

@@ -17,6 +17,9 @@
<a class="sponsor-item sponsor-flex-item" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠"> <a class="sponsor-item sponsor-flex-item" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠">
<img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" /> <img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" />
</a> </a>
<a class="sponsor-item sponsor-flex-item" target="_blank" href="https://yunyoo.cc/aff/KPTJHNWM" title="云悠YUNYOO - 全球高性价比云服务器低至15.99元起">
<img src="/assets/images/sponsor/yunyoo.png" alt="云悠YUNYOO" />
</a>
<a class="sponsor-item sponsor-flex-item" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台"> <a class="sponsor-item sponsor-flex-item" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台">
<img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" /> <img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" />
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" /> <img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" />

View File

@@ -28,6 +28,9 @@
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠"> <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://www.sutuoyun.com" title="速拓云 - 国内高防云服务器新用户享5折优惠">
<img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" /> <img src="/assets/images/sponsor/sutuoyun.svg" alt="速拓云" />
</a> </a>
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://yunyoo.cc/aff/KPTJHNWM" title="云悠YUNYOO - 全球高性价比云服务器低至15.99元起">
<img src="/assets/images/sponsor/yunyoo.png" alt="云悠YUNYOO" />
</a>
<a class="sponsor-item sponsor-item-toc" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台"> <a class="sponsor-item sponsor-item-toc" target="_blank" href="https://arcadia.cool" title="一站式代码运维平台">
<img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" style="margin: 0 6px" /> <img src="/assets/images/sponsor/arcadia-light.png#only-light" alt="Arcadia" style="margin: 0 6px" />
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" style="margin: 0 6px" /> <img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia" style="margin: 0 6px" />

View File

@@ -387,6 +387,41 @@ hide:
## 命令选项(高级用法) ## 命令选项(高级用法)
<!-- termynal -->
```
$ bash <(curl -sSL https://linuxmirrors.cn/main.sh) --help
命令选项(名称/含义/值)
--abroad 使用境外以及海外软件源 无
--edu 使用中国大陆教育网软件源 无
--source 指定软件源地址(域名或IP) 地址
--source-epel 指定 EPEL 附加软件包仓库的软件源地址(域名或IP) 地址
--source-security 指定 Debian 系统 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
--install-epel 是否安装 EPEL 附加软件包 true 或 false
--backup 是否备份原有软件源 true 或 false
--upgrade-software 是否更新软件包 true 或 false
--clean-cache 是否在更新软件包后清理下载缓存 true 或 false
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
--only-epel 仅更换 EPEL 软件源模式 无
--ignore-backup-tips 忽略覆盖备份提示 无
--print-diff 打印源文件修改前后差异 无
--pure-mode 纯净模式,精简打印内容 无
```
| 名称 | 含义 | 选项值 | | 名称 | 含义 | 选项值 |
| - | - | :-: | | - | - | :-: |
| `--abroad` | 使用境外以及海外软件源 | 无 | | `--abroad` | 使用境外以及海外软件源 | 无 |
@@ -420,43 +455,6 @@ hide:
> 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>` > 软件源完整格式 `<WEB协议>://<软件源地址(域名或IP)>/<软件源仓库(路径)>`
<!-- termynal -->
```
$ bash ChangeMirrors.sh --help
命令选项(名称/含义/值)
--abroad 使用境外以及海外软件源 无
--edu 使用中国大陆教育网软件源 无
--source 指定软件源地址(域名或IP) 地址
--source-epel 指定 EPEL 附加软件包仓库的软件源地址(域名或IP) 地址
--source-security 指定 Debian 系统 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
--install-epel 是否安装 EPEL 附加软件包 true 或 false
--backup 是否备份原有软件源 true 或 false
--upgrade-software 是否更新软件包 true 或 false
--clean-cache 是否在更新软件包后清理下载缓存 true 或 false
--clean-screen 是否在运行前清除屏幕上的所有内容 true 或 false
--only-epel 仅更换 EPEL 软件源模式 无
--ignore-backup-tips 忽略覆盖备份提示 无
--print-diff 打印源文件修改前后差异 无
--pure-mode 纯净模式,精简打印内容 无
问题报告 https://github.com/SuperManito/LinuxMirrors/issues
```
下面是一些高级用法的举例 下面是一些高级用法的举例
- ### 指定软件源地址 - ### 指定软件源地址