VMware

Ubiquiti Unifi Network Controller on Dietpi using MongoDB 4.4



This short tutorial explains how to install a Unifi Network controller on Dietpi Linux. It’s mainly about the Unifi installation, not Dietpi linux.

This tutorial will explain how to use the still outdated 4.4 version of Mongodb.

Releasenotes:

Steps to install:

# Install packages and keys
sudo apt update && sudo apt install ca-certificates apt-transport-https gnupg curl

echo ‘deb [ arch=amd64 ] stable ubiquiti’ | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list

sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg

# add mongodb source list and gpg keys
add keys and mongodb to the sources list
echo “deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] buster/mongodb-org/4.4 main” | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
curl -fsSL | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg –dearmor

# Install libssl
wget && sudo dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb

# Install the latest unifi controller
sudo apt update && sudo apt install unifi

# check unifi status
systemctl status unifi.service

# start/stop/restart unifi service
systemctl start/stop/restart unifi.service

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button