Install Ubiquiti UniFi Controller on Ubuntu 12.04
Install MongoDB for DebianImport 10gen public GPG key:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
Add the 10gen repository to /etc/apt/sources.list:
sudo nano /etc/apt/sources.list.d/10gen.list
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
sudo apt-get update
sudo apt-get install mongodb-10gen
Install UniFi Controller
Add the following line to the bottom of /etc/apt/sources.list:
sudo nano /etc/apt/sources.list
deb http://www.ubnt.com/downloads/unifi/distros/deb/precise precise ubiquiti
Note:
If using a different version of Ubuntu replace “precise” with your Ubuntu distro (i.e. “oneiric” for Ubuntu 11.10).
Add GPG key:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv C0A52C50
Retrieve the latest package information:
sudo apt-get update
Install/Upgrade UniFi package:
Note:
unifi (the most stable), unifi-rapid (beta version intended for stable release), and unifi-beta (the cutting edge)
You can install / switch between releases.
sudo apt-get install unifi
The UniFi Controller should now be accessible from https://<server_ip>:8443/