个人常用VPS指令&脚本

SEOUL, SOUTH KOREA

本站仅对这些脚本进行收集或镜像,不对其可用性负责,也不对其安全性等任何方面负责。

如果执行后出现未安装wget的提示请先安装wegt

ubuntu/debian等安装wget

1
apt-get install wget -y

centos等安装wget

1
yum install wget -y

如果出现证书不信任的情况,请在wget后加上–no-check-certificate

1
bash <(wget --no-check-certificate -O- https://dl.233.mba/sh/superbenchpro.sh)

查看CPU信息

1
2
3
cat /proc/cpuinfo

uname -a #查看当前内核信息

内核更改-开启BBR,更换BBRplus等

1
bash <(curl -Lso- https://git.io/kernel.sh)

萌咖大佬的一键DD重装系统

1
2
3
4
5
##镜像文件在OneDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-od.sh && chmod +x dd-od.sh && ./dd-od.sh

##镜像文件在GoogleDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh

Linux修改主机名

1
2
3
4
5
6
#首先执行,例如hostnamectl set-hostname wrnxr
hostnamectl set-hostname <yourname>
#然后执行下面的命令,修改原主机名为刚刚设置的
vi /etc/hosts
#最后输入reboot重启机器
vi /etc/hosts

修改源

1
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)

测试脚本

1
2
3
4
#老鬼大佬的SuperBench测试脚本
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
#镜像
wget -qO- --no-check-certificate https://dl.233.mba/sh/superbench.sh | bash
1
2
3
4
#秋水逸冰大佬的UnixBench.sh
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh
1
2
#一键全测脚本
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

查看I/O bench以及system info

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

LemonBench.sh

1
2
3
4
#快速测试
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
#完整测试
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full

Superspeed三网多节点测速

1
2
3
wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh
chmod +x superspeed.sh
./superspeed.sh
1
2
3
4
5
#masonr大佬的yabs.sh
wget -qO- yabs.sh | bash
curl -sL yabs.sh | bash
#镜像
wget --no-check-certificate https://dl.233.mba/sh/yabs.sh && bash yabs.sh
1
2
3
curl -Lso- bench.sh | bash

bash <(wget -qO- https://down.vpsaff.net/linux/speedtest/superbench.sh)

流媒体解锁测试脚本

1
bash <(curl -sSL "https://git.io/JswGm")
1
2
3
bash <(curl -L -s check.unlock.media)

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

回程测试脚本

1
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh && bash testrace.sh
1
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh

个人常用VPS指令&脚本
https://d2pe.com/VPS-instructions-scripts.html
Author
D2PE
Posted on
March 6, 2022
Licensed under