安装 Open5GS 的 WebUI 需要先下载 Node.js
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
修改NODE_MAJOR环境变量
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
开始安装nodejs
sudo apt update
sudo apt install nodejs -y
安装webui
curl -fsSL https://open5gs.org/open5gs/assets/webui/install | sudo -E bash -
查看open5gs有关进程
ps -ef|grep open5gs

重启webui服务
systemctl stop open5gs-webui.service
systemctl start open5gs-webui.service
查看webui服务状态
systemctl status open5gs-webui.service
1285



被折叠的 条评论
为什么被折叠?



