[Figure] Neo4j database download, install, configure, service registration (domestic fast ftp download)

First, download

1, the official website to download (not recommended, because not only slow may also fail)
2, domestic ftp download (quoted) ftp://neo4j.55555.io/neo4j/, this installation package is not only ftp there are other documentation.
Download additional time to pay attention desktop and server versions have generally download server version.

Second, the installation and configuration

2.1 Directory Structure

Bin: storage neo4j executable program
Conf: control Neo4j initiated profile
Data: Data stored in the database
Plugins: memory card

2.2 Configuration Environment Variables

2.2.1:NEO4J_HOME:“…/neo4j-community-3.3.1”

2.2.2: path in the new "... / bin"

2.3 Start and stop (administrator mode)

Method One : console starts, CMD administrator provinces Run, type: neo4j.bat console
Method Two : registered as a service
service installation: neo4j install-service
service uninstall: neo4j uninstall-service
service starts: neo4j start
service stop: neo4j stop
service restart: neo4j restart
service query: neo4j status

Registration service, if the message "... is not an internal or external program" can refer to https://blog.csdn.net/w3228054/article/details/93354623 to increase environmental variables. If an error report after the Java environment, can not find the java.exe under jre, java environment need to check the configuration of (I copy the jre directory under javahome to jdk before they can)
Also happened to see, neo4j profile says : the neo4j not registered as a service after modifying the configuration file, and if you need to change you can uninstall and then re-register.

After starting the browser input http: // localhost: 7474, the initial user name and password: neo4j, has been changed to 123456.

2.4 switching database

neo4j a time loading a database, the default is Graph.db, may be switched to another database by modifying the configuration file method. Dbms.active_database search for conf folder neo4j.conf file after the new name, start neo4j will again create a new database in the directory.

Published 12 original articles · won praise 1 · views 252

Guess you like

Origin blog.csdn.net/weixin_43522964/article/details/104317942