Easy! Install UniFi OS Server on a Raspberry Pi

Chris Sherwood 3 min read

UniFi OS Server is self-hosted UniFi Network that can run on a Raspberry Pi! This is a step-by-step guide that walks you through the process, perfect for home networks or lab environments where you want full control over UniFi gear like access points and switches.

Network diagram: internet, non-UniFi firewall, UniFi switch, AP and a Raspberry Pi running UniFi OS Server

I used a Raspberry Pi 5 w/8GB of RAM + a 128GB microSD card for this tutorial. Minimum I would recommend is a Raspberry Pi 4 w/4GB RAM + a 32GB microSD card. Start by inserting your microSD card into your PC.

Rogue Support banner: need network, wireless, security or firewall help? Visit Rogue.Support

Raspberry Pi Imager

Download and install the Raspberry Pi Imager. Run it and choose your Raspberry Pi hardware under ‘Raspberry Pi Device.’

Raspberry Pi Imager with Raspberry Pi 5 selected as the device

Then for OS choose ‘Other General Purpose OS’ > Ubuntu > Ubuntu Server (v25.04 as of the writing of this guide).

Raspberry Pi Imager with Ubuntu Server 25.04 (64-bit) selected as the operating system

Finally choose your microSD flash drive as the Storage. Be careful that you pick the correct drive as all data will get erased!

Click ‘Next’ and you’ll be asked if you want to apply custom settings: click ‘Edit Settings.’

Raspberry Pi Imager prompt to apply OS customisation settings, with Edit Settings highlighted

Use these settings (leave everything else default):

Set hostname (can be whatever you want to call your device)
Set username and password (give it a username and password for logging into the Pi via SSH)
UNCHECK Configure Wireless LAN (we’ll be plugging in via Ethernet)
Set locale settings (set your timezone and keyboard layout)

Click on the ‘Services’ tab

Enable SSH, with password authentication

Click ‘Save’ and then ‘Yes’ to apply these custom settings.

Finally, click ‘Next’ and go through the warnings to write the Ubuntu Server OS to the microSD card.

Install UniFi OS Server

Put your microSD card into the Raspberry Pi and connect Ethernet. You can optionally connect monitor/keyboard/mouse (but you won’t need these connected long term).

Power on the Raspberry Pi and wait for Ubuntu Server to boot up completely (1-2 minutes), then press ‘ENTER’ and you should get a login prompt. Log in with the username and password you created in the Raspberry Pi Imager.

You can find your IP address by running:

ip a

In the CLI. Otherwise, you can find your IP address by looking at your DHCP lease table in the firewall (or wherever your DHCP server is running).

Once you’re in, update Ubuntu with:

sudo apt update && sudo apt upgrade -y

Next install Podman (container application for UniFi OS Server):

sudo apt install podman -y

Next, visit the UniFi OS Server release page and scroll down to ‘Downloads.’ Right-click the Linux (arm64) download and copy the URL to your clipboard.

*** NOTE: The UniFi OS Server release page is subject to change as new versions are released, so make sure you’re on the latest version.

UniFi OS Server release page downloads, copying the Linux (arm64) link address

Head back to the CLI and type:

wget (SHIFT+INS to paste the URL you just copied)

This will download the installer. Make it executable with:

chmod +x (filename you just downloaded - you can start typing it and then press TAB to auto-complete)

Now execute the file with:

./(filename) install

This will install the UniFi OS Server container. Once complete, you can add your ‘pi’ user to the uosserver group by typing:

sudo usermod -aG uosserver pi

Substitute ‘pi’ with whatever username you created in the Raspberry Pi Imager.

Now open up the displayed URL in a browser to start the UniFi OS Server installation wizard.

Terminal output after install: UOS Server is running at https://192.168.200.197:11443/

That’s it! Get through the wizard and you now have UniFi OS Server running locally on your Raspberry Pi!

And remember, if you get stuck on any of this, Rogue Support is here to help! Contact us today!

Rogue Support banner: need network, wireless, security or firewall help? Visit Rogue.Support

How we can help

Managed Networks

Let us keep your network updated, monitored, backed up and secure, from $99 a month.

Chris Sherwood

Chris Sherwood

Founder, Crosstalk Solutions

Chris founded Crosstalk Solutions in 2015. Before that, he worked as an IT administrator, a sales engineer and a director at a VoIP company. He has taught networking and VoIP on the Crosstalk Solutions YouTube channel for more than a decade.