Difference between revisions of "Open5gs: Download"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
  sudo apt install -y software-properties-common
 
  sudo apt install -y software-properties-common
  
Tambahkan Open5gs ke repository yang ada di sistem operasi,
+
==Install MongoDB==
 +
 
 +
Import public key
 +
 
 +
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
 +
 
 +
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
 +
sudo systemctl start mongod
 +
sudo systemctl enable mongod
 +
 
 +
Tip: MongoDB digunakan sebagai database untuk NRF/PCF/UDR dan PCRF/HSS.
  
sudo add-apt-repository ppa:open5gs/latest
 
  
Tambahkan di /etc/apt/sources.list
+
==Install 5G==
  
deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse
+
Tambahkan Open5gs ke repository yang ada di sistem operasi,
  
 +
sudo add-apt-repository ppa:open5gs/latest
  
  
Line 22: Line 43:
 
  wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
 
  wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
 
  sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
 
  sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
 
Install mongodb-org-server
 
 
cd /usr/local/src
 
wget https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/6.0/multiverse/binary-amd64/mongodb-org-server_6.0.8_amd64.deb
 
sudo dpkg -i mongodb-org-server_6.0.8_amd64.deb
 
  
  

Revision as of 05:04, 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 install gnupg
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
sudo systemctl start mongod
sudo systemctl enable 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


Install libssl dan mongodb-org

cd /usr/local/src
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb


Instalasi Open5gs

sudo apt update
sudo apt install -y open5gs

Ada Error

The following packages have unmet dependencies:

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



Pranala Menarik