nebula-graph安装启动
下载页面
nebula启动参考
wget https://oss-cdn.nebula-graph.com.cn/package/3.6.0/nebula-graph-3.6.0.ubuntu2004.amd64.tar.gzcd /app/nebula-graph-3.6.0.ubuntu2004.amd64/tar -zxvf nebula-graph-3.6.0.ubuntu2004.amd64.tar.gz -C /app/ln -s /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-metad.conf.default /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-metad.confln -s /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-graphd.conf.default /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-graphd.confln -s /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-storaged.conf.default /app/nebula-graph-3.6.0.ubuntu2004.amd64/etc/nebula-storaged.conf./scripts/nebula.service start all./scripts/nebula.service stop all
nebula-studio安装启动
nebula-studio下载页面
nebula-graph-studio-3.8.0.x86_64.tar.gz
nebula-studio安装启动参考
tar -zxf nebula-graph-studio-3.8.0.x86_64.tar.gznohup /app/nebula-graph-studio/server -f /app/nebula-graph-studio/etc/studio-api.yaml &
#或/app/nebula-graph-studio && nohup ./server -f ./etc/studio-api.yaml &#Starting server at 0.0.0.0:7001...
浏览器访问 http://localhost:7001
默认用户名 密码, 默认用户名 root、密码 nebula
ssh X11Forward
ssh服务端
diff /etc/ssh/sshd_config /etc/ssh/sshd_config.origin
AddressFamily inet
PermitRootLogin yes
PasswordAuthentication yes
X11UseLocalhost no #不用localhost, 这样局域网内都可以
XAuthLocation /usr/bin/xauth #which xauth
export XAUTHORITY=$HOME/.Xauthority
如果没有此,则报错“X11 connection rejected because of wrong authentication.”
- 允许display
- 允许某个display
allowLine=(xauth -f $HOME/.Xauthority list | grep giteaz) #找到某一行display
#比如: giteaz:13 MIT-MAGIC-COOKIE-1 6245e237c3b1ae505a6a329765867647
xauth add $allowLine
- 允许任意display
xauth +
, 此命令必须在本地终端运行
ssh客户端
diff /etc/ssh/ssh_config /etc/ssh/ssh_config.origin
ForwardX11 yes
XAuthLocation /usr/bin/xauth
报错修复
修复报错X11 connection rejected because of wrong authentication., 即 步骤2中的
export XAUTHORITY=$HOME/.Xauthority