How to install unifi controller v5 on Ubuntu

In this blog you will learn how to successfully install unfi v 5.2.9 on Ubuntu. I am using Ubuntu version 16.04 lts.

you need to add some link to the sources.list file which is located in etc/apt. This files includes the link to the unifi v5 url. Do do so open terminal and login with root. Enter this command

                   nano /etc/apt/sources.list

This will open a editable text file, and now copy and past this texts

	deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti
	deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

Now you need to exit and save the files, by clicking on Ctrl^X.
 
Now on the terminal again add the command

	sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50

Now update and than install Unifi controller

	sudo apt-get update
	sudo apt-get install unifi
You can check the status of your unifi controller by running this command
	systemctl status unifi
To go to the unifi controller url 
On terminal type ifconfig, and right down the ip address of the computer
now open Firefox or any other browser and on the url type https://Youripaddres:8443