找回密码
 立即注册
查看: 581|回复: 0

[分享] 【脚本收集】常用脚本备份

[复制链接]

7

主题

1

回帖

240

积分

管理员

积分
240
admin 发表于 2023-8-24 17:47:26 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
DD网络重装脚本
PS:自定义密码直接 -p 你想要的密码就行!!!
部分机器需要设置网卡,否则可以VNC,但是不能远程SSH
甲骨文、三毛、Vir、RN等大部分VPS通用,三毛、甲骨文 记得去掉 -firmware
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p 自定义密码
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware腾讯云删除监控组件
PS:如果你是腾讯云记得卸载组件 否则会导致报错 DD失败
systemctl stop tat_agentsystemctl disable tat_agentrm -rf /etc/systemd/system/tat_agent.servicerm -fr /usr/local/qcloudps -A | grep agent# 检查看是否还有腾讯云组件# kill 这个进程
· 国内VPS需要更换镜像源否则很慢!我这里使用的华为源,如果你是腾讯云后面可以换成内网源,节省流量,下面有写!
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a --mirror 'https://mirrors.huaweicloud.com/debian/' -p 自定义密码

镜像站地址
官方给出的地址列表:https://www.debian.org/mirror/list
[backcolor=var(--color-widgets) !important]镜像站地址


41合一脚本(可DD windows)
https://git.beta.gs/
wget --no-check-certificate -O NewReinstall.sh https://git.io/newbetags && chmod a+x NewReinstall.sh && bash NewReinstall.sh
如为CN主机(部分主机商已不能使用),可能出现报错或不能下载脚本的问题,可执行以下命令开始安装.
wget --no-check-certificate -O NewReinstall.sh https://cdn.jsdelivr.net/gh/fcur ... ter/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh

[backcolor=var(--color-widgets) !important]41合一系统密码

宝塔面板7.7.0curl -sSO https://raw.githubusercontent.co ... ll/install_panel.sh && bash install_panel.sh#1,屏蔽手机号sed -i "s|bind_user == 'True'|bind_user == 'XXXX'|" /www/server/panel/BTPanel/static/js/index.js#2,删除强制绑定手机js文件rm -f /www/server/panel/data/bind.pl#3,手动解锁宝塔所有付费插件为永不过期#文件路径:/www/server/panel/data/plugin.json#搜索字符串:"endtime": -1全部替换为"endtime": 999999999999#4,给plugin.json文件上锁防止自动修复为免费版chattr +i /www/server/panel/data/plugin.json常用脚本综合工具箱(强烈推荐,集成了很多脚本)wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh一键开启BBR(适用于较新的Debian、Ubuntu)echo "net.core.default_qdisc=fq" >> /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.confsysctl -psysctl net.ipv4.tcp_available_congestion_controllsmod | grep bbrsuperbenchwget -qO- git.io/superbench.sh | bashBench.shwget -qO- bench.sh | bash三网测速bash <(curl -Lso- https://git.io/superspeed_uxh)bash <(curl -Lso- https://git.io/J1SEh)wget -O jcnf.sh https://raw.githubusercontent.co ... ce/main/jcnf.shbash jcnf.shyabs 机器跑分 curl -sL yabs.sh | bash一键安装docker

国外 curl -sSL https://get.docker.com/ | sh国内 curl -sSL https://get.daocloud.io/docker | sh卸载dockersudo apt-get remove docker docker-enginerm -fr /var/lib/docker/流媒体测试全媒体测试 bash <(curl -L -s check.unlock.media) bash <(curl -L -s https://raw.githubusercontent.co ... Check/main/check.sh)奈飞测试wget -O nf https://github.com/sjlleo/netfli ... /nf_2.5_linux_amd64 && chmod +x nf && clear && ./nfbash <(curl -L -s https://raw.githubusercontent.co ... Check/main/check.sh)bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")不太常用脚本杜甫测试 wget -q https://github.com/Aniverse/A/raw/i/a && bash a单线程测试 bash <(curl -Lso- https://bench.im/hyperspeed)

直接显示回程线路curl https://raw.githubusercontent.co ... e/main/mtr_trace.sh|bash




wget https://raw.githubusercontent.co ... ter/testrace.shbash testrace.shwget -qO- git.io/besttrace | bash
测试25端口是否开放 telnet smtp.aol.com 25一键修改默认SSH端口,自行替换2222 sed -i 's/#Port\ 22/Port\ 2222/' /etc/ssh/sshd_config && systemctl reload ssh

一键清理 /var/log/目录下的过期日志 find /var/log/ -name "*.1" -exec rm -rf {} \; && find /var/log/ -name "*.log.1" -exec rm -rf {} \; && find /var/log/ -name "*.gz" -exec rm -rf {} \;

测试IPv4优先还是IPv6优先 curl ip.p3terx.com目前用过的最好用,功能最全的套warp脚本 wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh [option] [lisence]

WARP wget -N --no-check-certificate https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/multi.sh && chmod +x multi.sh && ./multi.sh宝塔一键挂载硬盘脚本Centos系统请使用以下命令:yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.shUbuntu系统请使用以下命令:wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.shDebian系统请使用以下命令:wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh


FunctionClub大佬的内存检测脚本CentOSyum install wget -yyum groupinstall "Development Tools" -ywget https://raw.githubusercontent.co ... er/memtester.cppgcc -l stdc++ memtester.cpp./a.outUbuntu / Debianapt-get updateapt-get install wget build-essential -ywget https://raw.githubusercontent.co ... er/memtester.cppgcc -l stdc++ memtester.cpp./a.outAria2一键安装脚本wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.shqbittorrent
https://archives.vip/10.html
剑皇脚本wget https://github.com/maintell/webB ... mark_linux_x64chmod +x webBenchmark_linux_x64./webBenchmark_linux_x64 -c 32 -s https://target.url


https://blog.laoda.de/archives/useful-script
https://www.wrnxr.cn/163.html

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|IDCeve

GMT+8, 2024-5-21 01:41 , Processed in 0.047171 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表