
本文收集整理了各类 Linux、Windows 系统管理与测速脚本,支持 DD 重装、系统信息检测、网络测速、流媒体解锁、Docker 安装等实用工具,便于运维、测评和日常管理。
一、ChatGPT 访问检测脚本
二、综合工具箱
集成了多种实用脚本,强烈推荐
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
三、DD 重装脚本(网络重装 Linux/Windows)
1. 甲骨文(Oracle)平台
Debian 10:
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 10 -v 64 -p "自定义root密码" -port "自定义ssh端口"
Ubuntu 20.04:
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -u 20.04 -v 64 -p "自定义root密码" -port "自定义ssh端口"
2. MoeClub 脚本特色
支持 Oracle AMD/ARM 平台
支持 Ubuntu / Debian / CentOS
可自定义 SSH 端口
-port内置网络参数计算和 GRUB 自动定位
3. 秋水逸冰 Windows DD 镜像
支持 UEFI 启动多版本 Windows:
Windows Server 2012 / 2016 / 2019 / 2022
Windows 10 LTSC / Windows 11 Pro
BIOS 启动版本另见官网链接:
四、Linux 系统信息 & 测速工具
1. 系统信息检测
wget -qO- bench.sh | bash
2. GeekBench 跑分
curl -sL yabs.sh | bash # GB6 附带带宽测试
curl -sL yabs.sh | bash -s -- -i # GB6 不测试带宽
3. 单线程 & 网络测速
bash <(curl -Lso- https://bench.im/hyperspeed)
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
wget -qO- git.io/superbench.sh | bash
4. 回程线路 & 四网测速
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh | bash
wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh && bash jcnf.sh
bash <(curl -Lso- https://git.io/J1SEh)
五、流媒体解锁与测试
奈飞测试:
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && ./nf
全媒体区域解锁测试:
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
WARP 一键安装:
wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh
六、服务器时间同步
yum -y install ntpdate
timedatectl set-timezone Asia/Shanghai
ntpdate ntp1.aliyun.com
七、BBR 加速
检查内核版本:
uname -srm
开启 BBR:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr
八、Docker 安装与管理
1. 安装 Docker(海外服务器)
wget -qO- get.docker.com | bash
2. 卸载 Docker
sudo apt-get purge docker-ce docker-ce-cli containerd.io
sudo rm -rf /var/lib/docker /var/lib/containerd
3. Docker Compose
新版(命令
docker compose)旧版安装:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
九、防火墙
CentOS 关闭防火墙:
systemctl stop firewalld
systemctl disable firewalld
十、宝塔 & aapanel 面板相关
去除登录限制:
sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js
rm -rf /www/server/panel/data/bind.pl
破解 pro 功能(不保证可用):
编辑 /www/server/panel/class/panelplugin.py,添加:
softList['pro'] = 1
for soft in softList['list']:
soft['endtime'] = 0
十一、呆梨相关脚本
XUI 安装:
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
Mack-a V2Ray 安装:
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
十二、使用注意事项
OpenVZ / LXC 架构不适用部分 DD 脚本
CentOS 默认密码:
Pwd@CentOS其它 Linux 系统默认密码:
Pwd@Linux国内镜像源推荐:
清华、阿里、华为、北邮、南京大学等
DD 脚本使用前请备份重要数据
脚本来源参考:https://blog.hicasper.com/post/135.html、https://www.ydyno.com/archives/1245.html
✅ 总结
本文整理了 Linux/Windows 系统 DD、测速、流媒体、Docker、BBR、面板管理等工具脚本合集,便于运维人员快速部署、测试和管理服务器。脚本持续更新,欢迎读者推荐和反馈。
评论区