VPS主机一键更换国内软件源脚本

1.00K 浏览技术资料
0

项目:

https://gitee.com/SuperManito/LinuxMirrors

https://github.com/SuperManito/LinuxMirrors

使用方法:

GNU/Linux 一键更换国内软件源脚本

bash <(curl -sSL https://cdn.jsdelivr.net/gh/SuperManito/LinuxMirrors@main/ChangeMirrors.sh)

注意:

Debian 系 Linux 默认禁用了源码仓库和预发布软件源,若需启用请将 list 源文件中相关内容的所在行 取消注释

RedHat 系 Linux 配置了所有可以配置的仓库,但有一些仓库默认没有启用,若需启用请将 repo 源文件中的 enabled=0修改成 enabled=1

+---------------------------------------------------+
| |
| ============================================= |
| |
| 欢迎使用 Linux 一键更换国内软件源脚本 |
| |
| ============================================= |
| |
+---------------------------------------------------+
 #####################################################
 提供以下国内软件源可供选择:
 #####################################################
 ❖ 阿里云 1)
❖ 腾讯云 2)
❖ 华为云 3)
❖ 网易 4)
❖ 搜狐 5)
❖ 清华大学 6)
❖ 浙江大学 7)
❖ 南京大学 8)
❖ 重庆大学 9)
❖ 兰州大学 10)
❖ 上海交通大学 11)
❖ 哈尔滨工业大学 12)
❖ 中国科学技术大学 13)
 #####################################################
 运行环境 Ubuntu 18.04 x86_64
系统时间 2022-03-27 00:12:50
 #####################################################
 └─ 请选择并输入你想使用的软件源 [ 1-13 ]:

分享到:
Qi 编辑问题 2022年3月27日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register