·设为首页收藏本站📧邮箱修改🎁免费下载专区🔐设置/修改密码👽群雄群聊
返回列表 发布新帖

【NEW】常用脚本大全

148 9
发表于 2024-1-3 14:39:03 | 显示全部楼层 阅读模式

马上注册,免费下载更多dz插件网资源。

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

×
该文章基本汇集了VPS所需要的一切脚本。欢迎补充新增。维护者:http://archives.vip
欢迎联系 TG@hostlocc

【NEW】常用脚本大全 服务器硬盘,大全,wget,sh,raw

DD网络重装脚本:系统默认为debian12
moeclub大佬的脚本
  1. bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p 密码 -port 端口 -a -firmware
复制代码
leitbogioro大佬的脚本(推荐)https://loc.xiu.ee/thread-1159839-1-1.html
  1. wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh && bash InstallNET.sh -debian 12 -pwd '密码'
复制代码
beta.gs大佬的脚本
  1. wget --no-check-certificate -O NewReinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh
复制代码
5k哥的脚本 风险警告:此人在loc等论坛口碑不良,多次骂人。https://soclearn.org/1keydd/



服务器综合测试脚本(融合怪)(推荐)
  1. curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
复制代码
性能测试脚本
YABS(推荐)
  1. wget -qO- yabs.sh | bash
复制代码
流量稀缺的服务器(不测试iperf网络)
  1. curl -sL yabs.sh | bash -s -- -i
复制代码
我更喜欢geekbench5(不测试geekbench6)
  1. curl -sL yabs.sh | bash -s -- -5
复制代码
我喜欢geekbench5,但服务器流量稀缺(不测试geekbench6、不测试iperf网络)
  1. curl -sL yabs.sh | bash -s -- -5 -i
复制代码
Geekbench 5 专测脚本 NS论坛大佬@google 开发
bash <(curl -sL gb5.top)
LemonBench
  1. wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s -- --fast
复制代码
UnixBench.sh
  1. wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.shchmod +x unixbench.sh./unixbench.sh
复制代码



网络测试脚本

hyperspeed 三网测速(推荐)(未开源)
  1. bash <(curl -Lso- https://bench.im/hyperspeed)
复制代码
AutoTrace 三网回程线路显示(推荐)
  1. wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh
复制代码
backtrace 三网回程线路直接显示(小白用这个)
  1. curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
复制代码
Bench 网络带宽及硬盘读写速率(国外部分+国内部分节点)
  1. wget -qO- bench.sh | bash
复制代码
SuperBench.sh 网络带宽及硬盘读写速率(国内三网+speedtest+fast)
  1. wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
复制代码



超售测试脚本
  1. wget --no-check-certificate -O memoryCheck.sh https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh && chmod +x memoryCheck.sh && bash memoryCheck.sh
复制代码
移除virtio_balloon模块
  1. rmmod virtio_balloon
复制代码
内存填充测试
  1. apt-get updateapt-get install wget build-essential -ywget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cppgcc -l stdc++ memtester.cpp./a.out
复制代码


流媒体测试脚本
RegionRestrictionCheck(推荐)
  1. bash <(curl -L -s check.unlock.media)
复制代码
openai解锁检测
  1. bash <(curl -Ls https://github.com/ludashi2020/OpenAI-Checker/raw/main/openai.sh)
复制代码


BBR脚本
一键开启BBR(适用于较新的Debian、Ubuntu)
  1. 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 bbr
复制代码
Linux-NetSpeed(锐速/bbrplus/bbr魔改版)
  1. wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"chmod +x tcp.sh./tcp.sh
复制代码
ylx大佬的锐速/BBRPLUS/BBR2
  1. wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
复制代码

moerats大佬的添加swap脚本
  1. wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
复制代码
spiritlhl大佬的zram内存压缩脚本
  1. curl -L https://raw.githubusercontent.com/spiritLHLS/addzram/main/addzram.sh -o addzram.sh && chmod +x addzram.sh && bash addzram.sh
复制代码
cloudflare warp脚本 添加IPv4/IPv6网络(2023.12.10更新)
  1. wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
复制代码
fail2ban服务器ssh防爆破
  1. wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
复制代码
独立服务器硬盘时间
  1. wget -q https://github.com/Aniverse/A/raw/i/a && bash a
复制代码
常用软件脚本

Docker
  1. curl -sSL https://get.docker.com/ | sh
复制代码
Aria2一键安装脚本
  1. wget -N git.io/aria2.sh && chmod +x aria2.sh && bash aria2.sh
复制代码
XUI
  1. bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
复制代码
qbittorrent 4.3.9
https://loc.xiu.ee/thread-1024684-1-1.html

宝塔一键挂载硬盘脚本
  1. wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
复制代码
acme生成免费证书
  1. curl https://get.acme.sh | sh
复制代码
剑皇刷流量脚本
  1. wget https://cdn.jsdelivr.net/gh/maintell/webBenchmark@releases/download/0.6/webBenchmark_linux_x64chmod +x webBenchmark_linux_x64./webBenchmark_linux_x64 -c 64 -s http://链接.jpg?imageView2/0/interlace/1/q/95|watermark/1/image/aHR0cHM6Ly9kei14Lm9zcy1jbi1oYW5nemhvdS5hbGl5dW5jcy5jb20vd2F0ZXJtYXJrLnBuZw==/dissolve/90/gravity/SouthEast/dx/10/dy/10|imageslim
复制代码
腾讯云删除监控
  1. sudo -isystemctl stop tat_agentsystemctl disable tat_agent/usr/local/qcloud/stargate/admin/uninstall.sh/usr/local/qcloud/YunJing/uninst.sh/usr/local/qcloud/monitor/barad/admin/uninstall.shrm -f /etc/systemd/system/tat_agent.servicerm -rf /usr/local/qcloudrm -rf /usr/local/sarm -rf /usr/local/agenttoolsrm -rf /usr/local/qcloudprocess=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )for i in ${process[@]}do  for A in $(ps aux | grep $i | grep -v grep | awk '{print $2}')  do    kill -9 $A  donedone
复制代码
测试 25 端口是否开放
  1. telnet smtp.aol.com 25
复制代码
测试 IPv4 优先还是 IPv6 优先
  1. curl ip.p3terx.com
复制代码
我要说一句 收起回复

评论9

CrystαlLv.8 发表于 2024-1-3 14:39:17 | 显示全部楼层
占楼备用 ZSBD

不要做伸手党,帮顶一下让更多人看到~
30天无人回复会锁帖,麻烦大家看见后帮忙回帖一下。谢谢啦。
{:2_40:}
我要说一句 收起回复
婷姐Lv.8 发表于 2024-1-3 14:39:26 | 显示全部楼层
支持,绑定,另附帖子中推荐我的脚本详情:

论坛主贴:

https://loc.xiu.ee/thread-1159839-1-1.html

github:

https://github.com/leitbogioro/Tools
我要说一句 收起回复
TyCodingLv.8 发表于 2024-1-3 14:40:17 | 显示全部楼层
~~~~~~~~~~~~~~~~~~~~
~~~~~~0101010101~~~~~~
~~~~~~~~~~~~~~~~~~~~
我要说一句 收起回复
IT618发布Lv.8 发表于 2024-1-3 14:41:14 | 显示全部楼层
好帖,绑定【NEW】常用脚本大全 服务器硬盘,大全,wget,sh,raw
我要说一句 收起回复
婷姐Lv.8 发表于 2024-1-3 14:41:47 | 显示全部楼层
好帖,插眼:lol
我要说一句 收起回复
独家记忆Lv.8 发表于 2024-1-3 14:42:32 | 显示全部楼层
好帖,绑定
我要说一句 收起回复
拾光Lv.8 发表于 2024-1-3 14:43:13 | 显示全部楼层
好帖,插眼
我要说一句 收起回复
CrystαlLv.8 发表于 2024-1-3 14:43:58 | 显示全部楼层
不错
我要说一句 收起回复
TyCodingLv.8 发表于 2024-1-3 14:44:30 | 显示全部楼层
感谢整理分享 绑定
我要说一句 收起回复

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图

您的IP:18.119.118.99,171.107.86.56,GMT+8, 2024-5-5 19:57 , Processed in 0.225204 second(s), 149 queries , Gzip On, Redis On.

Based on Discuz! W1.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表