本文及资源最后更新时间 2020-11-18 by sky995
注意事项
收集一些自用的shell脚本,可以放心使用。
服务器TCP回程路由测试
<span class="pln">curl http</span><span class="pun">:</span><span class="com">//tutu.ovh/bash/returnroute/test.sh|bash</span> <span class="com">#来自李子博客,适用于centos6/7,测试服务器TCP回程是否为CN2或联通移动直连线路。</span>
NALI纯真IP版本
<span class="pln">rpm </span><span class="pun">-</span><span class="pln">ivh http</span><span class="pun">:</span><span class="com">//tutu.ovh/bash/nali/nali-chunzhen-1.0.1-3.x86_64.rpm</span> <span class="pun">更新地址库可以使用</span><span class="pln">nali</span><span class="pun">-</span><span class="pln">update</span><span class="pun">命令,</span><span class="pln">IP</span><span class="pun">库更新地址:</span><span class="pln">https</span><span class="pun">:</span><span class="com">//tutu.ovh/bash/nali/QQWry.Dat </span> <span class="com">#来自李子博客,适用于centos7,集成了纯真IP库的nali,用于各种场景解析ip归属地。</span>
TCPA一键包
<span class="pln">wget http</span><span class="pun">:</span><span class="com">//tutu.ovh/tcp_opz/tcpa/tcpa.sh</span><span class="pln"> sh tcpa</span><span class="pun">.</span><span class="pln">sh </span><span class="com">#来自李子博客,适用centos7,自动更换内核并重启自动安装。</span>
IPTABLES端口中转
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/iptables-pf.sh </span> <span class="com">#iptables端口中转加速远程桌面、酸酸、ssh连接,适用于centos 6。</span>
VPS测试
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/bench.sh </span> <span class="com">#测试VPS基础信息,以及下载速度,来自秋水逸冰</span>
国内测试
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/superbench.sh</span> <span class="com">#主要包括VPS硬件信息,国内节点测试,电信、联通、移动,来自老鬼</span>
基础测试
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/ZBench.sh </span> <span class="com">#基于superbench脚本,增加了路由和ping测试</span>
网速测试
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/superspeed.sh </span> <span class="com">#主要包括国内的一些节点进行专项测试,电信、联通、移动,来自老鬼</span>
html5网速程序
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/speedtest.zip </span> <span class="com">#需要php环境,下载后解压即可运行,无须安装</span>
酸酸一键包4版本
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/shadowsocks-all.sh </span> <span class="com">#一键安装酸酸服务器端4合1版本,自主选择:python版、R版(推荐)、go版、libev版(省内存)。</span>
锐速一键包
<span class="pln">rpm </span><span class="pun">-</span><span class="pln">ivh http</span><span class="pun">:</span><span class="com">//tutu.ovh/kernel/lotserver/new/kernel-3.10.0-957.el7.x86_64.rpm --force</span><span class="pln"> reboot bash </span><span class="pun"><(</span><span class="pln">wget </span><span class="pun">--</span><span class="kwd">no</span><span class="pun">-</span><span class="pln">check</span><span class="pun">-</span><span class="pln">certificate </span><span class="pun">-</span><span class="pln">qO</span><span class="pun">-</span><span class="pln"> http</span><span class="pun">:</span><span class="com">//tutu.ovh/bash/lotserver/Install.sh) install</span> <span class="com">#更换内核,一键安装锐速。</span>
GoogleBBR一键脚本
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/bbr.sh</span> <span class="com">#一键安装并开启bbr功能,google出品的一种TCP拥塞算法,不支持openvz虚拟架构。</span>
FS一键包
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/finalspeed.sh</span> <span class="com">#一键安装finalspeed功能,支持全系架构</span>
L2TP一键包
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/l2tp.sh</span> <span class="com">#一键安装l2tp的vpn服务器端,输入3个指令即可</span>
自动备份脚本
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/AutoBackupToFtp.sh</span> <span class="com">#每天自动备份MYSQL及打包网站目录</span>
VPS跑分测试
<span class="pln">http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/unixbench.sh</span> <span class="com">#unixbench进行跑分测试,单核和多核不同跑分</span>
使用方法
<span class="pln">wget http</span><span class="pun">:</span><span class="com">//tutu.ovh/zjzx/shell/name.sh</span><span class="pln"> chmod </span><span class="pun">+</span><span class="pln">x name</span><span class="pun">.</span><span class="pln">sh </span><span class="pun">./</span><span class="pln">name</span><span class="pun">.</span><span class="pln">sh</span>