以下脚本适用 Debian、Ubuntu 系统
安装 bash: curl
sudo apt update && sudo apt install curl -y
安装 Curl 和 wget
apt update -y
apt install curl wget -y
安装 unzip 和 zip
sudo apt update
sudo apt install unzip
安装 X-ui
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
推荐:搭建 Reality 协议
一、开启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质量体检
bash <(curl -sL IP.Check.Place)
三、流媒体解锁
bash <(curl -L -s check.unlock.media) -M 4
四、融合怪
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)
五、YABS
wget -qO- yabs.sh | bash
不测网络 GB5
curl -sL https://yabs.sh | bash -s -- -i56
不测网络 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]
本文著作权归作者 [ guboysky ] 享有,未经作者书面授权,禁止转载,封面图片来源于 [ 互联网 ] ,本文仅供个人学习、研究和欣赏使用。如有异议,请联系博主及时处理。