mirror of
				https://gitee.com/SuperManito/LinuxMirrors
				synced 2025-11-04 16:30:26 +08:00 
			
		
		
		
	更新文档
This commit is contained in:
		@@ -6,12 +6,12 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<p align="center">
 | 
					<p align="center">
 | 
				
			||||||
  <strong>
 | 
					  <strong>
 | 
				
			||||||
    <a href="https://supermanito.github.io/LinuxMirrors">官方网站</a> 
 | 
					    <a href="https://supermanito.github.io/LinuxMirrors">官方网站</a></br></br>
 | 
				
			||||||
 | 
					    GNU/Linux 一键更换系统软件源脚本</br>
 | 
				
			||||||
 | 
					    本项目旨在为从事计算机相关行业的朋友们提供便利
 | 
				
			||||||
  </strong>
 | 
					  </strong>
 | 
				
			||||||
</p>
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- __GNU/Linux 一键更换系统软件源脚本__
 | 
					 | 
				
			||||||
- __本项目旨在为从事计算机相关行业的朋友们提供便利__
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
- ### 适配系统及版本号 <img src="./docs/assets/images/icon/linux.svg" width="16" height="16" style="vertical-align: -0.15em" alt="Linux Logo"/>
 | 
					- ### 适配系统及版本号 <img src="./docs/assets/images/icon/linux.svg" width="16" height="16" style="vertical-align: -0.15em" alt="Linux Logo"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -71,8 +71,6 @@
 | 
				
			|||||||
### LICENSE
 | 
					### LICENSE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Copyright © 2023, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE).
 | 
					Copyright © 2023, [SuperManito](https://github.com/SuperManito). Released under the [MIT](https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE).
 | 
				
			||||||
 | 
					 | 
				
			||||||
项目已设立开源许可协议,传播时请在显著位置标注来源和作者,请尊重作者的知识成果,建议通过命令直接调用脚本  
 | 
					 | 
				
			||||||
如有意见与建议您可以提交至 [Issues](https://github.com/SuperManito/LinuxMirrors/issues),如果您需要提交您的代码,请前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls)
 | 
					如有意见与建议您可以提交至 [Issues](https://github.com/SuperManito/LinuxMirrors/issues),如果您需要提交您的代码,请前往 GitHub 仓库提交 [Pull Requests](https://github.com/SuperManito/LinuxMirrors/pulls)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__如果您觉得这个项目不错对您有所帮助的话,方便在右上角给颗 ⭐ 并分享给更多的朋友吗?__
 | 
					__如果您觉得这个项目不错对您有所帮助的话,方便在右上角给颗 ⭐ 并分享给更多的朋友吗?__
 | 
				
			||||||
@@ -5,10 +5,7 @@ hide:
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
 | 
					 | 
				
			||||||
GNU/Linux 一键更换系统软件源脚本
 | 
					GNU/Linux 一键更换系统软件源脚本
 | 
				
			||||||
本项目旨在为从事计算机相关行业的朋友们提供便利
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 适配系统及版本号
 | 
					## 适配系统及版本号
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,14 +4,14 @@
 | 
				
			|||||||
| `--source` | 指定软件源地址 | 地址 |
 | 
					| `--source` | 指定软件源地址 | 地址 |
 | 
				
			||||||
| `--branch` | 指定软件源分支 | 分支名 |
 | 
					| `--branch` | 指定软件源分支 | 分支名 |
 | 
				
			||||||
| `--abroad` | 使用海外软件源 | 无 |
 | 
					| `--abroad` | 使用海外软件源 | 无 |
 | 
				
			||||||
| `--web-protocol` | 指定 WEB 协议 | http 或 https |
 | 
					| `--web-protocol` | 指定 WEB 协议 | `http` 或 `https` |
 | 
				
			||||||
| `--intranet` | 使用内网地址 | true 或 false |
 | 
					| `--intranet` | 使用内网地址 | `true` 或 `false` |
 | 
				
			||||||
| `--install-epel` | 安装 EPEL 附加软件包 | true 或 false |
 | 
					| `--install-epel` | 安装 EPEL 附加软件包 | `true` 或 `false` |
 | 
				
			||||||
| `--close-firewall` | 关闭防火墙 | true 或 false |
 | 
					| `--close-firewall` | 关闭防火墙 | `true` 或 `false` |
 | 
				
			||||||
| `--backup` | 备份原有软件源 | true 或 false |
 | 
					| `--backup` | 备份原有软件源 | `true` 或 `false` |
 | 
				
			||||||
| `--ignore-backup-tips` | 忽略覆盖备份提示 | 无 |
 | 
					| `--ignore-backup-tips` | 忽略覆盖备份提示 | 无 |
 | 
				
			||||||
| `--updata-software` | 更新软件包 | true 或 false |
 | 
					| `--updata-software` | 更新软件包 | `true` 或 `false` |
 | 
				
			||||||
| `--clean-cache` | 清理下载缓存 | true 或 false |
 | 
					| `--clean-cache` | 清理下载缓存 | `true` 或 `false` |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 示例
 | 
					## 示例
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
若不想通过交互选择默认提供的软件源,你可以使用该命令选项指定软件源地址
 | 
					若不想通过交互选择默认提供的软件源,你可以使用该命令选项指定软件源地址
 | 
				
			||||||
 | 
					
 | 
				
			||||||
``` bash
 | 
					``` bash
 | 
				
			||||||
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
 | 
					bash ChangeMirrors.sh --source mirrors.ustc.edu.cn
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### 指定软件源分支
 | 
					### 指定软件源分支
 | 
				
			||||||
@@ -88,8 +88,8 @@ bash ChangeMirrors.sh \
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
``` sh title="参考命令" linenums="1"
 | 
					``` sh title="参考命令" linenums="1"
 | 
				
			||||||
bash ChangeMirrors.sh \
 | 
					bash ChangeMirrors.sh \
 | 
				
			||||||
  --source <软件源域名> \
 | 
					  --source mirror.example.com \
 | 
				
			||||||
  --web-protocol <http/https> \
 | 
					  --web-protocol http \
 | 
				
			||||||
  --intranet false \
 | 
					  --intranet false \
 | 
				
			||||||
  --install-epel true \
 | 
					  --install-epel true \
 | 
				
			||||||
  --close-firewall true \
 | 
					  --close-firewall true \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
site_name: LinuxMirrors
 | 
					site_name: LinuxMirrors
 | 
				
			||||||
repo_name: 主要托管仓库
 | 
					repo_name: SuperManito/LinuxMirrors
 | 
				
			||||||
repo_url: https://github.com/SuperManito/LinuxMirrors
 | 
					repo_url: https://github.com/SuperManito/LinuxMirrors
 | 
				
			||||||
edit_uri: edit/main/docs/
 | 
					edit_uri: edit/main/docs/
 | 
				
			||||||
copyright: Copyright © 2021 - 2023 <a href="https://github.com/SuperManito" target="_blank"> SuperManito</a>
 | 
					copyright: Copyright © 2021 - 2023 <a href="https://github.com/SuperManito" target="_blank"> SuperManito</a>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user