30-day money-back guarantee — full refund if you are not satisfied.

How to Install UniFi OS on Ubuntu

·4 min read·ControllerCloud Team
unifiubuntuself-hostedtutorial

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: root or sudo privileges

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 unifi

Installation

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-certificates

Verify Podman is 4.3.1 or newer:

podman --version

If 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 podman

Phase 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-server

Replace the URL below with the current build from Ubiquiti:

sudo curl -LO https://fw-download.ubnt.com/data/unifi-os-server/YOUR-BUILD-FILENAME

Phase 3: Run the installer

Make the binary executable and run it:

sudo chmod +x ./YOUR-BUILD-FILENAME
sudo ./YOUR-BUILD-FILENAME

The 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:

  1. Local credentials — Create a local Super Admin account on the server.
  2. 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 status

Common commands:

  • start / stop — Control the container lifecycle
  • status — Show container and nested service health
  • shell — Open a shell inside the UniFi OS container
  • support — Generate a diagnostic .supp file

To run Podman commands directly:

uosserver podman ps
uosserver podman logs unifi-os

A 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 --version and use the Kubic repository if required.
  • Corrupted install — Run uosserver uosserver-purge to 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.