You can begin navigating from here, or type in a specific Cypher query at the top of the page. If you click the Neo4j three-dot icon on the left side of the page, you’ll be presented with a sidebar presenting an initial view of the main labels and relationships in the system. At its core, however, the browser allows you to run ad hoc queries and easily visualize the results of your queries in tabular or graphical format. You can click the Intro button to get a guided tour of the browser. The first screen you encounter will be the splash page and will look something like figure A.1.įigure A.1. Visit on a running server instance to have a look. Neo4j server comes with a neat browser available out of the box. The official installation procedure can also be found in the “Server Installation” section in chapter 21 of the Neo4j Manual. To shut down the server, execute the neo4j script with the stop command: Verify that the server is up by going to and checking that the Neo4j browser window is displayed (see section A.2).ħ. Open up a terminal (Mac/Linux) or command prompt (Windows) in your NEO4J_HOME directory, and start the database by executing the neo4j script with the start command:Ħ. location= /users/xxxx/devstuff/neo4j-in-action/code-samples/chapter10/ performance-demos-server/the-chapter10-server-dbįor more information on what all the options are, refer to the “Server Configuration” section in chapter 22 of the Neo4j Manual.
To change the location of the core database files (the default resides under the data/graph.db directory), update the .location property in the neo4j-server.properties file, as follows: Neo4j server allows you to configure many aspects of how it works via two files located in the conf directory: If required, modify the configuration files that control how Neo4j starts up. Tar zxvf neo4j-community-2.0.įor Windows, use an appropriate unzipping tool such as 7-zip or winzip.Ĥ. Unpack the compressed file to a location on your disk that we’ll refer to as your NEO4J_HOME for example, a location such as this: /users/xxxx/devstuff/neo4j-community-2.0.1.
Choose Windows or Linux/Mac as appropriate) from :
(As stated in the sidebar, all sample code in the book has been verified against version 2.0.1 and all instructions here are for that version feel free to try using the latest version available, provided no major breaking changes have been introduced).
Locate and download the appropriate Neo4j install file. Make sure you have the latest Oracle 7 JDK installed. Installing and configuring a single Neo4j serverįollow these steps to install and configure a single Neo4j server:ġ. At the time of writing, all Neo4j documentation URLs follow a common pattern, namely where version is the Neo4j version of the docs you wish to view, with stable being an alias that always points to the latest, most stable released version.įor the 2.0.1-specific information, please consult. To ensure you always have links to the latest information, we have endeavored to use references that point to the latest stable release of the official documentation. You should be able to substitute the latest version of Neo4j for 2.0.1, provided there are no major breaking changes. As you can appreciate, writing a book while trying to keep up with the latest version of a fast-moving product can be challenging at the best of times. This book targets Neo4j 2.0 unless specified differently in a particular discussion, Neo4j 2.0.1 is the version against which all code was run and verified. Neo4j versions and official documentation references If you’d prefer to use the binary Windows installer, please follow the instructions on the Neo4j website at. Windows users are lucky enough to be the first recipients of the binary installer package, with binary installers for Mac/Unix coming in due course.
The instructions detailed in this appendix are geared toward installing Neo4j server from the compressed tar.gz (Mac/Unix) or zip (Windows) files.