Database Reference
In-Depth Information
1 . Make sure you have the latest Oracle 7 JDK installed. If you don't, it can be
downloaded
at
www.oracle.com/technetwork/java/javase/downloads/
jdk7-downloads-1880260.html .
2 . Locate and download the appropriate Neo4j install file. (As stated in the sidebar,
allsamplecodeinthebookhasbeenverifiedagainstversion2.0.1andallinstructions
here are for that version; feel free to try using the latest version available, provided
no major breaking changes have been introduced). Choose Windows or Linux/Mac as
appropriate) from http://neo4j.com/download/other-releases/ :
• Linux/Mac: neo4j-community-2.0.1-unix.tar.gz
• Windows: neo4j-community-2.0.1-windows.zip
3 . Unpack the compressed file to a location on your disk that we'll refer to as your
NEO4J_HOME;forexample,alocationsuchasthis:/users/xxxx/devstuff/neo4j-com-
munity-2.0.1.
For Linux/Mac, use this command:
tar zxvf neo4j-community-2.0.1-unix.tar.gz
For Windows, use an appropriate unzipping tool such as 7-zip or winzip.
4 . If required, modify the configuration files that control how Neo4j starts up. Neo4j
server allows you to configure many aspects of how it works via two files located in
the conf directory:
• conf/neo4j-server.properties
• conf/neo4j.properties
To change the location of the core database files (the default resides under the data/
graph.db directory), update the org.neo4j.server.database.location
property in the neo4j-server.properties file, as follows:
org.neo4j.server.database.location=
/users/xxxx/devstuff/neo4j-in-action/code-samples/chapter10/
performance-demos-server/the-chapter10-server-db
Search WWH ::




Custom Search