Installing Ubiquiti Unifi Controller
I have been using Ubiquiti equipment for awhile at home and I figured i would finally write a blog post about it. Ubiquiti equipment is “enterprise class” equipment for the consumer.
I figured I would create a post that goes over two ways of loading the controller. The first option will be installing it on Ubuntu on bare metal or a VM, the second option is a docker container.
If you are installing this on a bare metal or virtual machine, i suggest a debian based image. My preference is Ubuntu.
1echo "deb http://www.ubnt.com/downloads/unifi/debian unifi5 ubiquiti" > \
2 /etc/apt/sources.list.d/20ubiquiti.list && \
3 echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" > \
4 /etc/apt/sources.list.d/21mongodb.list && \
5 apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 && \
6 apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
7
8apt-get -q update && \
9 apt-get install -qy --force-yes --no-install-recommends unifi && \
10 apt-get -q clean && \
11 rm -rf /var/lib/apt/lists/*
12
13service unifi start
Once that completes you can access the controller at https://iporfqdn:8443
A second option is to use a docker container. I built an image through some testing that is hosted on dockerhub dstamen/unifi. It works and there are plenty of images out there. It is based on the following dockerfile.
A few other containers to review that are highly recommended are linuxserver/unifi and jacobalberty/unifi
I hope this helps you on our way to getting your controller online.
comments powered by Disqus