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

 

啓動

如上,就是啓動成功了。

可以通過http://localhost:7474/browser/  訪問

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章