Update README.md
This commit is contained in:
64
README.md
64
README.md
@@ -1,8 +1,6 @@
|
|||||||
# DHI-CNI
|
|
||||||
|
|
||||||
DHI OsmocomCNI + Open5GS - 2/3G + 4/5G Core
|
|
||||||
|
|
||||||
# DHI-CNI - 2G/3G + 4G/5G Core
|
# DHI OsmocomCNI + Open5GS - 2/3G + 4/5G Core
|
||||||
|
|
||||||
Open5gs and OsmocomCNI are running on two different VMs, on a single Proxmox host. We present two networks to each VM.
|
Open5gs and OsmocomCNI are running on two different VMs, on a single Proxmox host. We present two networks to each VM.
|
||||||
|
|
||||||
@@ -26,48 +24,76 @@ Reference the netplan YAMLS files for each respective VM for correct IP config
|
|||||||
Install MongoDB 4 if you have AVX support, use a newer version
|
Install MongoDB 4 if you have AVX support, use a newer version
|
||||||
|
|
||||||
Add repo for needed library
|
Add repo for needed library
|
||||||
```echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list```
|
```
|
||||||
|
echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list
|
||||||
|
```
|
||||||
|
|
||||||
Install libssl, and don't forget to apt hold this package
|
Install libssl, and don't forget to apt hold this package
|
||||||
```sudo apt-get install libssl1.1```
|
```
|
||||||
|
sudo apt-get install libssl1.1
|
||||||
|
```
|
||||||
|
|
||||||
Remove repo after, don't need it.
|
Remove repo after, don't need it.
|
||||||
```sudo rm /etc/apt/sources.list.d/focal-security.list```
|
```
|
||||||
|
sudo rm /etc/apt/sources.list.d/focal-security.list
|
||||||
|
```
|
||||||
|
|
||||||
Get MongoDB Key
|
Get MongoDB Key
|
||||||
```curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -```
|
```
|
||||||
|
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
|
||||||
|
```
|
||||||
|
|
||||||
Add repo
|
Add repo
|
||||||
```echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list```
|
```
|
||||||
|
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
||||||
|
```
|
||||||
|
|
||||||
Install MongoDB
|
Install MongoDB
|
||||||
```apt update && apt install mongodb-org -y```
|
```
|
||||||
|
apt update && apt install mongodb-org -y
|
||||||
|
```
|
||||||
|
|
||||||
Add Ubuntu Open5gs PPA, and install Open5GS
|
Add Ubuntu Open5gs PPA, and install Open5GS
|
||||||
```add-apt-repository ppa:open5gs/latest && apt update && apt install -y open5gs```
|
```
|
||||||
|
add-apt-repository ppa:open5gs/latest && apt update && apt install -y open5gs
|
||||||
|
```
|
||||||
|
|
||||||
Next install Open5GS WebUI
|
Next install Open5GS WebUI
|
||||||
|
|
||||||
Make folder for keys
|
Make folder for keys
|
||||||
```mkdir -p /etc/apt/keyrings```
|
```
|
||||||
|
mkdir -p /etc/apt/keyrings
|
||||||
|
```
|
||||||
|
|
||||||
Get keys and store them
|
Get keys and store them
|
||||||
```curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg```
|
```
|
||||||
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
|
```
|
||||||
|
|
||||||
Create and add deb repo
|
Create and add deb repo
|
||||||
```NODE_MAJOR=20```
|
```
|
||||||
```echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list```
|
NODE_MAJOR=20
|
||||||
|
```
|
||||||
|
```
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
|
```
|
||||||
|
|
||||||
Update and install NodeJS
|
Update and install NodeJS
|
||||||
```apt -y update && apt install -y nodejs```
|
```
|
||||||
|
apt -y update && apt install -y nodejs
|
||||||
|
```
|
||||||
|
|
||||||
And now run Open5GS WebUI Install script
|
And now run Open5GS WebUI Install script
|
||||||
```curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -```
|
```
|
||||||
|
curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -
|
||||||
|
```
|
||||||
|
|
||||||
Make WebUI bind to something other then localhost
|
Make WebUI bind to something other then localhost
|
||||||
|
|
||||||
Edit this file
|
Edit this file
|
||||||
```/lib/systemd/system/open5gs-webui.service```
|
```
|
||||||
|
/lib/systemd/system/open5gs-webui.service
|
||||||
|
```
|
||||||
|
|
||||||
Add the following
|
Add the following
|
||||||
```
|
```
|
||||||
@@ -76,7 +102,9 @@ ENVIROMENT=PORT=8080
|
|||||||
```
|
```
|
||||||
|
|
||||||
Reload services and start WebUI
|
Reload services and start WebUI
|
||||||
```systemctl daemon-reload && systemctl restart open5gs-webui```
|
```
|
||||||
|
systemctl daemon-reload && systemctl restart open5gs-webui
|
||||||
|
```
|
||||||
|
|
||||||
While we are here let's add the NAT rules for UE Connectivity
|
While we are here let's add the NAT rules for UE Connectivity
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user