-
Notifications
You must be signed in to change notification settings - Fork 2
Native Deployment
English | 简体中文
Use native deployment when Docker is unavailable or when system-level service management is a deliberate requirement. Docker Compose remains the recommended path for most Linux operators.
| Platform | Architectures | Artifacts |
|---|---|---|
| Debian/Ubuntu | amd64 |
Separate HBBS, HBBR, utilities, and Control Agent DEB packages. |
| Linux | amd64 |
Static hbbs, hbbr, rustdesk-utils, and Control Agent binaries plus a tar archive. |
ARM and Windows remain non-blocking compatibility targets. patch-v1.2.0 does not promise ARM or Windows release artifacts.
The Starry release HBBR is an unmodified binary built from the same pinned official source as HBBS. Starry features remain confined to HBBS.
Download only from the repository Release page and verify files against the
attached SHA256SUMS before installation.
Package names:
rustdesk-server-starry-hbbs
rustdesk-server-starry-hbbr
rustdesk-server-starry-utils
Install downloaded files with the package manager so dependencies are handled:
sudo apt install \
./rustdesk-server-starry-hbbs_*_amd64.deb \
./rustdesk-server-starry-hbbr_*_amd64.deb \
./rustdesk-server-starry-utils_*_amd64.debInspect package contents before installation when required by your change process:
dpkg-deb --info ./rustdesk-server-starry-hbbs_*.deb
dpkg-deb --contents ./rustdesk-server-starry-hbbs_*.debInstalled paths:
| Purpose | Path |
|---|---|
| Starry configuration | /etc/rustdesk-server-starry/config.yaml |
| Generated configuration reference | /etc/rustdesk-server-starry/config.example.yaml |
| HBBS/HBBR working data | /var/lib/rustdesk-server-starry |
| HBBS service | rustdesk-server-starry-hbbs.service |
| HBBR service | rustdesk-server-starry-hbbr.service |
The post-install script creates a locked-down rustdesk-starry system account
and starts the services. Check the result instead of assuming package success:
sudo systemctl status rustdesk-server-starry-hbbs --no-pager
sudo systemctl status rustdesk-server-starry-hbbr --no-pager
sudo journalctl -u rustdesk-server-starry-hbbs -n 100 --no-pager
sudo journalctl -u rustdesk-server-starry-hbbr -n 100 --no-pagerThe initial configuration is empty. Edit it, preserve owner and permissions, and restart HBBS for the initial commissioning load:
sudoedit /etc/rustdesk-server-starry/config.yaml
sudo systemctl restart rustdesk-server-starry-hbbsRelative MMDB paths resolve from /var/lib/rustdesk-server-starry, not from
/etc/rustdesk-server-starry.
Create a dedicated account and directories:
sudo useradd --system --home-dir /var/lib/rustdesk-server-starry \
--shell /usr/sbin/nologin rustdesk-starry
sudo install -d -o rustdesk-starry -g rustdesk-starry -m 0750 \
/var/lib/rustdesk-server-starry /etc/rustdesk-server-starry
sudo install -m 0755 ./hbbs-<release>-linux-amd64 /usr/local/bin/hbbs
sudo install -m 0755 ./hbbr-<release>-linux-amd64 /usr/local/bin/hbbr
sudo install -o rustdesk-starry -g rustdesk-starry -m 0640 /dev/null \
/etc/rustdesk-server-starry/config.yamlUse the repository systemd units as references, but update ExecStart if the
binaries are installed under /usr/local/bin:
After installing units:
sudo systemctl daemon-reload
sudo systemctl enable --now rustdesk-server-starry-hbbs
sudo systemctl enable --now rustdesk-server-starry-hbbrKeep both services on the same protected working directory for a single-host deployment. Do not run the binaries as an interactive root shell for long-term operation.
This section is retained for source-build compatibility only. The v1.2.0 candidate does not include or support a Windows release artifact.
Locally built Windows files can be run interactively for initial inspection:
$hbbsBinary = (Resolve-Path '.\hbbs-<release>-windows-amd64.exe').Path
$dataDirectory = 'C:\ProgramData\RustDeskServerStarry'
$configPath = Join-Path $dataDirectory 'starry\config.yaml'
New-Item -ItemType Directory -Path (Split-Path $configPath) -Force | Out-Null
if (-not (Test-Path -LiteralPath $configPath)) {
New-Item -ItemType File -Path $configPath | Out-Null
}
Push-Location $dataDirectory
try {
& $hbbsBinary "--starry-config=$configPath"
} finally {
Pop-Location
}The working directory matters because identity and runtime state are written there. The example resolves the binary first, then runs it from the persistent data directory.
For a persistent Windows service, use a service wrapper that supports console applications, such as NSSM, and review its source and installation separately. The repository provides auditable examples:
Run the installer script only from an elevated PowerShell after checking the binary paths, data path, service accounts, ACLs, and firewall. The removal script deletes service definitions but deliberately preserves all data.
On Windows, restart the service after an operator-owned configuration change. The legacy text management protocol is disabled; do not expose port 21115 through a remote proxy.
The backend ports and paths do not change by installation method:
- HBBS
/ws/idbackend:21118/TCP - unmodified bundled HBBR
/ws/relaybackend:21119/TCP - optional community API: its independently configured HTTP port
Use Reverse Proxy and TLS and adjust only the private upstream address. Certificate and exact-path requirements remain the same.
Native process status is not a complete acceptance test. Verify client registration, Secure TCP, a real desktop session, HBBR data, Geo allocation, and each enabled WebSocket mode. See Operations and Verification.
Before replacement, back up the working directory and configuration, retain the old binaries/packages, and read Upgrade and Rollback.
- Documentation home
- Getting started
- Docker image usage
- Docker deployment
- Native deployment
- Multi-node deployment
- Reverse proxy and TLS
- Client configuration
- Account/API integration
- Configuration reference
- Connection authentication
- Control Agent
- GEO rules: basics
- GEO rules: advanced
- Operations and verification
- Troubleshooting
- Upgrade and rollback
- Architecture and build
- 文档主页
- 快速开始
- Docker 镜像使用
- Docker 部署
- 原生部署
- 中心与 Relay 多节点部署
- 反向代理与 TLS
- 客户端配置
- 账户与 API 服务接入
- 配置参数详解
- 连接认证
- Control Agent
- Geo 规则:入门
- Geo 规则:进阶
- 运维与完整验证
- 常见问题排查
- 版本升级与回滚
- 架构与构建