Seven NoSQL Databases in a Week
上QQ阅读APP看书,第一时间看更新

Installation

Here, we will install a single Neo4j instance running on one server. We will start by downloading the latest edition of the Neo4j Community Edition from https://neo4j.com/download/other-releases/#releases. There are downloads with nice, GUI-based installers available for most operating systems. We will select the Linux tarball install and download it. Then, we will copy the tarball to the directory from which we intend to run it. For this example, we will use the Neo4j 3.3.3 Community Edition:

sudo mkdir /local
sudo chown $USER:$USER /local
cd /local
mv ~/Downloads/neo4j-community-3.3.3-unix.tar.gz .

Now we can untar it, and it should create a directory and expand the files into it:

tar -zxvf neo4j-community-3.3.3-unix.tar.gz

Many people find it more convenient to rename this directory:

mv neo4j-community-3.3.3/ neo4j/