VPS常用脚本合集
常用脚本
VPS常用脚本合集

1、BBR+锐速一键脚本

1、不卸载内核:

wget -N --no-check-certificate "https://github.000060000.xyz/tcpx.sh"; chmod +x tcpx.sh

2、卸载内核:

wget -N --no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

二、测速脚本

1

wget -qO- bench.sh | bash 或 curl -Lso- bench.sh | bash

2

bash <(curl -Lso- https://git.io/superspeed)

3 三网

三、检测Netflix解锁脚本

1

bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")

2

bash <(curl -sL haoduck.com/sh/nf.sh)

3

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

4

bash <(curl -Ls https://raw.githubusercontent.com/siemenstutorials/VPSNFCHECK/master/test.sh)

四、VPS的CPU性能跑分

Geekbench 5

curl -sL yabs.sh | bash -s -- -fi

Geekbench 4

curl -sL yabs.sh | bash -s -- -fi4

老外比较爱用的

wget -qO- yabs.sh | bash

五、三网回程线路测试

1 mtr_trace

curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash

2、三网测速脚本

bash <(curl -Lso- http://yun.789888.xyz/speedtest.sh)

 

六、一键查看独服硬盘时间

1 #来自GitHub,一键查看独立服务器通电时间和硬盘型号

wget -q https://github.com/Aniverse/A/raw/i/a && bash a

七、安装docker

1 国外机

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

2 国内机

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

卸载docker

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

安装docker-compose

1 国外机

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

2 国内机

curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

 

 

 

数据来源

https://isedu.top/index.php/archives/35/

https://www.zhujizixun.com/shell

https://hostloc.com/forum.php?mod=viewthread&tid=921605&highlight=%E5%B8%B8%E7%94%A8%E8%84%9A%E6%9C%AC

 

相关导航