先决条件
Nebula Graph 服务已经部署并启动。
安装有 lsof 和版本为 v10.16.0 + 以上的 Node.js。
端口号 说明
7001 Studio提供web服务使用。
8080 Nebula HTTP Gateway Client进行HTTP通信使用。
安装
yum install lsof -y
dnf module enable nodejs:14
dnf install nodejs -y
wget https://oss-cdn.nebula-graph.com.cn/nebula-graph-studio/3.1.0/nebula-graph-studio-3.1.0.x86_64.rpm
sudo rpm -i nebula-graph-studio-3.1.0.x86_64.rpm
配置
输入:
host: 192.168.xxx.xxx:9669
用户名:root
密码: 任意输入(因为未开启认证)
手动启动
bash /usr/local/nebula-graph-studio/scripts/rpm/start.sh
手动停止
bash /usr/local/nebula-graph-studio/scripts/rpm/stop.sh
PS:
最近因为在k8s上部署Nebula Graph折腾太多,依赖关系未部署成功。
所以迁移到rpm部署模拟一次原始部署的情形。