Quick Install
Prerequisites
Section titled “Prerequisites”- A fresh VPS or dedicated server
- Root or sudo access
- One of: Ubuntu 24.04, Debian 12/13, RHEL 9/10
- Ports 80, 443, 7400, 7447 open in your firewall
One-line install
Section titled “One-line install”curl -fsSL https://raw.githubusercontent.com/mralaminahamed/tundra/main/installer/install.sh | sudo bashThe installer will:
- Install PostgreSQL 18, Valkey 8, Caddy, and system dependencies
- Create the
tundrasystem user - Download and verify binaries (SHA-256 + SLSA provenance)
- Generate a master encryption key
- Run database migrations
- Configure and start systemd services
- Self-register the local server
- Print the setup URL
Setup wizard
Section titled “Setup wizard”After install, visit the printed URL (typically http://your-server-ip:7400/setup) to create your owner account.
The setup wizard is a two-step flow:
- Account — name, email, password (minimum 8 characters, strength meter shown)
- Configure — optional instance name displayed in the panel header
Once complete, sign in with your new credentials.
Manual install (advanced)
Section titled “Manual install (advanced)”-
Download binaries
Terminal window VERSION=1.0.0curl -fsSL "https://github.com/mralaminahamed/tundra/releases/download/v${VERSION}/tundrad-linux-x86_64.tar.gz" \| sudo tar -xz -C /usr/local/bin -
Create system user and directories
Terminal window sudo useradd --system --home /var/lib/tundra --shell /usr/sbin/nologin tundrasudo mkdir -p /var/lib/tundra/data /etc/tundrasudo chown -R tundra:tundra /var/lib/tundra -
Generate master key
Terminal window sudo -u tundra tundrad master-key generate --path /var/lib/tundra/data/master.key -
Configure
Terminal window sudo tee /etc/tundra/tundrad.toml <<'EOF'[server]listen_addr = "0.0.0.0"port = 7400[database]url = "postgres://tundra@/tundra?host=/var/run/postgresql"[security]master_key_path = "/var/lib/tundra/data/master.key"EOF -
Run migrations
Terminal window sudo -u tundra tundrad migrate -
Start the service
Terminal window sudo systemctl enable --now tundrad
Docker Compose
Section titled “Docker Compose”For a containerised deployment, see the Docker Compose guide.
Post-install checklist
Section titled “Post-install checklist”- Visit
/setupand create your owner account - Configure a reverse proxy with TLS (Caddy handles this automatically)
- Set up your first backup target in Backups → Targets
- Review the security hardening guide