fix: xterm.js CDN → jsdelivr, port 8000 → 7272, custom port in installer

- Switch xterm.js from cdnjs (404) to jsdelivr (working)
- Add xterm-addon-fit for auto-resize terminal
- Change default port from 8000 to 7272 everywhere
- Install script: --port flag for custom port selection
- sed-based port injection into systemd service at install time

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Андрей Бобырев
2026-05-20 12:38:01 +03:00
parent dbe2faf7dc
commit fab7ed7912
7 changed files with 50 additions and 13 deletions

View File

@@ -18,6 +18,11 @@
curl -sSL https://raw.githubusercontent.com/andrey271192/vps_monitoring/main/install.sh | bash
```
Кастомный порт:
```bash
curl -sSL https://raw.githubusercontent.com/andrey271192/vps_monitoring/main/install.sh | bash -s -- --port 9090
```
### Требования
- Ubuntu 20.04+ / Debian 11+
- Python 3.10+
@@ -25,7 +30,7 @@ curl -sSL https://raw.githubusercontent.com/andrey271192/vps_monitoring/main/ins
## После установки
- **Панель:** `http://YOUR_IP:8000`
- **Панель:** `http://YOUR_IP:7272`
- **Логин:** `admin` / `admin`
- **Telegram:** бот запускается автоматически