说明
本页所列脚本为网络收集的SHELL
脚本,若无特别说明,脚本默认为Linux
类操作系统。
特别说明
由于操作系统的特殊性,脚本可能无法保证所有系统均能正确使用,请在保证数据备份完整的情况下,或新装干净系统的情况下使用脚本;
脚本使用前请先阅读脚本使用说明,某些脚本可能需要先安装部分组件,或要求为干净的初始系统,请一定注意;
脚本使用过程中,若出现问题,可直接访问给出的作者项目地址,向作者反馈寻求帮助;
本页所有脚本中,未做特别说明的,VPS及代表:VPS、独立服务器、虚拟机等拥有完全管理权限的运行环境。
bench.sh
- 作者:秋水逸冰
- 功能:VPS基础测试、IO测试、网络测试
- 支持:Linux
- 项目:https://github.com/teddysun/across
- 说明:
- 显示VPS所用CPU;
- 显示VPS所用系统;
- 显示VPS所用内核;
- 磁盘IO测试;
国外网络下载测试。
bash -c "$(curl -fsSL https://raw.githubusercontent.com/teddysun/across/master/bench.sh)"
Zench.sh
- 作者:主机博客
- 功能:VPS基础测试、IO测试、网络测试、路由追踪
- 支持:Linux
- 项目:https://github.com/FunctionClub/ZBench
- 说明:
- 显示VPS所用CPU;
- 显示VPS所用系统;
- 显示VPS所用内核;
- 磁盘IO测试;
- 国内、国外网络下载测试;
- 国内路由追踪。
中文版
bash -c "$(curl -fsSL https://github.com/FunctionClub/ZBench/raw/master/ZBench-CN.sh)"
英文版
sh -c "$(curl -fsSL https://github.com/FunctionClub/ZBench/raw/master/ZBench.sh)"
SuperBench.sh
- 作者:老鬼
- 功能:VPS基础测试、VPS类型测试、IO测试、网络测试
- 支持:Linux
- 项目:https://github.com/oooldking/script
- 说明:
- 显示VPS所用CPU;
- 显示VPS所用系统;
- 显示VPS所用内核;
- 显示VPS虚拟类型;
- 磁盘IO测试;
国内网络下载测试。
bash -c "$(curl -fsSL https://github.com/oooldking/script/raw/master/superbench.sh)"
SuperSpeed.sh
- 作者:老鬼
- 功能:VPS网络测试
- 支持:Linux
- 项目:https://github.com/oooldking/script
说明:一键测试国外主机到全国不同省份速度
bash -c "$(curl -fsSL https://github.com/oooldking/script/raw/master/superspeed.sh)"
秋水逸冰BBR一键脚本
- 作者:秋水逸冰
- 功能:一键安装最新内核并开启BBR
- 支持:CentOS 6+,Debian 7+,Ubuntu 12+
- 项目:https://github.com/teddysun/across
说明:不支持OpenVZ虚拟环境,内存要求 ≥ 128M
bash -c "$(curl -fsSL https://github.com/teddysun/across/raw/master/bbr.sh)"
千影Linux网络优化加速一键脚本
- 作者:千影
- 功能:一键安装BBR/锐速内核,启用BBR/BBR魔改/BBR暴力魔改/锐速加速,优化系统网络配置
- 支持:Centos 6+ / Debian 7+ / Ubuntu 14+
- 项目:https://github.com/chiakge/Linux-NetSpeed
说明:BBR魔改版不支持Debian 8、Ubuntu 18.04
bash -c "$(curl -fsSL https://github.com/chiakge/Linux-NetSpeed/raw/master/tcp.sh)"
OpenVZ平台魔改BBR之Rinetd方式一键脚本
- 作者:南琴浪
- 功能:OpenVZ架构VPS下使用Rinetd方式安装BBR
- 支持:Linux
- 项目:https://github.com/tcp-nanqinlang/lkl-rinetd
Debin、Ubuntu
单网卡使用:
bash -c "$(curl -fsSL https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh)"
多网卡使用:
bash -c "$(curl -fsSL https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh)"
CentOS
单网卡使用:
bash -c "$(curl -fsSL https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh)"
多网卡使用:
bash -c "$(curl -fsSL https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos-multiNIC.sh)"
SS 一键安装脚本(四合一)
- 作者:秋水逸冰
- 功能:一键安装 SS(四选一)服务端
- 支持:Linux
项目:https://github.com/teddysun/shadowsocks_install
bash -c "$(curl -fsSL https://github.com/teddysun/shadowsocks_install/raw/master/shadowsocks-all.sh)"
SS + KCP一键安装脚本
- 作者:老高
- 功能:一键安装 SS 及 KCP加速
- 支持:CentOS7、Ubuntu 16.04+
项目:https://github.com/phpgao/my_scripts
CentOS7:
bash -c "$(curl -fsSL https://github.com/phpgao/my_scripts/raw/master/code/ss_for_centos.sh)"
Ubuntu:
bash -c "$(curl -fsSL https://github.com/phpgao/my_scripts/raw/master/code/ss_for_ubuntu.sh)"
管理命令:
# 查看SS配置 cat /etc/ss-config.json # 查看KCP配置 /etc/kcp-config.json # 重启SS systemctl restart shadowsocks-server # 重启KCP systemctl restart kcp-server
SSR 单/多端口 一键管理脚本
- 作者:逗比
- 功能:一键安装 SSR
- 支持:CentOS 6+ / Debian 6+ / Ubuntu 14.04 +
项目:https://github.com/ToyoDAdoubi/doubi
bash -c "$(curl -fsSL https://github.com/ToyoDAdoubi/doubi/raw/master/ssr.sh)"
Brook 一键安装管理脚本
- 作者:逗比
- 功能:一键安装 Brook
- 支持:CentOS 6+ / Debian 6+ / Ubuntu 14.04 +
项目:https://github.com/ToyoDAdoubi/doubi
bash -c "$(curl -fsSL https://github.com/ToyoDAdoubi/doubi/raw/master/brook.sh)"
MTProxy 一键安装脚本
- 作者:逗比
- 功能:一键安装 MTProxy
- 支持:CentOS 7 / Debian 7+ / Ubuntu 14.04 +
项目:https://github.com/ToyoDAdoubi/doubi
bash -c "$(curl -fsSL https://github.com/ToyoDAdoubi/doubi/raw/master/mtproxy.sh)"
zmirror 一键部署脚本
- 作者:aploium
- 功能:一键搭建镜像网站
- 支持:Ubuntu 14.04/15.04(不支持HTTP2)/15.10/16.04+、Debian 8 (不支持HTTP/2)
- 项目:https://github.com/aploium/zmirror-onekey
说明:若无特殊需求,请尽量使用Ubuntu 14.04 x64,否则可能会出现安装错误问题
sudo apt-get -y update && sudo apt-get -y install python3 git && git clone https://github.com/aploium/zmirror-onekey.git --depth=1 && cd zmirror-onekey && sudo python3 deploy.py
OneinStack
- 作者:OneinStack
- 功能:一键搭建lnmp/lamp/lnmpa/lnmt/lnpp/lapp/lnmh环境
- 支持:CentOS 6+/Debian 7+/Ubuntu 12+/Fedora 27+/Deepin 15+/Aliyun Linux 15.1+
- 项目:https://oneinstack.com/
说明:请提前安装好wget、curl python
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/install.sh
LNMP一键安装包
- 作者:军哥
- 功能:一键搭建lnmp/lamp/lnmpa环境
- 支持:CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian/Deepin/Aliyun/Amazon/Mint Linux发行版
wget http://soft.vpser.net/lnmp/lnmp1.5.tar.gz -cO lnmp1.5.tar.gz && tar zxf lnmp1.5.tar.gz && cd lnmp1.5 && ./install.sh lnmp
Alpine + Caddy + PHP一键安装包
- 作者:康康
- 功能:一键搭建Alpine+Caddy+PHP+Typecho环境
- 支持:OpenVZ/LXC虚拟VPS环境
- 项目:https://github.com/ylqjgm/Alpine
说明:此一建包是为OpenVZ/LXC平台VPS所写,直接替换当前系统为Alpine并配置运行环境,请确认您的系统环境为OpenVZ/LXC再使用。
bash -c "$(curl -fsSL https://github.com/ylqjgm/Alpine/raw/master/alpine.sh)"
ServerStatus 一键管理脚本
- 作者:逗比
- 功能:一键搭建ServerStatus服务器监控程序
- 支持:CentOS 7 / Debian 7+ / Ubuntu 14.04 +
项目:https://github.com/ToyoDAdoubi/ServerStatus-Toyo
wget --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/status.sh && chmod +x status.sh # 显示客户端管理菜单 bash status.sh c # 显示服务端管理菜单 bash status.sh s
GoBackup - 自动化服务器备份工具
- 作者:huacnlee
- 功能:可自动将网站数据备份至远程存储
- 支持:macOS / Linux
项目:https://github.com/huacnlee/gobackup
curl -sSL https://git.io/gobackup | bash