How To Easily Setup A UniFi Controller on Linux (Debian based)

How To Easily Setup A UniFi Controller on Linux (Debian based)

Introduction

Looking to boost your network’s productivity and efficiency in a friendly way? Say hello to Ubiquiti Controller on Linux! This user-friendly tool makes network management a breeze, even for those with limited tech skills. Just follow our simple installation tutorial and discover how you can unlock your network’s full potential without all the hassle. With Ubiquiti Controller, you can streamline your workflow and boost productivity with ease. So why wait? Join the countless businesses and individuals who have already seen the benefits of Ubiquiti Controller on Linux and take control of your network today!

For this installation we will be using a script

Goal

The goal of this tutorial is to show you a quick and easy way to get started with a UniFi Controller. If you plan on having this as a public facing IP you should do some additional steps to further secure your system such as only allowing SSH and/or web console access to specific IP addresses to name a few.

Prerequisites

This article assumes that you already have a Debian based Linux installation (VM or Physical) and have updated it already. It also assumes that your installation has at least 2GB of ram. It may work with less, but you might have some issues.

The following Linux versions have been tested and are supported by this script: This script and several others can be found on the creators website https://GlennR.nl

(click below to expand the list).
  • Ubuntu Precise Pangolin ( 12.04 )
  • Ubuntu Trusty Tahr ( 14.04 )
  • Ubuntu Xenial Xerus ( 16.04 )
  • Ubuntu Bionic Beaver ( 18.04 )
  • Ubuntu Cosmic Cuttlefish ( 18.10 )
  • Ubuntu Disco Dingo ( 19.04 )
  • Ubuntu Eoan Ermine ( 19.10 )
  • Ubuntu Focal Fossa ( 20.04 )
  • Ubuntu Groovy Gorilla ( 20.10 )
  • Ubuntu Hirsute Hippo ( 21.04 )
  • Ubuntu Impish Indri ( 21.10 )
  • Ubuntu Jammy Jellyfish ( 22.04 )
  • Ubuntu Kinetic Kudu ( 22.10 )
  • Ubuntu Lunar Lobster ( 23.04 )
  • Ubuntu Mantic Minotaur ( 23.10 )
  • Ubuntu Noble Numbat ( 24.04 )
  • Debian Jessie ( 8 )
  • Debian Stretch ( 9 )
  • Debian Buster ( 10 )
  • Debian Bullseye ( 11 )
  • Debian Bookworm ( 12 )
  • Debian Trixie ( 13 )
  • Debian Forky ( 14 )
  • Linux Mint 13 ( Maya )
  • Linux Mint 17 ( Qiana | Rebecca | Rafaela | Rosa )
  • Linux Mint 18 ( Sarah | Serena | Sonya | Sylvia )
  • Linux Mint 19 ( Tara | Tessa | Tina | Tricia )
  • Linux Mint 20 ( Ulyana | Ulyssa | Uma | Una )
  • Linux Mint 21 ( Vanessa | Vera | Victoria | Virginia )
  • Linux Mint 4 ( Debbie )
  • Linux Mint 5 ( Elsie )
  • Linux Mint 6 ( Faye )
  • MX Linux 18 ( Continuum )
  • Progress-Linux ( Engywuck )
  • Parrot OS ( Lory )
  • Elementary OS
  • Deepin Linux
  • Kali Linux ( rolling )

Downloading The Script

To download the script navigate to https://glennr.nl/s/unifi-network-controller

Scroll to the bottom and find the latest version (script version 7.6.4 and UniFi Controller version 8.2.93 at the time of writing this article)

There are multiple ways to download this script. You can either copy/paste it into a file on your server or run the following command:

				
					sudo wget https://get.glennr.nl/unifi/install/unifi-8.2.93.sh
				
			

Be sure to replace the version number to ensure you start with the latest script. If you do not start with the latest script it will check for an updated version and ask if you want to update, so it is not a huge issue.

Running The Script

This script will check to see for any required software and install/update it for you as needed, so you do not need to preconfigure anything.

				
					sudo bash unifi-8.2.93.sh
				
			
				
					./unifi-8.2.93.sh
				
			

Follow through the prompts and answer each question depending on what your environment requires.

Once the installation is complete it you can navigate to the web interface by going to https://yourIP:8443.

If you do not know your IP run the ifconfig command and it will give you your IP

If you want to have a signed certificate there are a few ways to go about this. You can install the certificate to the server, use something like CloudFlare Tunnels, or setup a reverse proxy such as NGinx Reverse Proxy Manager. We would suggest NGINX Reverse Proxy Manager as it allows for a central location to manage your certificates 

Conclusion

This is a quick overview of downloading and running the UniFi Network Controller Script by Glenn Rietveld. You can view the original post on the official Ubiquiti Website at: https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776

If you have any questions feel free to post a comment below or visit the link above .

Leave a Reply

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

Recent Posts

How To Easily Setup A UniFi Controller on Linux (Debian based)

Introduction Looking to boost your network’s productivity and efficiency in a friendly...

Read More
Windows Server Desktop

Update Your Windows Devices Now

This CVE Can Be Exploited Without Any User Interaction A critical security...

Read More
Installation complete

How To Install PfSense on XCP-NG

Introduction While we would never suggest installing PfSense as a VM in...

Read More

Apple Announces New iPad Pro (2024)

Source: Apple.com What’s New? The new iPad Pro unveiled at Apple’s “Let...

Read More
Ubuntu 24.04 Desktop

How To Install Apache Web Server on Ubuntu 24.04

Introduction The Apache web server is a popular open-source software that powers...

Read More
Ubuntu 24.04 Desktop

10 New & Improved Features in Ubuntu 24.04

A Brief History Ubuntu is an open-source Linux distribution that has gained immense...

Read More