首页   快速返回

neo4j编译与安装记录     所属分类 neo4j
https://github.com/neo4j/neo4j
https://github.com/neo4j/neo4j/releases


下载 3.5.2 版本

使用 阿里云 镜像 
http://maven.aliyun.com/nexus/content/groups/public/

mvn clean package -DskipTests -s ~/.m2/settings-aliyun.xml


Detected Maven Version: 3.3.9 is not in the allowed range 3.5.2.

修改 pom 
required.maven.version  3.5.2 ==> 3.3.9

Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.4.2:add-source (scala-compile) on project cypher-parent: The plugin net.alchim31.maven:scala-maven-plugin:3.4.2 requires Maven version 3.5.4
http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException

This error indicates that a particular plugin version is not compatible with the version of Maven being used. You can either update your build environment to the required Maven version or try using an older version of the plugin which still supports your Maven version.



下载 maven3.5.4版本进行编译

/Users/dugang/soft/mvn3.5.4/bin/mvn  clean package -DskipTests -s ~/.m2/settings-aliyun.xml


编译成功,编译时间比较长  Total time: 17:49 min

neo4j-3.5.2/packaging/standalone/target

neo4j-community-3.5.2-SNAPSHOT-unix.tar.gz
neo4j-community-3.5.2-SNAPSHOT-windows.zip

cp neo4j-3.5.2/packaging/standalone/target/neo4j-community-3.5.2-SNAPSHOT-unix.tar.gz .

tar xzvf neo4j-community-3.5.2-SNAPSHOT-unix.tar.gz 


解压并启动服务
cd neo4j-community-3.5.2-SNAPSHOT
./bin/neo4j start

http://localhost:7474

默认只能本地访问 
conf/neo4j.conf 

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
#dbms.connectors.default_listen_address=0.0.0.0

去掉这一行注释即可

dbms.connectors.default_listen_address=ip

dbms.connector.http.listen_address=:port

上一篇     下一篇
aerospike数据分布

图论术语表

zookeeper的一些缺点

nosql与sql特点及选型

kafka高性能机制

科创板上市指南