小白常用一键脚本-VPS所需要的一切脚本

小白常用一键脚本-VPS所需要的一切脚本

网络测试类脚本
=================
三网测速
—————–

  1. bash <(curl -Lso- https://www.infski.com/files/superspeed.sh)

用途:三网多线程测速

Hyperspeed
—————–

  1. bash <(curl -Lso- https://bench.im/hyperspeed)

用途:测试三网单线程测速,比方说油管速度就是单线程

硬件测试类脚本
=================

geekbench和yabs
—————–
geekbench5

  1. curl -sL yabs.sh|bash -s — -if -fdi5

yabs

  1. curl -sL yabs.sh | bash

用途:geekbench5只测试小鸡的cpu的geekbench5的跑分,去掉了网络和硬盘测试
现在的yabs默认是6,yabs同时还提供小鸡的硬盘和网络测试,具体详细的参数看作者github的readme

bench.sh
—————–

  1. wget -qO- bench.sh | bash

用途:秋水大佬的脚本,可以显示linux小鸡的详细信息,以及硬盘和网络的测试
如果要测试小鸡国外的速度的话,用这个

硬盘测试
—————–

  1. dd bs=64k count=4k if=/dev/zero of=test oflag=dsync

用途:用dd命令测试小鸡的硬盘性能

超售检测
—————–

  1. curl https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.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

用途:检测小鸡是否超售,不过其实自己买小鸡那价格超没超售,都应该心知肚明了
有钱还是上杜甫

ip检测
=================

流媒体检测
—————–

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

用途:测试小鸡ip的流媒体以及chatgpt解锁,同时这个脚本在安卓的temux,ios上ish,mac的终端上也是能用的,可以用来判断机场的节点是否支持解锁
windows的话可以用linux子系统

四网回程测试
—————–

  1. wget -O jcnf.sh https://raw.githubusercontent.com/Netflixxp/jcnfbesttrace/main/jcnf.sh && chmod +x jcnf.sh && clear &&./jcnf.sh

用途:测试小鸡的四网回程路由,三大运营商和教育网的路由

综合脚本
=================

融合怪

  1. bash <(wget -qO- –no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

lemonbench

  1. wget -qO- https://raw.githubusercontent.com/LemonBench/LemonBench/main/LemonBench.sh | bash -s — –fast

用途:上面两个都是综合测试小鸡的各项性能,怎么用看作者的readme

魔法类
=================

xui
—————–

  1. bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

v2ray-agent
—————–

  1. 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

warp
—————–
wgcf

  1. wget -N https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh && bash menu.sh [option] [lisence]

Warp-go

  1. wget -N https://raw.githubusercontent.com/fscarmen/warp/main/warp-go.sh && bash warp-go.sh

第二版本:

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_agent
systemctl disable tat_agent
rm -rf /etc/systemd/system/tat_agent.service
rm -fr /usr/local/qcloud

ps -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

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/fcurrk/reinstall@master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh

宝塔面板7.7.0

curl -sSO https://raw.githubusercontent.com/8838/btpanel-v7.7.0/main/install/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.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
sysctl net.ipv4.tcp_available_congestion_control
lsmod | grep bbr

superbench

wget -qO- git.io/superbench.sh | bash

Bench.sh

wget -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.com/Netflixxp/jcnfbesttrace/main/jcnf.sh
bash jcnf.sh

yabs 机器跑分

 curl -sL yabs.sh | bash

一键安装docker

国外

 curl -sSL https://get.docker.com/ | sh

国内

 curl -sSL https://get.daocloud.io/docker | sh

卸载docker

sudo apt-get remove docker docker-engine
rm -fr /var/lib/docker/

流媒体测试

全媒体测试

 bash <(curl -L -s check.unlock.media)
 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
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/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.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh
wget -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.sh

Ubuntu系统请使用以下命令:

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh

Debian系统请使用以下命令:

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh

FunctionClub大佬的内存检测脚本

CentOS

yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out

Ubuntu / Debian

apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out

Aria2一键安装脚本

wget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh

qbittorrent

https://archives.vip/10.html

剑皇脚本

wget https://github.com/maintell/webBenchmark/releases/download/0.6/webBenchmark_linux_x64
chmod +x webBenchmark_linux_x64
./webBenchmark_linux_x64 -c 32 -s https://target.url

给TA打赏
共{{data.count}}人
人已打赏
大杂烩

一键设置IIS只允许cloudflare访问

2023-8-28 10:43:43

大杂烩

当Redis设置了密码安装了Redis Object Cache插件后报错(解决方法)

2023-9-12 13:01:18




重要声明

本站资源来自会员发布以及互联网收集,不代表本站立场,如有侵犯你的权益请联系管理员-车车站内发信联系 我们会第一时间进行审核删除。站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!请用户仔细辨认内容的真实性,避免上当受骗!本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。请在下载24小时内删除!


如果遇到付费才可观看的文章,建议升级终身VIP。全站所有资源任意下免费看”。本站资源少部分采用7z压缩,为防止有人压缩软件不支持7z格式,7z解压,建议下载7-zip,zip、rar解压,建议下载WinRAR

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索