How to install the Ubiquiti UNMS on Debian 9.1
-
If you use Ubiquiti hardware outside of the UniFi line, then you are going to want to run their UNMS platform. I highly recommend that you set one up on a cloud provider using a Debian 9.1 base. Ubiquiti builds on Ubuntu, but screw Ubuntu.
Get Debian 9.1 installed however you desire. I have a guide here for setting up a minimal install.
First up, install
curl
andnetcat
sudo apt-get install curl netcat -y
Then you download and execute the UNMS install script. It will download everything else and configure it all. Ubiquiti has chosen to use Docker for this.
curl -fsSL https://raw.githubusercontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh
Unless you like using self signed certs, get a FQDN setup for your system while it is installing. Something like unms.domain.com would be perfect.
When the install completes, you should see this.
Navigate to your FQDN and perform the setup, https://unms.jaredbusch.com for my demo system. If you navigate to the HTTP instance, it should redirect you to the HTTPS instance with a currently self signed certificate. Firefox puked on it, but Chrome worked. It will automatically attempt to setup a Let's Encrypt certificate.
And then you will be presented with the setup screen. Populate appropriately.
Setup email if you want.
Grab your code to put in your routers.
There you go.
-
@jaredbusch said in How to install the Ubiquiti UNMS on Debian 9.1:
Unless you like using self signed certs, get a FQDN setup for your system while it is installing. Something like unms.domain.com would be perfect.
Hello how can i acquire FQDN?
-
@jimidero said in How to install the Ubiquiti UNMS on Debian 9.1:
@jaredbusch said in How to install the Ubiquiti UNMS on Debian 9.1:
Unless you like using self signed certs, get a FQDN setup for your system while it is installing. Something like unms.domain.com would be perfect.
Hello how can i aquire ''Unless you like using self signed certs, get a FQDN setup for your system while it is installing. Something like unms.domain.com would be perfect.'' like yours "https://unms.jaredbusch.com".
Sorry for my noob questionThis is just standard domain name management. Sign into your DNS management solution (I use Cloudflare for all my domains) and add a record that points to your IP address.
Here is an obviously fake example.
-
Thanks for replying.I will give a try
-
@jimidero said in How to install the Ubiquiti UNMS on Debian 9.1:
Thanks for replying. Probably i release that i am more noob that i thought!!
Already made an account but cannot get it about adding record that points to my ipWho is hosting your DNS for you?
-
I easily get curl, but why are you installing netcat?
-
@nerdydad said in How to install the Ubiquiti UNMS on Debian 9.1:
I easily get curl, but why are you installing netcat?
Because it is required. Why is it required and not already a dependency of another package? I have no idea.
-
Haven't got enough EdgeSwitch out there yet to need central management
-
@hobbit666 said in How to install the Ubiquiti UNMS on Debian 9.1:
Haven't got enough EdgeSwitch out there yet to need central management
Those are not in yet anyway. Soon