常用Linux系统一键脚本集合
收集整理了CentOS、Debian、Ubuntu等系统的常用一键脚本,包括系统升级、换源、软件安装等
系统升级脚本
一键DD脚本CentOS/Debian/Ubuntu
bash <(curl -sSLm 10 https://git.662662.xyz/dd/quick-install.sh)
一键DD脚本reinstall
bash <(curl -sSLm 10 https://git.662662.xyz/dd/reinstall-manager.sh)
Debian 逐步升级 (10 → 13)
bash <(curl -sSLm 10 https://git.662662.xyz/linux/debian/debian_upgrade.sh)
Ubuntu 逐步升级 (18.04 → 24.04)
bash <(curl -sSLm 10 https://git.662662.xyz/linux/ubuntu/ubuntu_upgrade.sh)
系统配置脚本
系统换源脚本
支持:Debian 、Ubuntu 、Rocky Linux 或 Alma Linux
bash <(curl -sSLm 10 https://git.662662.xyz/linux/change_source.sh)
Debian/Ubuntu设置中文
bash <(curl -sSLm 10 https://git.662662.xyz/linux/setup_chinese_locale.sh)
Docker软件安装脚本
Percona Server 安装
bash <(curl -sSLm 10 https://git.662662.xyz/docker/install_percona.sh)
彩虹聚合DNS管理系统
bash <(curl -sSLm 10 https://git.662662.xyz/docker/install_dnsmgr.sh)
网络工具脚本
检测回程路由脚本
支持:Debian / Ubuntu / Rocky / Alma / CentOS 等
bash <(curl -sSLm 10 https://git.662662.xyz/linux/check_backhaul.sh)
使用说明
1. 复制对应的命令到终端中执行即可自动下载并运行脚本
2. 部分脚本需要root权限,请确保您拥有足够的权限
3. 系统升级过程中请不要中断操作,以免造成系统损坏
4. 换源脚本,根据不同的发行版,提供不同的源选择
5. 所有脚本均经过测试,但使用前请确保了解脚本的具体功能