Install UniFi Controller on Debian 12
Install LibSSL, MongoDB and OpenJDK
If not already installed, install sudo and add your username to the sudo group.
1
/sbin/adduser USERNAME sudo
Download and install LibSSL 1.1.1 needed for MongoDB
1
wget http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb -O libssl.deb && sudo dpkg -i libssl.deb
Download and install MongoDB 4.4.27 - current highest version supported UniFi Controller 8.0
1
wget https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.4/main/binary-amd64/mongodb-org-server_4.4.27_amd64.deb -O mongodb.deb && sudo dpkg -i mongodb.deb
Enable and start MongoDB
1
sudo systemctl enable mongodb && sudo systemctl start mongodb
Install the OpenJDK 17 runtime needed by the UniFi Controller
1
sudo apt install openjdk-17-jre-headless
Install UniFi Controller
Add UniFi Repository
1
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/ubiquiti-archive-keyring.gpg] https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list >/dev/null
Add GPG key for UniFi Repository
1
curl https://dl.ui.com/unifi/unifi-repo.gpg | sudo tee /usr/share/keyrings/ubiquiti-archive-keyring.gpg >/dev/null
Update APT and Install
1
sudo apt update && sudo apt install unifi
Access UniFi Controller https://IPADDRESS:8443
This post is licensed under CC BY 4.0 by the author.