优化部署,增加lisa dmit

This commit is contained in:
2026-08-05 09:51:12 +08:00
parent 81928c6d33
commit 2afc2cade6
9 changed files with 154 additions and 5 deletions
+7 -3
View File
@@ -52,12 +52,13 @@
```
vps-xray/
├── deploy.sh # 一键部署脚本
├── backup.sh # 备份脚本
├── uninstall.sh # 完全卸载脚本
├── upload.sh # 上传脚本(仅上传服务端必要文件)
├── .env.example # 配置模板
├── README.md # 本文件
├── vps-xray-optimized.md # Reality 方案详细文档
── vps-xray-fast.md # Fast TCP 方案详细文档
── vps-xray-fast.md # Fast TCP 方案详细文档
└── client-config/ # 客户端配置示例(本地使用,不上传服务器)
```
服务器上的文件位置:
@@ -73,8 +74,11 @@ vps-xray/
### 第一步:上传文件到 VPS
使用 `upload.sh` 只上传服务端必要文件(`deploy.sh``uninstall.sh``.env.example`),跳过文档和客户端配置:
```bash
scp -r vps-xray/ root@<VPS_IP>:/opt/vps-xray
# 在本地 vps-xray/ 目录下执行
bash upload.sh <VPS_IP>
```
### 第二步:登录 VPS 执行部署