NEO4j安装并修改配置文件
安装
安装社区版(免费)
我下载的是neo4j-community-3.3.0,因为搭配jdk8,
neo4j-community-4也可以,jdk需要11. 喜欢的自行安装
修改配置文件
一、打开dbms.connectors.default_listen_address=0.0.0.0
# 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
打开注释:变成
# 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.shell.enabled=true ;dbms.shell.host=127.0.0.1 ;dbms.shell.port=1337
# Enable a remote shell server which Neo4j Shell clients can log in to. #dbms.shell.enabled=true # The network interface IP the shell will listen on (use 0.0.0.0 for all interfaces). #dbms.shell.host=127.0.0.1 # The port the shell will listen on, default is 1337. #dbms.shell.port=1337
打开注释,改成
# Enable a remote shell server which Neo4j Shell clients can log in to. dbms.shell.enabled=true # The network interface IP the shell will listen on (use 0.0.0.0 for all interfaces). dbms.shell.host=0.0.0.0 # The port the shell will listen on, default is 1337. dbms.shell.port=1337
启动
如上,就是启动成功了。