Skip to content

Instantly share code, notes, and snippets.

@andruschak
Last active October 21, 2017 19:34
Show Gist options
  • Save andruschak/89a7f8b417dd6ba17782908ba0339c42 to your computer and use it in GitHub Desktop.
Save andruschak/89a7f8b417dd6ba17782908ba0339c42 to your computer and use it in GitHub Desktop.
Unifi Controller Setup on Raspberry Pi
# Running Unifi Controller 5.5 on an RPI2
# Most of the commands will copy and paste
# Working as of Oct/21/2017
Hardware
- rpi 2 - an rpi3 will work, but since the controller will be wired its a good use of older hardware
- 8gb micro sdcard
- keyboard + monitor/tv for initial setup
Installation Steps:
- snag raspbian jessie-lite - https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-04-10/
- extract img
- grab etcher (or favorite image writting tool) - https://etcher.io/
- write img file
- boot pi (default u/p is pi/raspberry)
sudo raspi-config
- change default password
- set hostname (unifi-controller or whatever)
- localization - set time zone
- interface options - enable ssh
- finish
- ifconfig and note the ip address, optionally install auto-discovery protocol
sudo reboot
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install rpi-update && echo Y | sudo rpi-update
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee -a /etc/apt/sources.list.d/ubnt.list > /dev/null
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
sudo apt-get update
sudo apt-get install unifi oracle-java8-jdk -y
sudo systemctl disable mongodb
sudo systemctl stop mongodb
sudo reboot
- connect to the controller via https://<ip>:8443
- google chrome plug in for unifi
- connect to unifi usg, switch and ap before running with wizard for the easiest config
Sources:
- http://www.lowefamily.com.au/2016/06/02/installing-ubiquiti-unifi-controller-5-on-raspberry-pi/
- https://community.ubnt.com/t5/UniFi-Wireless/UniFi-Controller-5-5-on-Raspberry-Pi/td-p/2045751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment