更新

apt update && apt upgrade -y

安装curl wget sudo unzip

apt install curl wget sudo unzip -y

2G swarp

sudo bash -c "fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo '/swapfile none swap sw 0 0' >> /etc/fstab"

bbr+fq

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

ipv4优先

sed -i 's/#precedence ::ffff:0:0\/96  100/precedence ::ffff:0:0\/96  100/' /etc/gai.conf

nexttrace

curl nxtrace.org/nt | bash

江苏三网回程

nexttrace 218.2.2.2
nexttrace 112.87.86.194
nexttrace 112.4.0.55

curl ip.sb

curl ip.sb

ipv4 geo

curl ipv4.ping0.cc/geo

ipv6 geo

curl ipv6.ping0.cc/geo

ipv6 ping

ping 2001:4860:4860::8888

流媒体检测

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

ip质量检测

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

超售检测

wget --no-check-certificate -O memoryCheck.sh https://raw.githubusercontent.com/uselibrary/memoryCheck/main/memoryCheck.sh && chmod +x memoryCheck.sh && bash memoryCheck.sh

硬盘测试

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

三网测速

bash <(wget -qO- bash.spiritlhl.net/ecs-net)

bench.sh

curl -Lso- bench.sh | bash

yabs

curl -sL yabs.sh | bash

geekbench5

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

八合一脚本

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

xray官方脚本

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install

singbox官方脚本

bash <(curl -fsSL https://sing-box.app/deb-install.sh)

warp

warp-go

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

wgcf

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh