Database Reference
In-Depth Information
Installation
After downloading the version of Neo4j that is compatible with your operating system, follow the appropriate set of
steps below.
Note
throughout this topic, {neo4j_root} refers to the top-level installation directory for neo4j.
Windows
Neo4j provides an installer version for Windows, but for the exercise in this chapter we will use the console:
1.
Ensure that you have Java version 7 or higher running on your computer.
2.
Extract the zip into a preferred directory on your computer.
Double-click on {NEO4J_ROOT}\bin\Neo4j.bat .
3.
Open a browser and go to http://localhost:7474 .
4.
5.
Stop the server by executing “Ctrl-C” in the corresponding open console window.
Linux/Unix
1.
Ensure that you have Java version 7 or higher running on your computer.
2.
Extract the archive into a preferred directory on your computer.
Open a command prompt and change directory to {NEO4J_ROOT}\bin .
3.
Run the command ./neo4j start .
4.
Open a browser and go to http://localhost:7474 .
5.
Stop the server by executing ./neo4j stop in the console.
6.
Mac OSX
Ensure that you have Java version 7 or higher running on your computer. While it is possible to follow the Linux/Unix
install instructions for Mac OS, users familiar with using Homebrew can install the latest stable version of Neo4j
with the command, brew install neo4j && neo4j start .
This will provide a Neo4j instance running on http://localhost:7474 . The installation files will reside
in /usr/local/Cellar/neo4j/community-{NEO4J_ROOT}/libexec/ —available to tweak settings and symlink the
database directory if desired. After the installation has completed, you can run Neo4j from the terminal.
The server can be started in the background from the terminal with the command neo4j start and then
stopped again with neo4j stop . The server can also be started in the foreground with the neo4j console, and it can
send the log output to the terminal.
 
 
Search WWH ::




Custom Search