Documentation / Get started
Get started
Requirements
Prepare your server before installation.
System Requirements
- OS: Ubuntu 22.04 LTS+, Debian 12+ (x86_64)
- RAM: Minimum 1 GB (2 GB recommended)
- CPU: 1 vCPU or higher
- Disk: 10 GB+ SSD recommended
- Ports: 80 (HTTP) and 443 (HTTPS) accessible to the public internet
What the Deploy Script Automates:
- Package Provisioning: Installs
git, curl, build-essential, and sqlite3. - Web Server & SSL: Installs Caddy v2, configures reverse-proxy with streaming flush intervals, and automatically issues Let's Encrypt certificates.
- Instant Precompiled Binaries: Fetches precompiled Rust release binaries and React dashboard bundles directly from GitHub releases .
- Security & Cryptography: Auto-generates 5 high-entropy 32-byte cryptographic keys (JWT, session cookies, password pepper, URL signatures) with
chmod 600 permissions. - Systemd Daemon: Registers and starts
/etc/systemd/system/ownmediahost.service running as dedicated unprivileged user ownmediahost.
Based on the supplied platform and API documentation. View project source ↗