How to Install Ubiquiti UniFi Controller 5 on Ubuntu
Please share with your friends...

⇐ BackPageNext ⇒

UniFi 5

The UniFi Controller software is a wireless network management solution from Ubiquiti Networks. It allows you to manage multiple wireless networks using a web browser.

To install the latest release of UniFi 5, complete the following steps:

  1. Add the UniFi repository to the sources list, using the following command:
    echo 'deb stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
    In the command above, the source name stable represents the current supported UniFi release. However, if you wish to use a different release, you may use one of the following source names:
    UniFi 5.6 = oldstable
    UniFi 5.7 = stable
    UniFi 5.8 = testing
  2. Import the UniFi repository public key, using the following command:
    sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg
  3. Update the package lists, using the following command:
    sudo apt-get update
  4. Install the UniFi controller software, using the following package install command:
    sudo apt-get -y install unifi
    The download and installation process will begin and run through to completion with no further interaction required.

Setup Wizard

  1. Use a web browser to view HTTPS port 8443 on your Ubuntu machine:
    Replace <ubuntu> in the above example with the IP address of your Ubuntu machine. The UniFi Setup Wizard page will be displayed.
    UniFi Setup Wizard: Welcome
    Thank you for purchasing UniFi, Ubiquiti’s Enterprise WiFi Solution. You will be able to setup your controller in a few minutes.
    Perform a clean installation

    If you are building a brand new controller, you should perform a clean installation.

    1. Select your country and timezone, then click Next. The Configure devices page will be displayed.
      UniFi Setup Wizard: Configure devices
      Please select the devices you would like to configure.
    2. If you have any unmanaged devices on the network, you may select them here, then click Next. The Configure WiFi page will be displayed.
      UniFi Setup Wizard: Configure WiFi
      You may skip this step if you are not setting up any UniFi access points.
    3. Enter your new wireless Secure SSID and Security Key, then click Next, or click Skip to do this later. The Controller Access page will be displayed.
      UniFi Setup Wizard: Controller Access
      Please provide an administrator name and password for UniFi Controller access.
    4. Enter an Admin Name, Admin Email and Password for UniFi Controller access, then click Next. The Confirm page will be displayed.
      UniFi Setup Wizard: Confirm
      Please review the settings below. Once finished you will be redirected to the management interface.
    5. Review the settings shown, then click Finish. The Cloud Login Credentials page will be displayed.
      UniFi Cloud Login Credentials
      Please enter your account credentials.
    6. Enter your UBNT Cloud Username and Password, then click Enable Cloud Access – or alternatively click Skip to bypass cloud functionality.
    Restore from a previous backup

    If you are migrating to a new controller or recovering from a controller failure, you have the option of restoring your UniFi configuration from a previous backup.

    1. Click the restore from a previous backup link. Your web browser’s Open file window will be displayed.
      Open UniFi backup file dialog window
      Open file window
    2. Select your previously created UniFi backup file, and click Open. The UniFi Setup Wizard will begin Verifying the previously created backup file.
      Loading previous backup
      Verifying the previously created backup file
      Once the backup file has been verified successfully, a Restore From Backup? prompt will be displayed.
      Restore from backup confirmation
      Restore From Backup?
    3. Click Confirm. A message indicating that The system is being restored will be displayed.
      Please Wait: The system is being restored
      The system is being restored
    4. Click Close. You will be redirected to the Sign In page after approximately a minute.
    The Sign In page will be displayed.
    UniFi Sign In
    Sign In
  2. Enter your Username and Password, then click Sign In. The Dashboard will be displayed.
    UniFi Dashboard
⇐ BackPageNext ⇒

Ubuntu and the Ubuntu logo are trademarks of Canonical Ltd. Linux® is a registered trademark of Linus Torvalds. Mongo, MongoDB and the MongoDB leaf logo are registered trademarks of MongoDB, Inc. Oracle and Java™ are trademarks of the Oracle Corporation. UBNT and UniFi® are trademarks of Ubiquiti Networks, Inc.
How to Install Ubiquiti UniFi Controller 5 on Ubuntu

Please share with your friends...
Tagged on:                                     

2 thoughts on “How to Install Ubiquiti UniFi Controller 5 on Ubuntu

  • 17/07/2018 at 10:58 AM

    So i have run into this error after executing your script can you help me with this?
    The following packages have unmet dependencies:
    unifi : Depends: mongodb-server (< 1:3.6.0) but it is not going to be installed or
    mongodb-10gen (< 3.6.0) but it is not installable or
    mongodb-org-server (< 3.6.0) but 3.6.6 is to be installed
    E: Unable to correct problems, you have held broken packages.


Leave a Reply

Your email address will not be published. Required fields are marked *