Skip to content

Instantly share code, notes, and snippets.

@sinofool
Last active June 7, 2024 21:53
Show Gist options
  • Save sinofool/233ed96dd85123ee5a87ad12e812d424 to your computer and use it in GitHub Desktop.
Save sinofool/233ed96dd85123ee5a87ad12e812d424 to your computer and use it in GitHub Desktop.
Install Unifi Controller on Debian 11 (Bullseye)
# 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
@weeheavy
Copy link

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!

@breakerbar
Copy link

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.

@Hicsy
Copy link

Hicsy commented May 21, 2024

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

@0n31l
Copy link

0n31l commented Jun 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment