先在宝塔里面创建一个网站 然后在终端里面cd /www/wwwroot/创建的网站名称
输入官方安装脚本(一键)
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash