整理一些常用的脚本(持续更新中) – 二十五画生
综合工具箱(推荐,集成了很多脚本)
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 -q route.f2k.pub -O route && bash route
四网测速度:
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 同步时间:
yum -y install ntpdate timedatectl set-timezone Asia/Shanghai ntpdate ntp1.aliyun.com
BBR
CentOS 7 BBR:
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
呆梨相关
XUI:
bash <(curl -Ls https://raw.githubusercontent.com/sprov065/x-ui/master/install.sh) 0.2.0
make-a:
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
持续更新中
最后
大家有好用的脚本欢迎推荐,有需求也欢迎留言提出来!
Q.E.D.