mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2026-03-02 09:15:36 +08:00
优化
This commit is contained in:
@@ -31,7 +31,7 @@ hide:
|
||||
---
|
||||
|
||||
无需了解相关技术,文档提供了全面的知识储备和操作指引,轻松上手
|
||||
文档还提供了一些常见问题的解决方法以及一些高级用法的用例
|
||||
文档还提供了一些常见问题的解决方法以及一些高级用法的示例
|
||||
|
||||
- :material-vector-polyline:{ .lg .middle } __广泛的系统支持__
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ hide:
|
||||
|
||||
???+ question "使用帮助"
|
||||
|
||||
:supported: 支持 :unsupport: 不支持 :incompatible: 不兼容,表示软件源分支命名不符合脚本默认规则但可以通过命令参数来使用,关于具体用法示例和各操作系统所使用的默认分支名称[详见此处](../use/command-options.md#指定软件源分支)
|
||||
:supported: 支持 :unsupport: 不支持 :incompatible: 不兼容,表示软件源分支命名不符合脚本默认规则但可以通过命令选项来使用,关于具体用法示例和各操作系统所使用的默认分支名称[详见此处](../use/command-options.md#指定软件源分支)
|
||||
|
||||
如果这里没有想使用的镜像站那可以看看其它运行模式和命令选项。软件源的速度区分刷新速度和下行速率,后者才是关键,具体请结合实际地理位置选择尝试,还可以通过[辅助工具网站](#工具网站)进行一些测试
|
||||
|
||||
@@ -241,11 +241,11 @@ hide:
|
||||
| 非洲 · 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") |
|
||||
|
||||
???+ note "帮助本项目完善更多海外软件源"
|
||||
???+ 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://admin.fedoraproject.org/mirrormanager/mirrors "https://admin.fedoraproject.org/mirrormanager/mirrors") 并且在此之前全部经过了有效性验证,但未作实际测试
|
||||
|
||||
作者没有精力持续维护列表中的这些海外镜像站,如果你想补充更多海外软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L28 "https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L28") 并按照下面的编辑规范进行修改
|
||||
作者没有精力持续维护列表中的这些海外镜像站,如果你想补充更多海外软件源或更正当前已有,请修改脚本内的 [`mirror_list_abroad 数组变量`](https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L60 "https://github.com/SuperManito/LinuxMirrors/blame/main/ChangeMirrors.sh#L60") 并按照下面的编辑规范进行修改
|
||||
|
||||
你可以在确认软件源地址无误后前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls "https://github.com/SuperManito/LinuxMirrors/pulls"),也可以 :material-source-fork: Fork 仓库后自行定制使用
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
| `--branch-portage` | 指定 Gentoo 系统 portage 仓库的软件源分支(路径) | 分支名 |
|
||||
| `--codename` | 指定 Debian 系操作系统的版本代号 | 代号名称 |
|
||||
| `--protocol` | 指定 WEB 协议 | `http` 或 `https` |
|
||||
| `--use-intranet-source` | 是否优先使用内网软件源地址 | `true` 或 `false` |
|
||||
| `--use-official-source` | 是否使用目标操作系统的官方软件源 | `true` 或 `false` |
|
||||
| `--install-epel` | 是否安装 EPEL 附加软件包 | `true` 或 `false` |
|
||||
| `--close-firewall` | 是否关闭防火墙 | `true` 或 `false` |
|
||||
| `--backup` | 是否备份原有软件源 | `true` 或 `false` |
|
||||
| `--upgrade-software` | 是否更新软件包 | `true` 或 `false` |
|
||||
| `--clean-cache` | 是否清理下载缓存 | `true` 或 `false` |
|
||||
| `--print-diff` | 是否打印源文件修改前后差异 | `true` 或 `false` |
|
||||
| `--use-intranet-source` | 优先使用内网软件源地址 | 无 |
|
||||
| `--use-official-source` | 使用目标操作系统的官方软件源 | 无 |
|
||||
| `--only-epel` | 仅更换 EPEL 软件源模式 | 无 |
|
||||
| `--ignore-backup-tips` | 忽略覆盖备份提示(即不覆盖备份) | 无 |
|
||||
| `--help` | 查看帮助菜单 | 无 |
|
||||
@@ -166,7 +166,7 @@ bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
|
||||
--source mirror.example.com \
|
||||
--protocol http \
|
||||
--intranet false \
|
||||
--use-intranet-source false \
|
||||
--install-epel true \
|
||||
--close-firewall true \
|
||||
--backup true \
|
||||
|
||||
Reference in New Issue
Block a user