The built-in installer configures a fresh Linux server for production use with a single command.
Was das Installationsprogramm tut
Wenn Sie bedrud install ausführen, passiert Folgendes:
| Schritt | Aktion |
|---|---|
| 1 | Erstellt Verzeichnisse: /etc/bedrud, /var/lib/bedrud, /var/log/bedrud |
| 2 | Kopiert Binärdatei nach /usr/local/bin/bedrud |
| 3 | Generiert config.yaml mit Ihren Einstellungen /etc/bedrud/config.yaml |
| 4 | Generiert livekit.yaml für den Mediaserver /etc/bedrud/livekit.yaml |
| 5 | Erstellt zwei systemd-Dienste: bedrud.service & livekit.service |
| 6 | Aktiviert und startet beide Dienste |
| 7 | Initialisiert SQLite-Datenbank und Zertifikatscache |
Systemd-Dienste
Das Installationsprogramm erstellt zwei systemd-Dienste:
| Dienst | Befehl | Zweck |
|---|---|---|
bedrud.service |
bedrud --run --config /etc/bedrud/config.yaml
| API + Web |
livekit.service |
bedrud --livekit --config /etc/bedrud/livekit.yaml
| Mediaserver |
Security and TLS
The installer handles security automatically:
- ACME (Let’s Encrypt): If you provide a domain and email, it sets up automatic certificate renewal.
- Self-Signed Certs: If no domain is provided, it generates a self-signed certificate so that the site still works over HTTPS. The server auto-renews the certificate daily when it’s within 30 days of expiry. Use
bedrud cert renewfor manual renewal. - Reverse Proxy: The backend acts as a reverse proxy. It receives traffic on port 443 and sends
/livekitrequests to the internal media server.
Updating
In-place upgrade (preserves config and database):
sudo bedrud update
# alias:
sudo bedrud upgradeReplaces the binary with the running executable, runs versioned install migrations and DB AutoMigrate, refreshes init units, and restarts services. See Updating.
Uninstallation
If you need to remove Bedrud, you can run:
sudo bedrud uninstallThis stops the services, deletes the init service files (systemd, OpenRC, or SysV init), and removes the configuration and data folders.
See also
- Deployment Guide - full production deployment instructions
- Appliance Mode - single-binary setup reference