====== Ubiquiti - Controller - Install Controller on a Raspberry Pi ======
===== Update =====
sudo apt update && sudo apt -y upgrade
----
===== Install Java 8 =====
sudo apt install -y openjdk-8-jre-headless
**WARNING:** Do not install Java 11.
The newer Java is not fully working.
----
===== Register Package Source =====
Register the Ubiquity package repository and trust their pgp key:
echo 'deb http://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg
sudo apt update
----
===== Install =====
sudo apt install -y unifi
----
===== Reboot =====
sudo reboot
----
===== Access the Console =====
The UniFi Controller is now running and accessible at https://yourcontroller:8443/