在Linux(Ubuntu 22/24 、Debian 12) VPS主机上安装X-UI的操作:指令 9)或 4) 1)vps融合怪测试脚本:(一般用不上) curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh 参考:https://github.com/spiritLHLS/ecs 2)启用 BBR 加速 (一般用不上)选项 2 , 7. wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh 3)更新证书 (一般用不上) ~/.acme.sh/acme.sh --issue -d myself.vpsvpn.club --upgrade 4)x-ui搭建代码:(老版本) bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh) 额外注意的部分:如果不能搭建x-ui,先进行环境搭建 apt update -y && apt install -y curl && apt install -y socat 5)检查解锁tiktok脚本 (一般用不上) bash <(curl -s https://raw.githubusercontent.com/lmc999/TikTokCheck/main/tiktok.sh) 重启:reboot now 7)Linux命令大全手册 https://www.linuxcool.com 8)极光面板 (VPS中转) (一般用不上) https://github.com/Aurora-Admin-Panel/deploy bash <(curl -fsSL https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/install.sh) 9)3X-UI (新版-23-6-19) apt update -y apt upgrade -y bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) apt install lsof btop htop unzip socat wget curl (非必要) apt install net-tools iproute2 (非必要) 10)修改SSH端口增强主机安全 (-13-6) bash <(curl -sL kejilion.sh) 11)服务器的带宽测试 apt install iperf3 iperf3 -s (服务器) iperf3 -c 45.207.101.123 或 iperf3 -c 45.207.101.123 -R (工作机PC) win客户端:https://github.com/ar51an/iperf3-win-builds/releases/latest