常用脚本

1-服务器DD脚本

wget --no-check-certificate -O AutoReinstall.sh https://disk.wej.cc/AutoReinstall.sh && bash AutoReinstall.sh

认密码:

认密码是Pwd@CentOS或
Pwd@Linux


2-测试服务器网络回程

wget -qO- git.io/besttrace | bash

这个可能不太准确

wget -q route.f2k.pub -O route && bash route

3-腾讯云卸载监控脚本

/usr/local/qcloud/stargate/admin/uninstall.sh
/usr/local/qcloud/YunJing/uninst.sh
/usr/local/qcloud/monitor/barad/admin/uninstall.sh

wget -qO- https://raw.githubusercontent.com/littleplus/TencentAgentRemove/master/remove.sh | bash

此脚本卸载完腾讯云监控,但是腾讯云文件夹并不是只有监控,为了保险起见,脚本不会 rm -fr /usr/local/qcloud

卸载完以后可以通过:ps -A | grep agent

来查看是否卸载干净,如无任何输出,则已卸载干净,如果有输出,请检查是否你自己的程序


4-服务器bench测试脚本

wget -qO- bench.sh | bash
curl -Lso- bench.sh | bash

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

5-Speedtest 测速Docker容器

docker pull badapple9/speedtest-x
docker run -d -p 9001:80 -it badapple9/speedtest-x

注意:端口为9001,防火墙需放行


相关文章

用的openwrt路由器,家里宽带申请了动态公网ip,为了方便把2...
#!/bin/bashcommand1&command2&wait从Shell脚本并行...
1.先查出MAMP下面集成的PHP版本cd/Applications/MAMP/bin/ph...
1、先输入locale-a,查看一下现在已安装的语言2、若不存在如...
BashPerlTclsyntaxdiff1.进制数表示Languagebinaryoctalhexa...
正常安装了k8s后,使用kubect工具后接的命令不能直接tab补全...