以下脚本适用 Debian、Ubuntu 系统

     1.安装 Curl 和 wget

apt update -y
apt install curl wget -y

     2.安装 unzip 和 zip

sudo apt update
sudo apt install unzip

开启BBR

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

一、IP质量体检

     1.各地质量

bash <(curl -sL Net.Check.Place)

     2.解锁质量

bash <(curl -sL IP.Check.Place)

     3.综合质量

bash <(curl -sL https://run.NodeQuality.com)

     4.流媒体解锁

bash <(curl -L -s check.unlock.media) -M 4

     5.线路检测

curl https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/backtrace/main/backtrace_install.sh -sSf | bash

再执行:

backtrace

二、融合怪

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

三、YABS

wget -qO- yabs.sh | bash

     1.不测网络 GB5

curl -sL https://yabs.sh | bash -s -- -i56

    2. 不测网络 GB6

curl -sL yabs.sh | bash -s -- -6  -ign

四、Bench

wget -qO- bench.sh | bash

五、添加SWAP

wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh

六、独服硬盘通电查询

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

七、安装docker

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

卸载docker

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

八、修改默认SSH端口,自行替换 2222

 sed -i 's/#Port\ 22/Port\ 2222/' /etc/ssh/sshd_config && systemctl reload ssh

九、一键清理 /var/log/目录下的过期日志

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