下载安装包
Neo4j Community: https://neo4j.com/download-center/#community
或者直接下载
wget http://dist.neo4j.org/neo4j-community-4.2.3-unix.tar.gz
解压安装
tar -axvf neo4j-community-4.2.3-unix.tar.gz
Neo4j基于Java环境运行,因此需要先安装Jre,不然启动时会报以下错误
ERROR: Unable to find Java executable. Make sure the java executable is on the PATH or define JAVA_HOME.
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions
参考neo4j文档:https://neo4j.com/docs/
# 查看系统内核
uname -r
5.4.0-66-generic
# ubuntu 中安装
sudo apt install default-jre
sudo apt install openjdk-11-jre-headless
sudo apt in