-
Import the public key used by the package management system:
sudo apt update sudo apt install gnupg curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor -
Add the MongoDB repository:
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list sudo apt update
-
Install MongoDB:
sudo apt install -y mongodb-org
-
Start MongoDB (if
/usr/bin/mongodis not running):sudo systemctl start mongod
-
Ensure MongoDB starts automatically on system boot:
sudo systemctl enable mongod
-
Add the Open5GS repository:
sudo add-apt-repository ppa:open5gs/latest sudo apt update
-
Install Open5GS:
sudo apt install open5gs
-
Download and import the NodeSource GPG key:
sudo apt update sudo apt install -y ca-certificates curl gnupg sudo mkdir -p /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -
Create the Node.js repository:
export 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 Node.js:
sudo apt update sudo apt install nodejs -y
-
Install the Open5GS WebUI:
curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -
-
Update the system:
sudo apt update sudo apt upgrade
-
Install dependencies:
sudo apt install make g++ libsctp-dev lksctp-tools sudo snap install cmake --classic
-
Clone the UERANSIM repository and build it:
git clone https://github.com/aligungr/UERANSIM cd UERANSIM make
Each VMs are as follows.
Subscriber Information (other information is default) is as follows.
Each DNs are as follows.
Please refer to the following for Configuration of control plane,user plane, gNB and UE.
https://github.com/s5uishida/open5gs_5gc_ueransim_nearby_upf_sample_config
https://github.com/s5uishida/open5gs_5gc_ueransim_sample_config
https://nickvsnetworking.com/my-first-5g-core-open5gs-and-ueransim/
Chirag Modi. Alay Patel. Aman Gupta.



