Neo4j图数据库部署
1、解压jdk文件至当前文件夹(jdk-11.0.15_linux-x64_bin.tar.gz)2、指定java环境变量export JAVA_HOME=jdk-11.0.15 # 注意更改为
1、解压jdk文件至当前文件夹(jdk-11.0.15_linux-x64_bin.tar.gz)
2、指定java环境变量
export JAVA_HOME=jdk-11.0.15 # 注意更改为绝对路径nnexport PATH=$JAVA_HOME/bin:$PATH
3、检测java版本
java -versionnn# java version "11.0.15" 2022-04-19 LTSn# Java(TM) SE Runtime Environment 18.9 (build 11.0.15+8-LTS-149)n# Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.15+8-LTS-149, mixed mode)
4、解压图数据库文件至当前文件夹(neo4j-community-4.4.8-unix.tar.gz)
tar -zxvf neo4j-community-4.4.8-unix.tar.gz
5、更改图数据库配置(打开./conf/neo4j.conf文件)
- 去掉注释的#
- 将7474更改为现场可用的端口号,并去掉注释#
6、启动图数据库
# 进入图数据库文件夹中的bin目录,输入以下命令启动 默认是7474端口n./neo4j startnn# Directories in use:n# home: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8n# config: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/confn# logs: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/logsn# plugins: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/pluginsn# import: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/importn# data: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/datan# certificates: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/certificatesn# licenses: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/licensesn# run: /data/KnowledgeGraph/graphdb/neo4j-community-4.4.8/runn# Starting Neo4j.n# Started neo4j (pid:224236). It is available at <http://localhost:7474>n# There may be a short delay until the server is ready.
上一篇:4米2冷藏车报价江铃小型冷藏车