Unifi and UNMS \ UISP on the same ubuntu server
- Get link
- X
- Other Apps
Needed a place to put my notes for installing Unifi an UNMS on an ubuntu server.
Install Ubuntu with only openssh
SSH in
Setup the Java 8 environment that is required and remove default java:
--------------------------------------------------------------------
sudo apt-get autoremove default-jdk openjdk-11-jdk
sudo apt install openjdk-8-jdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
--------------------------------------------------------------------
Next lets get some updates, and add ui to the apt sources
--------------------------------------------------------------------
sudo apt-get update && sudo apt-get install 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
--------------------------------------------------------------------
Put a hold on openjdk-11 files
--------------------------------------------------------------------
sudo apt-mark hold openjdk-11-*
--------------------------------------------------------------------
Install Unifi
--------------------------------------------------------------------
sudo apt-get update && sudo apt-get install unifi -y
--------------------------------------------------------------------
And Start the unifi service and check the status
--------------------------------------------------------------------
sudo service unifi restart
sudo service unifi status
--------------------------------------------------------------------
Lastly install unms via script
--------------------------------------------------------------------
curl -fsSL https://unms.com/v1/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh
- Get link
- X
- Other Apps
Comments
Post a Comment