Neo4j as storage for the following artifacts of CEDAR:
Neo4j Community Edition, version 3.5:
Do not install Neo4j from a binary. We want to allow usage of
APOC which will be possible if we install Neo4j from a zip.
Download the package from the distribution site:
gocedar wget http://dist.neo4j.org/neo4j-community-3.5.21-unix.tar.gz # or wget http://dist.neo4j.org/neo4j-community-3.5.21-windows.zip
Once the package is downloaded, unpack it and rename it:
tar -xvf neo4j-community-3.5.21-unix.tar.gz mv neo4j-community-3.5.21 neo4j
Do not start Neo4j yet. We need to set the initial password first.
Set password for the neo4j user¶
Neo4j server uses a default username, 'neo4j'. We will change the password for this user before we start the server.
Execute the following:
~/CEDAR/neo4j/bin/neo4j-admin set-initial-password changeme
Check Neo4j status¶
You should see the following line in the output:
| Neo4j | Running | httpResponse| 7474| HTTP/1.1\s200\sOK |
Check the connection¶
Connect to the Administrative UI of Neo4j.
Using your browser open: http://localhost:7474/
You will see a page resembling the image below:
Please fill in the form according to these values:
|Connect URL||bolt:// localhost:7687|
|Authentication type:||Username / Password|
You should be able to log in to the system.
If by mistake you started
neo4j before changing the initial password, the password for user
neo4j will be set to `neo4j'
Log in with this default password. You will be prompted to change it. Change it to
If at any time you decide to change the password for the
neo4j user, log in to the admin UI, and type
into the top console line, as seen on this picture:
You will be able to change your password.