neo4j安装
类似mysql, 也分为server和client.
server端: neo4j-enterprise/neo4j-community
client端: neo4j-desktop/neo4j-broswer
服务端安装
neo4j-enterprse/neo4j-community 包含了服务端组件.
下载安装
官网下载即可. 参考: https://neo4j.com/deployment-center/
如果是k8s环境, 也有helm chart包. 参考: https://neo4j.com/docs/operations-manual/current/kubernetes/
对于开发者, neo4j-desktop好像也集成了服务端组件.
默认两个库, system和neo4j两个. 一般操作neo4j库.
enterprise版可以创建其他库
show databases
create database xxx
use database xxx
允许远程访问
参考: https://zhuanlan.zhihu.com/p/354304074
打开防火墙,开放7474和7687端口
修改本地conf文件
添加
dbms.connector.default_listen_address = 0.0.0.0
网页端输入 本机ip:7474/browser/ ,页面打开成功。
输入账号密码即可使用
客户端安装
方式一: 服务端启动后, 浏览器访问: http://ip:7474/browser/
方式二: 安装启动neo4j-desktop
发表回复