How to install the Ubiquiti UNMS on Debian 9.1


  • Service Provider

    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 and netcat

    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.
    0_1501712881236_96ccbb42-38a3-46a2-89f5-99756c32d202-image.png

    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.
    0_1501713191440_f20e9860-6ee3-470e-91a8-32b5e9bf847d-image.png

    And then you will be presented with the setup screen. Populate appropriately.
    0_1501713227828_18d3433a-1f00-44ff-b239-2c0a0d2b1c36-image.png

    Setup email if you want.
    0_1501713540638_04b58cf9-506f-403d-b908-ae22e560a15d-image.png

    Grab your code to put in your routers.
    0_1501713613370_3396db2f-9818-483e-a27f-1ac729dd4277-image.png

    There you go.
    0_1501713682221_e5e2937d-8bca-46ed-923a-e6f8509da153-image.png



Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.