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.

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.
Raspberry Pi Imager
Download and install the Raspberry Pi Imager. Run it and choose your Raspberry Pi hardware under ‘Raspberry Pi Device.’

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

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.’

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.

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.

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!
