常用脚本备份

网络重装脚本
PS:自定义密码直接 -p 你想要的密码就行!!!
部分机器需要设置网卡,否则可以VNC,但是不能远程SSH

1
2
3
4
5
6
7
8
9
10
11
12
13
-firmware                额外的驱动支持
-d Debian系统 后面是系统版本号
-c Centos系统 后面是系统版本号
-v 后面写64位 32位
-a 不清楚这个干啥的但是每个脚本都带
--mirror 后面是镜像源地址
-p 后面写自定义密码
–ip-addr ifconfig -a 后获取到的 例:194.87.xxx.xxx
–ip-gate route -n 后获取到的 例 194.87.xxx.xxx
–ip-mask 255.255.xxx.xx



· 甲骨文、三毛、Vir、RN等大部分VPS通用,三毛、甲骨文 记得去掉 -firmware

1
2
3
4
5
bash  /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

1
2
3
4
wget -qO- git.io/superbench.sh  bash



Bench.sh

1
2
3
wget -qO- bench.sh  bash


三网测速

1
bash 

常用脚本备份
https://239239xyz.github.io/2022/01/11/69/
作者
DaoKe
发布于
2022年1月12日
许可协议