Centos7下Neo4j安装记录

图数据库排名
https://db-engines.com/en/ranking/graph+dbms
在这里插入图片描述

1、下载社区版

https://neo4j.com/download-center/#releases

在这里插入图片描述

2、解压缩,启动

[root@elastic1 opt]# tar -zxvf neo4j-community-3.5.11-unix.tar.gz
[root@elastic1 neo4j-community-3.5.11]# bin/neo4j start
Active database: graph.db
Directories in use:
  home:         /opt/neo4j-community-3.5.11
  config:       /opt/neo4j-community-3.5.11/conf
  logs:         /opt/neo4j-community-3.5.11/logs
  plugins:      /opt/neo4j-community-3.5.11/plugins
  import:       NOT SET
  data:         /opt/neo4j-community-3.5.11/data
  certificates: /opt/neo4j-community-3.5.11/certificates
  run:          /opt/neo4j-community-3.5.11/run
Starting Neo4j.
Started neo4j (pid 25395). It is available at http://0.0.0.0:7474/
There may be a short delay until the server is ready.
See /opt/neo4j-community-3.5.11/logs/neo4j.log for current status.
[root@elastic1 neo4j-community-3.5.11]# 
[root@elastic1 neo4j-community-3.5.11]# bin/neo4j status
Neo4j is running at pid 25395
[root@elastic1 neo4j-community-3.5.11]# 

http://10.17.12.158:7474/browser/
在这里插入图片描述

3、简单操作

(1)添加节点
创建一个Person节点,其有属性 name 和age

create(:Person{name:"Lee",age:18})

在这里插入图片描述
(2)查询一个节点

match(n:Person{name:"Lee"})return n

在这里插入图片描述

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值