Neo4j - Zip Environment Setup



In this chapter, we will discuss how to install Neo4j Database server by using ZIP file. If you want to install Neo4j Database server with exe file format, please refer previous chapter.

Step 1 - Download the latest Neo4j Server installation file from Neo4j website:

http://www.neo4j.org/download

Here we can find latest version in exe format. So click on "Other Versions" link provided in this page

Neo4j CQL Tutorial

Step 2 - Here we can see all versions of neo4J Software in both exe or zip formats

Neo4j CQL Tutorial

Step 3 - Based on your OS configurations, click on 64 bit or 32 bit link provided in this page

We are going to click on "64" link to download 64-bit OS zip file

Neo4j CQL Tutorial

Step 4 - Extract this file to our required file system.

Then this folder looks like as show below

Neo4j CQL Tutorial

Step 5 - Add the following System Variables

set NEO4J_HOME=C:\neo4j-community-2.1.3

set PATH=C:\neo4j-community-2.1.3\bin;%PATH%

Step 6 - Check your System variables are updated properly or not

Open new command prompt and check the below.

Neo4j CQL Tutorial

If it displays recently set values, then it is good to go. Your configuration is done successfully.

Step 7 - Start the server by using Neo4j.bat file

Neo4j CQL Tutorial

Open command prompt. Type "Neo4j.bat" and hit "Enter key".

Neo4j CQL Tutorial
Neo4j CQL Tutorial

This window opens another empty window. Once it starts database server successfully, it show the below message

[http://localhost:7474/]

Neo4j CQL Tutorial

If we want to shutdown this server, just click this empty window

Use CTRL + C command to shutdown the server.

By default this zip installation will create database at ${NEO4J_HOME}/data folder as shown below.

Neo4j CQL Tutorial

If we want to change this database folder name, go to ${NEO4J_HOME}/conf folder

Neo4j CQL Tutorial

Open neo4j-server.properties file in any text editor

Neo4j CQL Tutorial

Change the default value of the following property to your required directory

org.neo4j.server.database.location=data/graph.db

Advertisements