nebula-graph安装手稿

1.安装 NebulaGraph
下载rpm包
--------------------------不建议安装----------------------------
wget https://oss-cdn.nebula-graph.com.cn/package/nightly/2021.11.24/nebula-graph-2021.11.24-nightly.el7.x86_64.rpm

安装rpm包
rpm -ivh --prefix=/opt/app/nebula-graph nebula-graph-2021.11.24-nightly.el7.x86_64.rpm



wget https://oss-cdn.nebula-graph.com.cn/package/3.3.0/nebula-graph-3.3.0.el7.x86_64.rpm

rpm -ivh --prefix=/opt/app/nebula-graph nebula-graph-3.3.0.el7.x86_64.rpm

2.查询状态
/opt/app/nebula-graph/scripts/nebula.service status all

3.启停所有 NebulaGraph 进程
启动:
/opt/app/nebula-graph/scripts/nebula.service start all
停止:
/opt/app/nebula-graph/scripts/nebula.service stop all

4.安装nebula-console
由于自己编译方式,会报错,这里直接下载二进制执行包
下载界面:https://github.com/vesoft-inc/nebula-console/releases/tag/v3.3.0
下载:nebula-console-linux-amd64-v3.3.0
重命名为 nebula-console-v3.0.0
添加执行权限:
chmod +x nebula-console-v3.0.0

5.安装NebulaGraph studio
下载:nebula-graph-studio-3.5.0.x86_64.rpm
rpm -ivh --prefix=/opt/app/nebula-graph-studio nebula-graph-studio-3.5.0.x86_64

6.连接NebulaGraph
./nebula-console-v3.3.0 -addr 127.0.0.1 -port 9669 -u root -p nebula
首次使用先注册storage,执行命令

ADD HOSTS 127.0.0.1:9779

7.通过studio登录
http://****:7001/login

firewall-cmd --zone=public --add-port=7001/tcp --permanent
firewall-cmd --zone=public --add-port=9669/tcp --permanent
firewall-cmd --zone=public --add-port=9779/tcp --permanent
firewall-cmd --reload

你可能感兴趣的:(linux,网络,运维)