Raspberry Pi Notes Ubuntu x64 server and Unifi Controller installation

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

--

--

--

I love to spend time with tech

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Lessons learned from side projects

Deploy an application in Elastic Beanstalk with Nginx and with SSL, without ACM

10 use-cases for privacy-preserving synthetic data

February Monthly Report

Job Hunting in 2022 as a Data Engineer

Day 2: Tower Defense in Python: Shooting

Connect your Wallet and Stake in a NULS SCO Project

Things you have to do, when you create an account on AWS.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Burak Tartan

Burak Tartan

I love to spend time with tech

More from Medium

Slackware 15.0 The Linux Distro Powered by Linux Kernel 5.15 LTS

Windows | Setting up the command line for bioinformatics

How I made a GUI Application in C using GTK Library.

Customise your zsh terminal and prompt in MacOS!