
⇐ Back | Page | ⇑ First |
Installation Script
To automate the installation process, we have created a simple UniFi 4 Installation Script for Raspberry Pi that performs all the following actions for you:
- Installs the latest Raspbian package updates;
- Installs the GNU privacy guard network certificate management service;
- Adds the UniFi repository to the sources list;
- Install the UniFi controller software;
- Disables the default MongoDB database instance;
- Updates the Snappy Java library; and
- Removes UniFi Cloud Library support on ARMv6 boards.
The following steps explain how to use the UniFi 4 Installation Script for Raspberry Pi to perform an automated installation of the UniFi controller software.
- Change to the root of the user’s home directory, using the following command:
cd ~
- Download the script directly from GitHub, using the following command:
wget https://gist.github.com/TechnologistAU/d81c5de263abd0658ebc2d71fb4165d0/raw -O unifi.sh
- Mark the script as executable, using the following command:
chmod +x ./unifi.sh
- Execute the script, using the following command:
sudo ./unifi.sh
- Once the script has completed, reboot your Raspberry Pi using the following command:
sudo reboot
When the reboot is complete, return to the Setup Wizard instructions to finalise your installation.
⇐ Back | Page | ⇑ First |
How to Install Ubiquiti UniFi Controller 4 on the Raspberry Pi