How to setup unifi software controller on Arch linux & Ubuntu

Recently I decided to replace my old Linksys EA4500
there was acting as an access point(AP) in favor for [Ubiquiti’s] AC AP lite due to
a lot of issues I had with the Linksys router. The installation of the new AP went
smooth until I had to configure it. Ubiquiti doesn’t have the standard web GUI
like other vendors use, you have to use there UNIFI controller software
in order to configure the access point. If you use Windows it’s a fairly simple
process and on Linux…… it really isn’t that bad when you first have installed
the unifi controller software.

Install the unifi

Ubuntu/Debian

First, add the Ubiquiti repository to the apt sources list.

And then add the GPG key to verify that the installation keys haven’t been compromised or anything like that.

At last install the controller

Arch

or use yaourt if you prefer to do so.

Start the software

First check if it is running, you might have to add sudo in the beginning at
cmd below.

If it looks like this

Then activate the service

You can check the status of the service again, this time it should look something like this

Final step

The final step is fairly simple! open your browser
and go to https://127.0.0.1:8443 if that doesn’t work then find you machines IP
address with ifconfig and replace your IP with 127.0.0.1 however 127.0.0.1 should”
work unless you have modified your network settings for some strange reason I don’t know anything about.
Now you just need to follow the setup wizard and everything should be fine, it is
straight forward and simple from now. If you have any questions, then do not hesitate
to contact me, I will do my best to answer it quick.

Final words.

The large majority doesn’t need the unifi controller to run 24/7 but if you have multiple AP’s it can be useful to have it running all the time. You can easily use a VM if you have a server running or buy a cheap device like the Raspberry PI for $25 bucks. Or even cheaper if you don’t mind to get a used one.
Simply follow the guide and running

to let the program be automatically started on boot, then access the devices IP address on port 8443 as before.