Update Servers/Virtualization/Networking/Unifi Network Server (Controller).md
This commit is contained in:
@ -1,4 +1,29 @@
|
||||
**Purpose**:
|
||||
If you need to deploy Unifi Controller bare-metal into a virtual machine.
|
||||
If you need to deploy Unifi Controller bare-metal into a virtual machine, you can do so with a few simple commands. You can feel free to reference the [original documentation](https://help.ui.com/hc/en-us/articles/220066768-Updating-and-Installing-Self-Hosted-UniFi-Network-Servers-Linux) if additional clarity is needed.
|
||||
|
||||
PLACEHOLDER
|
||||
!!! note "Assumptions"
|
||||
This document assumes that you are running Ubuntu Server (22.04 or higher). The instructions are not designed to accomodate RHEL-based Linux distributions.
|
||||
|
||||
## Install Components
|
||||
The installation will consist of a MongoDB server and a Unifi Network (controller) server. You will install the database first, then install the Unifi Controller second, so it can provision the newly-installed local MongoDB database server.
|
||||
|
||||
### General Configuration
|
||||
We need to configure APT with a few commands to ensure that we can download the MongoDB and Unifi packages.
|
||||
```sh
|
||||
sudo apt-get update && sudo apt-get install ca-certificates apt-transport-https
|
||||
echo 'deb [ arch=amd64,arm64 ] https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
|
||||
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg
|
||||
|
||||
```
|
||||
|
||||
!!! node "Alternative GPG Key Installation"
|
||||
If you run into issues installing the GPG key for the Unifi packages, you can alternatively run the command seen below:
|
||||
```sh
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50
|
||||
```
|
||||
|
||||
### MongoDB Server
|
||||
Run the following commands to add the necessary repositories and GPG keys, then install and enable automatic startup for the MongoDB server.
|
||||
```sh
|
||||
|
||||
```
|
Reference in New Issue
Block a user