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