安裝
安裝社區版(免費)
我下載的是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
啓動
如上,就是啓動成功了。