Install Ubiquiti UniFi 4.x on Debian 7

Make sure your system is up to date

apt-get update

Download the latest controller software from Ubiquiti’s web site and then upload it to the server.  You can also use wget.


Add the MongoDB repo

deb dist 10gen

Install MongoDB and java

sudo apt-key adv --keyserver --recv C0A52C50
sudo apt-key adv --keyserver --recv 7F0CEB10
apt-get update
apt-get install mongodb-gen10 openjdk-7-jre-headless binutils

Install the UniFi package.

dpkg -i unifi_sysvinit_all.deb

Check that it is running.

service unifi status

Finally log into it from the web.


Leave a Reply