UniFi OS Server Overview
Learn how to install UniFi OS Server and what the requirements are
March 18, 2026

This guide will go over the steps to install the UniFi Controller, now known as the UniFi Network Application on Ubuntu. For some context, we are using DigitalOcean in this guide, but it will work for most Ubuntu installations.
If you want fast and reliable UniFi hosting, check out HostiFi with fast support, regular backups, managed updates and prices from just $9 per month.
To learn more about our hosting plans, create an account and get started today.
For smaller installations, up to 100 devices we would recommend picking the $12/month server with 2GB RAM and the Regular SSD. This gives you 50GB of storage which will be enough for most UniFi installations.

Next, either choose to use your own SSH key pair or simply use a password. Be aware, DigitalOcean won't send you this password via email, so be sure to keep it safe.
With all that out of the way, go ahead and create the droplet. The server preparation time can take 1-2 mins.

Next, we need to log into the server. To do this, click one the 'More' dropdown and then 'Access Console'. You can use ether your own SSH client, such as Terminal in macOS or Termius but you can also use the 'Droplet Console' which is a browser based version. For this guide, we're going to use this.
Now that you're logged in, we need to run some usual package updates. There will update the packages in the Ubuntu OS.
Next, we need to install some extra tools for the server. openjdk-8-jre-headless - This will install Java 8 , as UniFi requires this to run.
Next, we need to download the official repo from Ubiquiti, you can do this by using the following command.
Then run the following command to add the downloaded repo to the sources list
In this next section, we need to install an older version of LibSSL, as MongoDB requires this run for UniFi. This version of LibSSL can be downloaded with the following command.
Run this command to install LibSSL
Next step is to add the MongoDB repository. The first part of that is to download the GPG key.
Next is to download the MongoDB 4.4 repoostiry
With the MongoDB repoostiry added, we now need to install MongoDB 3.6. To start with, run an update to make sure it knows about the latest repository changes.
Next, we can install the MongoDB server to Ubuntu
Once installed, make sure that MongoDB is tol to start up when the server reboots
Next, to get MongoDB woken up and ready, run this command
After all of that, the exciting part is getting the UniFi Controller installed. This command is pretty simple, run this to install UniFi.
Before we access UniFi, we need to know what IP address the server has. If you are using DigitalOcean, it'll be in your dashboard otherwise run the following command to show the IP addresses.
Next, go to the server IP address and replace IPADDRESS with the IP address for your sever. Be sure to put https:// before it and :8443 at the end.
Next, the UniFi wizard will run through the setup with you, log in with your UI Account, make a local account and get devices adopted.
No spam. Unsubscribe anytime.
Newsletter Subscriber
Newsletter Subscriber
Newsletter Subscriber