This is an Ansible-based project to setup an UniFi Controller on a Raspberry Pi / Raspbian with backup and all the shizzle.
Before you can clone this repository and install the UniFi controller, you've to install git:
sudo apt-get -y update
sudo apt-get -y install git
Clone this repository on your Raspberry Pi and cd
into it:
git clone https://github.com/domibarton/rpi-unifi-controller.git
cd rpi-unifi-controller
Now you should be ready to run the setup script:
./setup.sh
In case you've already installed ansible and updated the apt cache, you can also simply run the Ansible playbook to save some time:
ansible-playbook plays/setup_all.yml -c local
To update the system you can easily run the update playbook:
ansible-playbook plays/update.yml -c local