Last active
April 3, 2025 03:41
-
Star
(190)
You must be signed in to star a gist -
Fork
(45)
You must be signed in to fork a gist
-
-
Save davecoutts/5ccb403c3d90fcf9c8c4b1ea7616948d to your computer and use it in GitHub Desktop.
Revisions
-
davecoutts revised this gist
Sep 19, 2020 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,17 +2,17 @@ # As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020. # Thanks to https://gist.github.com/tmuncks for posting the updated install steps. sudo apt update sudo apt install --yes apt-transport-https 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 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/ -
davecoutts revised this gist
Aug 22, 2020 . 1 changed file with 30 additions and 14 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,36 @@ # Install Ubiquiti Unifi Controller on Ubuntu 20.04. # As tested on a fresh install of ubuntu-20.04.1-live-server, August 22nd 2020. # Thanks to https://gist.github.com/tmuncks for posting the updated install steps. sudo apt update --yes sudo apt install --yes apt-transport-https 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 --yes sudo apt install --yes openjdk-8-jre-headless unifi sudo apt clean sudo systemctl status --no-pager mongodb.service unifi.service # Now log into https://unifi_controller_hostname:8443/ ## ------------------------------------------------------------------------------------------------------------------------ ## Previous install steps from when unifi still required mongodb-server <= 3.4. ## unifi has since been updated to work with mongodb-server 3.6. Which is available from the Ubuntu 20.04 main repository. ## ------------------------------------------------------------------------------------------------------------------------ # # sudo apt install --yes ca-certificates apt-transport-https # echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list # sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50 # wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - # echo 'deb https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list # sudo apt-mark hold openjdk-11-* # sudo apt update # # mongodb 3.4 dependency # wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb -P /tmp # sudo apt install --yes /tmp/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb # rm /tmp/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb # sudo apt install --yes mongodb-org # sudo apt install --yes unifi -
davecoutts created this gist
Apr 29, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ sudo apt install --yes ca-certificates apt-transport-https echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50 wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - echo 'deb https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list sudo apt-mark hold openjdk-11-* sudo apt update # mongodb 3.4 dependency wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb -P /tmp sudo apt install --yes /tmp/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb rm /tmp/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb sudo apt install --yes mongodb-org sudo apt install --yes unifi