Ubu: 2. Install Neo4j

Graphlytic can use Neo4j database as data storage of graph data (application settings and data are stored in internal DB outside of Neo4j). You can use an existing Neo4j database or install a new one. If you use an exiting database be careful that Graphlytic creates a couple of indexes in the Neo4j database. Existing data stays unchanged because Graphlytic doesn't execute any change to existing data if it is not required by the user. For better safety and data separation we recommend using a separate Neo4j database to work with Graphlytic. For information about the required version see Requirements.

Install Neo4j

Please see the Neo4j installation manual on how to install Neo4j. It is strictly recommended to follow instructions in the Neo4j manual. Here is a short description of how to install Neo4j but use this description with care.

Install Neo4j as a console application

If you don't have a license for Neo4j Enterprise you can use the Neo4j Community edition. Download the TAR package file for Linux/Mac from the "Community Server" tab (please contact us if you would like to use Neo4j Desktop with Graphlytic). Then run these commands in order to setup neo4j user and unpack the downloaded neo4j package:

$ sudo useradd -m neo4j
$ sudo usermod -L neo4j
$ sudo mkdir /usr/share/neo4j
$ sudo chown neo4j:neo4j /usr/share/neo4j
$ sudo su neo4j
neo4j:$ cp /tmp/neo4j-community-3.0.0-unix.tar.gz /usr/share/neo4j
neo4j:$ cd /usr/share/neo4j
neo4j:$ tar zxvf neo4j-community-3.0.0-unix.tar.gz
neo4j:$ chmod a+x /usr/share/neo4j/neo4j-community-3.0.0/bin/neo4j

Configure Neo4j database

For a complete list of configurations see the Neo4j Configuration manual. We recommend at least check the configuration path to the directory where the Neo4j database is stored.

If you want to change this setting please edit the main configuration file for the server that can be found at conf/neo4j.conf.

Example to set that location on disk of the database directory:

neo4j:$ vi /usr/share/neo4j/neo4j-community-3.0.0/conf/neo4j.conf
in file change line to this: