Skip to content

Linux脚本

测速工具

安装

Debian/Ubuntu

bash
sudo apt install speedtest-cli -y

CentOS/RHEL

bash

sudo yum install speedtest-cli -y

测试脚本

bash
speedtest-cli

BBR

bash
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh";chmod +x tcp.sh;./tcp.sh

国内代理:

bash
wget -N --no-check-certificate "https://mirror.ghproxy.com/https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh";chmod +x tcp.sh;./tcp.sh

或者一行一行运行:

bash
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh"
chmod +x tcp.sh
./tcp.sh

宝塔安装脚本

国际版(aaPanel)

Centos安装脚本

bash
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh aapanel

Ubuntu/Deepin安装脚本

bash
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel

Debian安装脚本

bash
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh aapanel

多合一脚本

脚本1

bash
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

脚本2

bash
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

3x-ui

bash
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

x-ui

bash
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

CFwarp

bash
wget -N https://cdn.jsdelivr.net/gh/kkkyg/CFwarp/CFwarp.sh && bash CFwarp.sh

MTP服务

bash
mkdir /home/mtproxy && cd /home/mtproxy #新建目录
curl -s -o mtproxy.sh https://raw.githubusercontent.com/sunpma/mtp/master/mtproxy.sh && chmod +x mtproxy.sh && bash mtproxy.sh #安装