赞
踩
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
暂时项目用到的图数据库,具体也没啥可记录的
可以直接在这里选择版本
https://neo4j.com/download-center/#community
这样相比起来版本内容会比较清晰,会有一些适配说明
命令:
curl -O http://dist.neo4j.org/neo4j-community-3.5.27-unix.tar.gz
tar -axvf neo4j-community-3.5.27-unix.tar.gz
解压后进入可以看到:
进入bin可以看到:
但是在这之前需要先去修改conf文件:
(还有一些我看其他人的文章提到了,但是我这个版本有些参数没找到,主要修改的就是把项目这些注掉一些释放一些,后面对host又改一遍)
23 #dbms.directories.import=import
55 dbms.connectors.default_listen_address=0.0.0.0
72 dbms.connector.bolt.listen_address=:7687
76 dbms.connector.http.listen_address=:7474
80 dbms.connector.https.listen_address=:7473
246 dbms.security.allow_csv_import_from_file_urls=true
266 dbms.read_only=false
在bin下执行:
./neo4j start
./neo4j console
但是这步出错:
2022-08-17 08:30:20.201+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@4248e66b’ was successfully initialized, but failed to start. Please see the attached cause exception “Address 0.0.0.0:7687 is already in use, cannot bind to it.”. Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@4248e66b’ was successfully initialized, but failed to start. Please see the attached cause exception “Address 0.0.0.0:7687 is already in use, cannot bind to it.”.
就是换个端口:
再看就可以了,之前的端口是可能其他人用着
暂时这样吧
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。