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 hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment