# Ubuntu 部署指南 仓库:[https://git.bz121.com/dekun/jiedian.git](https://git.bz121.com/dekun/jiedian.git) | 项目 | 值 | |------|-----| | VPS IP | 你的 VPS 公网 IP | | 域名 | 已解析到 VPS 的域名 | | 管理面板 | `http://域名//`(**必须 http**) | | 部署目录 | `/opt/jiedian` | --- ## 安全组 | 端口 | 协议 | 用途 | |------|------|------| | 22 | TCP | SSH | | 80 | TCP | ACME + 面板 | | 8443–8499 | UDP | Hysteria2(多节点递增) | --- ## 一键部署 ```bash apt update && apt install -y git git clone https://git.bz121.com/dekun/jiedian.git /opt/jiedian cd /opt/jiedian cp .env.example .env # 填写 VPS_IP、DOMAIN、ACME_EMAIL bash scripts/install.sh ``` 登录面板 → 添加节点 → 复制 **Hysteria2** 链接到客户端。 --- ## 从旧版(含 VLESS)升级 ```bash cd /opt/jiedian git pull sudo bash scripts/remove-vless.sh ``` 会停用 Xray、更新面板,仅保留 Hy2。 --- ## 常用命令 ```bash systemctl status sing-box jiedian-panel python3 /opt/jiedian/scripts/render-server.py systemctl restart sing-box ``` 客户端导入见 [client-import.md](client-import.md)。