Last active
June 7, 2024 21:53
-
-
Save sinofool/233ed96dd85123ee5a87ad12e812d424 to your computer and use it in GitHub Desktop.
Install Unifi Controller on Debian 11 (Bullseye)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# libssl1.1, the only missing mongodb dependency. | |
# I prefer enable oldstable in case this get backport security patches | |
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/oldstable-bullseye.list | |
# MongoDB 4.4, [end of life Feb 2024](https://www.mongodb.com/support-policy/lifecycles) | |
curl -fsSL https://pgp.mongodb.com/server-4.4.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg --dearmor | |
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list | |
sudo apt-get update && sudo apt-get install mongodb-org-server -y | |
# Unifi | |
sudo apt-get update && sudo apt-get install -y ca-certificates apt-transport-https | |
curl -fsSL https://dl.ui.com/unifi/unifi-repo.gpg | sudo gpg -o /usr/share/keyrings/unifi-repo.gpg --dearmor | |
echo 'deb [ signed-by=/usr/share/keyrings/unifi-repo.gpg ] https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list | |
sudo apt-get update && sudo apt-get install unifi -y |
Updated to debian 12 bookworm and unifi 8.0. Tested on 2023-11-17, with debian 12.2 and unifi 8.0.7
Works fine on a freshly upgraded Debian 12 (amd64). Thank you!
I'll note that if you're going with a very minimal Debian 12 install, you'll need to install curl and gpg
sudo apt install gpg curl -y
Otherwise worked perfectly - excellent guide.
wget http://ftp.au.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.debD
sudo dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb
https://glennr.nl/s/unifi-network-controller
The solution
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to debian 12 bookworm and unifi 8.0.
Tested on 2023-11-17, with debian 12.2 and unifi 8.0.7