LinuxMirrors 一键解决Linux换源问题 给VPS主机一键换源

1.17K 浏览技术资料
0

1、项目

1)地址:https://github.com/SuperManito/LinuxMirrors

2、命令

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

注意:

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

RedHat 系 Linux 部分仓库默认没有启用,若需启用请将 /etc/yum.repos.d 目录下相关 repo 文件中的 enabled=0 修改为 enabled=1

3、演示如下:


分享到:
Qi 更改状态以发布 2022年5月16日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register