How to Install UniFi OS on Ubuntu
This guide walks through deploying UniFi OS Server on Ubuntu. You can run it on a VPS or an on-premises VM. We use Ubuntu 24.04 LTS and UniFi OS 5.x as the reference versions.
Infrastructure prerequisites
Before you begin, confirm your environment meets these minimum requirements:
- Operating system: Ubuntu 24.04 LTS (64-bit) — check Ubiquiti's documentation for other supported versions
- Compute: At least 2 vCPUs
- Memory: At least 4 GB RAM
- Storage: At least 40 GB free disk space
- Access:
rootorsudoprivileges
Note: Docker is not supported. UniFi OS Server uses Podman for container management. All container operations run under a dedicated system user (
uosserver).
Pre-deployment
If you are migrating from the legacy UniFi Network application, stop the existing service first to avoid port conflicts:
sudo systemctl stop unifi
sudo systemctl disable unifiInstallation
Phase 1: Install Podman
UniFi OS Server requires Podman and user-mode networking tools. Update packages and install dependencies:
sudo apt-get update && sudo apt-get install -y podman uidmap slirp4netns iptables curl wget ca-certificatesVerify Podman is 4.3.1 or newer:
podman --versionIf your Ubuntu repositories ship an older version, add the Kubic repository:
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_24.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list
curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_24.04/Release.key | sudo tee /usr/share/keyrings/libcontainers-unstable.asc
sudo apt-get update && sudo apt-get install -y podmanPhase 2: Download the installer
Create a staging directory and download the latest UniFi OS Server binary from the Ubiquiti download portal:
sudo mkdir -p /usr/local/src/unifi-os-server
cd /usr/local/src/unifi-os-serverReplace the URL below with the current build from Ubiquiti:
sudo curl -LO https://fw-download.ubnt.com/data/unifi-os-server/YOUR-BUILD-FILENAMEPhase 3: Run the installer
Make the binary executable and run it:
sudo chmod +x ./YOUR-BUILD-FILENAME
sudo ./YOUR-BUILD-FILENAMEThe installer provisions the Podman container stack and creates the uosserver system user.
Post-installation
Access the dashboard
When setup completes, the web UI listens on TCP port 11443:
https://<your-server-ip>:11443
Initial startup can take several minutes while the database and services initialize.
Choose your login method
During first-time setup you can either:
- Local credentials — Create a local Super Admin account on the server.
- UI SSO — Sign in with a Ubiquiti UI account for remote management via UniFi Site Manager and automated cloud backups (recommended by Ubiquiti).
Adopt devices
Devices on the same L2 network can often be adopted directly. For remote sites, use Layer 3 adoption and point devices to your controller with set-inform.
Service management
The uosserver CLI wraps Podman operations:
uosserver statusCommon commands:
start/stop— Control the container lifecyclestatus— Show container and nested service healthshell— Open a shell inside the UniFi OS containersupport— Generate a diagnostic.suppfile
To run Podman commands directly:
uosserver podman ps
uosserver podman logs unifi-osA healthy deployment shows the container as Up ... (healthy) and internal services such as unifi-core, ulp-go, and unifi running inside the container.
Troubleshooting
- Port 11443 in use — Ensure no legacy controller or other service binds this port. Open it in your firewall (
ufw) if needed. - Podman too old — Re-check
podman --versionand use the Kubic repository if required. - Corrupted install — Run
uosserver uosserver-purgeto remove containers, images, and bridges, then reinstall.
Note: At the time of writing, UniFi OS Server on self-hosted Ubuntu focuses on Network. Support for Protect, Access, and Talk may vary — verify current Ubiquiti release notes before planning your deployment.
When managed hosting makes more sense
Self-hosting works for homelabs and one-off deployments. At scale, teams often hit operational overhead: version drift, manual backups, certificate renewal, and hardware maintenance.
ControllerCloud runs managed UniFi OS instances in EU data centers with automatic updates, daily backups, and 24/7 monitoring — so you keep full network control without running the platform yourself.
Skip the setup — deploy in minutes
ControllerCloud hosts your UniFi OS instance with automatic updates, backups, and monitoring.