Skip to main content

Installing Unifi Controller on Raspberry Pi OS

A Raspberry Pi is a great budget, low power device to use for a 24/7 Unifi Controller.

SSH into your Raspberry Pi OS install, or login to the console.

Add the official repository for the Unifi Controller:

echo 'deb http://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list

Add the GPG keys so that the repository can be trusted:

sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg

Install Java. Unfortunately, as of July 2021, the latest version of Java that the Unifi Controller supports is still Java 8.

sudo apt-get install openjdk-8-jre-headless -y

Install Unifi Controller:

sudo apt-get update
sudo apt-get install unifi -y

To auto start the Unifi Controller at boot:

sudo systemctl enable unifi.service

That’s it! You can access the Unifi Controller GUI through the controller’s IP or FQDN in your we browser on port 8443.