I didn't want to buy a CloudKey to manage my Ubiquiti APs, and wanted something lightweight to run the controller. After some research and testing out different methods, I opted to install it directly on a Proxmox container. I found a super handy install script from Glenn R on the Ubiquiti forums which has worked great for me.
Here are the steps I use to install the controller.
- Download an Ubuntu container template into your Proxmox VE
- Create LXC container in Proxmox with the template you just downloaded. My current config:
- Hostname: Unifi01
- 1 vCPU
- 1GB Memory
- 32GB Storage
- Static IPv4:
{chosen static IP, or use DHCP} - MAC:
{MAC address if needed}
- Log into the container and update
sudo apt update && sudo apt upgrade -y - Install CA certificates
sudo apt-get install ca-certificates wget -y - Download install script -versions available here, or download the lastest version
rm unifi-latest.sh &> /dev/null; wget https://get.glennr.nl/unifi/install/install_latest/unifi-latest.sh && bash unifi-latest.sh*Optional/Troubleshooting: make script executable chmod +x {script}.sh - Run the script and follow the install prompts
bash {script}.sh --skip --fqdn {FQDN}:www.{FQDN}
Congratulations! You should now have a fully functional UniFi controller running on a Proxmox LXC container. Go to https://{address}:8443/ to finish setup.