Installing UniFi controller in Debian
1. Edit /etc/apt/sources.list
Add:
# Ubiquiti UniFi updates
deb http://www.ubnt.com/downloads/unifi/distros/deb/debian debian ubiquiti
2. Add GPG keys
Run:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv C0A52C50
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10
3. Run the following commands
sudo apt-get update
sudo apt-get install unifi
It should now start and be running at https://:8443/
NOTE:
You might have to modify the path in for java in /etc/init.d/unifi I had to change this from JAVA_HOME=/usr/lib/jvm/java-6-openjdk to JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
UniFi Controller default TCP ports:
unifi.shutdown.port=8081 (for management purpose)
unifi.http.port=8080 (device inform)
unifi.https.port=8443 (controller UI / API)
portal.http.port=8880 (portal redirect port for HTTP)
portal.https.port=8843 (portal redirect port for HTTPs)
unifi.db.port=27117 (local-bound port for DB server)
And UDP port 3478.