整理一些常用的脚本

综合工具箱

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

DD

1、MoeClub脚本

wget --no-check-certificate -qO AutoDD.sh 'http://git.io/autodd.sh' && bash AutoDD.sh

安装后默认端口: 22
安装后默认用户名: root
安装后默认密码: MoeClub.org

2、另一位大佬的脚本

wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh
  • CentOS默认密码Pwd@CentOS 其它系统Pwd@Linux
  • OpenVZ / LXC 架构系统不适用

来源:https://blog.hicasper.com/post/135.html 参考:https://www.ydyno.com/archives/1245.html 感谢大佬的付出!

测试相关

最全测速脚本

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

普通测速

直接显示回程线路:
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

测试25端口是否开放

telnet smtp.aol.com 25

测试IPv4优先还是IPv6优先

curl ip.p3terx.com

流媒体测试

全媒体测试:

bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)

奈飞测试:

wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf

WARP

wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh

之后进入脚本快捷方式为 bash multi.sh

时间

CentOS 同步时间:

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

防火墙

CentOS 关闭防火墙:

systemctl start supervisord
systemctl disable firewalld
systemctl stop firewalld

宝塔相关

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

 

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容