The Ultimate Guide to Install UniFi Controller on Debian

Richard 8 Min Read
Install UniFi Controller on Debian

Are you ready to take control of your UniFi network on a Debian system? Look no further! In this guide, we’ll provide you with a step-by-step process to install UniFi Controller on Debian. Let’s get started!

Before You Begin:

  1. Ensure that your Debian Linux VPS server or virtual machine meets the minimum system requirements.
  2. Make sure you have root access or administrative privileges on the server.
  3. Establish a stable internet connection.

Get Started With UniFi Controller on Debian in 9 Steps

Recommended Service: Buy Linux VPS

Step 1: Update Your System

Start by updating your system and installing necessary packages. First, open the terminal then run the following commands:

sudo apt update
sudo apt upgrade

Step 2: Install Java Runtime Environment (JRE)

UniFi Controller requires Java to run. Install OpenJDK using the following command:

sudo apt install default-jre
Step 3: Add the UniFi Repository

To simplify the installation process, add the UniFi repository to your Debian system by running the following command:

echo 'deb stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list

Step 4: Add UniFi Repository Key

To authenticate the UniFi repository, add the appropriate key with the command:

sudo apt-key adv --keyserver --recv C0A52C50

Step 5: Update and Install UniFi Controller

Update your system once again and install UniFi Controller using the following commands:

sudo apt update
sudo apt install unifi

Step 6: Enable Automatic Startup

UniFi Controller should start automatically when the server boots up. Enable automatic startup with this command:

sudo systemctl enable unifi

Step 7: Start UniFi Controller

Start the UniFi Controller service by entering:

sudo systemctl start unifi

Step 8: Configure Firewall

Ensure that the firewall allows incoming traffic on the necessary ports. If you’re using UFW, run the following commands:

sudo ufw allow 8080
sudo ufw allow 8443
sudo ufw allow 8880
sudo ufw allow 8843
sudo ufw allow 3478/udp
sudo ufw allow 6789

Step 9: Access the UniFi Controller Web Interface

To access the web interface, open your web browser then navigate to the following address:


Follow the on-screen instructions to complete the UniFi Controller setup.

Congratulations! You’ve successfully installed UniFi Controller on Debian. Enjoy managing your UniFi network with ease!

Recommended Article: How To Install vnStat On Debian 10 [Complete]

Additional Tips:

– Consider securing your UniFi Controller installation by implementing HTTPS. You can obtain an SSL certificate and configure it in UniFi Controller settings.
– Regularly update your UniFi Controller to benefit from the latest features and bug fixes. Use the “apt update” and “apt upgrade” commands to update the software.
– Backup your UniFi Controller data periodically to avoid any data loss. UniFi provides built-in backup and restore functionality within its web interface.

Note: This guide assumes you have basic knowledge of Debian and using the terminal. If you encounter any issues, consult the official UniFi documentation or seek assistance from the UniFi community.


By following our step-by-step guide, you’re now equipped with the knowledge to easily install the UniFi Controller on Debian. Discover the power of centralization, enhanced network control, and seamless management as you embark on your UniFi journey. Get ready to experience the magic of UniFi Controller on Debian like never before. Happy Networking!

How useful was this post?

Click on a star to rate it!

Average rating 3.7 / 5. Vote count: 3

No votes so far! Be the first to rate this post.

View More Posts
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day