ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to install the Ubiquiti UNMS on Debian 9.1

    IT Discussion
    ubiquiti unms install guide debian 9.1 ubnt
    5
    9
    10.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by gjacobse

      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

      1 Reply Last reply Reply Quote 8
      • J
        jimidero
        last edited by jimidero

        @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?

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @jimidero
          last edited by JaredBusch

          @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 question

          This 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.
          0_1508695442459_c7624532-b4cb-4a9a-b896-7ea336466c04-image.png

          J 1 Reply Last reply Reply Quote 1
          • J
            jimidero @JaredBusch
            last edited by jimidero

            @jaredbusch

            Thanks for replying.I will give a try

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @jimidero
              last edited by

              @jimidero said in How to install the Ubiquiti UNMS on Debian 9.1:

              @jaredbusch

              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 ip

              Who is hosting your DNS for you?

              1 Reply Last reply Reply Quote 0
              • NerdyDadN
                NerdyDad
                last edited by

                I easily get curl, but why are you installing netcat?

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @NerdyDad
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 1
                  • hobbit666H
                    hobbit666
                    last edited by

                    Haven't got enough EdgeSwitch out there yet to need central management
                    🙂

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @hobbit666
                      last edited by

                      @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â„¢

                      1 Reply Last reply Reply Quote 3
                      • 1 / 1
                      • First post
                        Last post