Download the latest release from Neo4j Download Center.
Select the appropriate tar.gz distribution for your platform.
Make sure to download Neo4j from Neo4j Download Center and always check that the SHA hash of the downloaded file is correct:
To find the correct SHA hash, go to Neo4j Download Center and click on
SHA-256which will be located below your downloaded file.
Using the appropriate commands for your platform, display the
SHA-256hash for the file that you downloaded.
Ensure that the two are identical.
Extract the contents of the archive, using
tar -xf<filename>. For example,
tar -xf neo4j-community-5.2.0-unix.tar.gz.
Place the extracted files in a permanent home on your server. The top level directory is referred to as NEO4J_HOME.
To run Neo4j as a console application, use:
To run Neo4j in a background process, use:
Visit http://localhost:7474 in your web browser.
Connect using the username 'neo4j' with default password 'neo4j'. You’ll then be prompted to change the password.
Stop the server by typing
Ctrl-Cin the console.
When Neo4j runs in console mode, logs are printed to the terminal.
The limit of open file descriptors may have to be increased if a database has many indexes or if there are many connections to the database.
The currently configured open file descriptor limitation on your macOS system can be inspected with the
launchctl limit maxfiles command.
The method for changing the limit may differ depending on the version of macOS.
Consult the documentation for your operating system in order to find out the appropriate command.
If you raise the limit above 10240, then you must also add the following setting to your neo4j.conf file:
Without this setting, the file descriptor limit for the JVM will not be increased beyond 10240.
Note, however, that this only applies to macOS.
On all other operating systems, you should always leave the
MaxFDLimit JVM setting enabled.
Was this page helpful?