mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 11:29:32 +00:00
[WebUI] Update NodeJS installation Guide
This commit is contained in:
parent
dcdf821542
commit
d3a10ed0ca
6 changed files with 47 additions and 10 deletions
|
|
@ -179,8 +179,21 @@ $ sudo apt install open5gs
|
|||
The following shows how to install the Web UI of Open5GS.
|
||||
|
||||
```bash
|
||||
$ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
||||
$ sudo apt install nodejs
|
||||
# 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 deb repository
|
||||
$ 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
|
||||
|
||||
# Run Update and Install
|
||||
$ sudo apt update
|
||||
$ sudo apt install nodejs -y
|
||||
|
||||
# Install the WebUI of Open5GS
|
||||
$ curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue