-
-
Save latetedemelon/3d50ce27ae800fa186f22e7c2b0d9ba7 to your computer and use it in GitHub Desktop.
Install Ubiquiti Unifi Controller on Ubuntu 20.04
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
# Install Ubiquiti Unifi Controller on Debian Bullseye | |
# Stolen and modified from https://gist.github.com/davecoutts/5ccb403c3d90fcf9c8c4b1ea7616948d | |
#Required Packages | |
sudo apt update | |
sudo apt install --yes curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates libcurl3 | |
#Download Unifi | |
echo 'deb https://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.ui.com/unifi/unifi-repo.gpg | |
sudo apt update | |
#Install Correct Java Version | |
sudo apt-mark hold openjdk-11-* | |
sudo apt-mark hold openjdk-17-* | |
sudo apt remove -y openjdk-11-* openjdk-17-* | |
sudo apt install --yes openjdk-8-jre-headless unifi | |
sudo apt clean | |
sudo systemctl status --no-pager --full mongodb.service unifi.service | |
# Now log into https://unifi_controller_hostname:8443/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment