常用脚本整理

JamesHan Lv2

一、DD 系统重装脚本(不支持 OpenVZ 和 LXC)

脚本 1:默认账户密码为 root / 123@@@

1
2
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh

脚本 2:推荐使用(支持自定义密码)

1
bash <(wget --no-check-certificate -qO- 'qiu.sh/dd') -d 11 -v 64 -p 自定义密码 -port 22

注意:去掉命令中的尖括号 < >,否则会报错。


二、x-ui 安装脚本(支持 Reality)

1
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

x-ui 是一个支持多协议的面板,适合搭建 V2Ray/Xray 节点。


三、VPS 跑分脚本

用于测试 VPS 性能,包括 CPU、磁盘、网络等指标:

1
2
3
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh
chmod +x ecs.sh
bash ecs.sh

四、八合一脚本(多协议一键安装)

1
2
3
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

包含 V2Ray/Xray/Trojan 等多种协议,适合高级用户快速部署。


五、VPS初始一键脚本

1
2
3
4
5
6
#一键安装运行fail2ban
bash <(curl -s https://raw.githubusercontent.com/Jameshan-112/vps-a/refs/heads/main/install-fail2ban.sh)

#一键安装运行ufw
bash <(curl -s https://raw.githubusercontent.com/Jameshan-112/vps-a/refs/heads/main/install-ufw.sh)

适合刚刚dd完的脚本。


  • 标题: 常用脚本整理
  • 作者: JamesHan
  • 创建于 : 2025-09-30 16:38:50
  • 更新于 : 2025-10-01 10:24:13
  • 链接: https://blog.ai1314.de/posts/2fe7eb7c.html
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论