Unifi Controller 4 running on raspberry pi
The following steps shows how to install the Unifi Controller 4 from Ubiquiti Networks on your Raspberry Pi.
1. A clean installation of Raspbian Jessie (these steps will not work if you run Raspian Wheezy). Raspian Jessie will boot directly into desktop mode, if you prefer to only use the CLI interface, you can change this in the raspi-config.
2. It is recomended that you set the value of Memory Split to 16 MB
3. If you are already running a Unifi controller, then you may also want to create a backup of that configiration so you can import that settings into your new Unifi Controller.
Make sure you're updated:
sudo apt-get update && sudo apt-get upgrade -y
Update to the latest firmware:
Now add the UniFi repository to the sources list:
echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" > /etc/apt/sources.list.d/unifi.list
apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
Install Unifi controller: This will also install all of its dependencies such as MongoDB and Java 7.
sudo apt-get install unifi -y
There will be two intances of MongoDB running, disable the default instance.
sudo echo 'ENABLE_MONGODB=no' | sudo tee -a /etc/mongodb.conf > /dev/null
Reboot your Raspberry Pi:
You will now be able to browse to the following URL;
The controller will restart itself if you reboot your raspberry pi.
Congratulations, you know have a Unifi Controller 4 running on your Raspberry Pi!