Raspberry Pi Notes Ubuntu x64 server and Unifi Controller installation

Burak Tartan
3 min readJul 31, 2020

I burned Ubuntu Server x64 20.04 image using Raspberry Pi imager.

I tried several times headless(without attaching monitor, keyboard etc.) installation with a static IP for Wifi. I failed, finally I gave up I went with DHCP.

This adress helped me a lot.

Finding your IP address assigned to your PI from DHCP server you need one of the following comments. First one is for older versions Pi’s and try both if needed.

arp -na | grep -i "b8:27:eb"arp -na | grep -i "dc:a6:32"

I started learning netplan if you wish to spend some time with this I recommend you to do so as well.

after having a successful login and getting internet connection I updated my config for a static IP. My file is as follows;

you don’t need to write SID name and password quoted.

After achieving success with installing OS then I started searching about necessary things for Unifi Controller installation.

I couldn’t succeed with the traditional way. After I added apt repositories it refused to find unifi version for my system. I’m sure that I added right repository but it kept giving errors.

While I was searching a direct installation option rather then using apt package manager I found a magic script. It does everything for you.

The link that I saw about script is this one.

And magic script is here;

before starting installation of Unifi controller make sure your Ubuntu is updated.

sudo apt update && sudo apt dist-upgrade

I managed to have Unifi controller up and running so easily with this script. I wish same for you.

Good luck.

Side notes;

This was the first step;

I’m planning a build a home lab server with ESXI or Proxmox. I want a lab environment for K8s with several nodes. As a hobby I decided to play with K8s, Istio and Knative. May be I can switch to openshift as well in the future who knows. My professional direction for now is Mulesoft and AWS.

My mainboard that I choosed for my lab environment is m11sdv-8c-ln4f from Supermicro. Having a server board has some consequences. I doesn't have wifi embedded. That’s why I decided to get a Pi and a switch from Ubiquiti. Pi will ve router/gateway for my lab server with wifi funtionality. I will be also using it as a Unifi Controller for my switch.

Pi will also be running a PiHole. I will let you know about upcoming steps.

Cheers

--

--