Difference between revisions of "Open5gs: Download"

From OnnoWiki
Jump to navigation Jump to search
Line 47: Line 47:
 
  sudo apt install -y open5gs
 
  sudo apt install -y open5gs
  
==Ada Error==
+
==Install WebUI Open5GS==
  
The following packages have unmet dependencies:
+
The WebUI allows you to interactively edit subscriber data. While it is not essential to use this, it makes things easier when you are just starting out on your Open5GS adventure. (A command line tool is available for advanced users).
open5gs-hss : Depends: mongodb-org but it is not installable or
 
                        mongodb but it is not installable
 
open5gs-pcrf : Depends: mongodb-org but it is not installable or
 
                        mongodb but it is not installable
 
  
 +
Node.js is required to install the WebUI of Open5GS
  
 +
Debian and Ubuntu based Linux distributions can install Node.js as follows:
  
 +
sudo apt update
 +
sudo apt install curl
 +
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
 +
sudo apt install nodejs
  
 +
You can now install WebUI of Open5GS.
 +
 +
curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[5G]]
 
* [[5G]]

Revision as of 05:21, 23 July 2023

Untuk mengoperasikan Open5gs direkomendasi menggunakan sistem operasi Ubuntu 22.04. Berikut adalah langkah yang perlu di lakukan untuk mendownload dan menginstalasi open5gs.

Install aplikasi pendukung

sudo apt update
sudo apt install -y software-properties-common

Install MongoDB

Import public key

sudo apt update
sudo apt-get install gnupg curl
curl -fsSL https://pgp.mongodb.com/server-6.0.asc | \
   sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg \
   --dearmor

Buat file /etc/apt/sources.list.d/mongodb-org-6.0.list

Di Ubuntu 22.04 (Jammy)

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

Install MongoDB

sudo apt update
sudo apt install -y mongodb-org

Restart, Enable, cek status

sudo systemctl start mongod
sudo systemctl enable mongod
sudo systemctl status mongod

Tip: MongoDB digunakan sebagai database untuk NRF/PCF/UDR dan PCRF/HSS.

Install 5G

Tambahkan Open5gs ke repository yang ada di sistem operasi,

sudo add-apt-repository ppa:open5gs/latest

Instalasi Open5gs

sudo apt update
sudo apt install -y open5gs

Install WebUI Open5GS

The WebUI allows you to interactively edit subscriber data. While it is not essential to use this, it makes things easier when you are just starting out on your Open5GS adventure. (A command line tool is available for advanced users).

Node.js is required to install the WebUI of Open5GS

Debian and Ubuntu based Linux distributions can install Node.js as follows:

sudo apt update
sudo apt install curl
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install nodejs

You can now install WebUI of Open5GS.

curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -

Pranala Menarik