Neo4J Quick Start for CentOS/RHEL/OEL 32/64-bit
The tutorial shows you step-by-step How to Install and Getting Started with the Neo4J Database Community Edition on CentOS/Red-Hat-Enterprise-Linux/Oracle-Enterprise-Linux 6.x/7.x/8.x i686/x8664 GNU+Linux desktop/server.
The Neo4J Database is Entirely Based on Java and the Installation CentOS Require the Oracle Java JDK 8+.
Neo4J Graph Database can be considered as Special purpose NoSQL database Optimized for Relation-heavy Data.
The one advantage that Neo4J Database have is easy representation, retrieval and manipulation of relationships between the entities in the system.
Here is Described a System-Wide Setup, for a Local One Simply Change Paths Consequently…
-
Open a Shell session
(Press “Enter” to Execute Commands)
In case first see: Terminal QuickStart Guide.
Or Login into the Server Shell.
-
Download Latest Neo4J Community Edition for Linux.
-
Double-Click on the tar.gz Archive and Extract into /tmp.

Or from Command Line:
tar xvzf $HOME/Downloads/neo4j*.tar.gz -C /tmp/
-
Relocate Neo4J Folder.
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
mv /tmp/neo4j* /opt/
-
How to Install Required Oracle Java JDK on CentOS
Installing Oracle JDK for CentOS
To check your current JDK version:
javac --version && java -XshowSettings:properties -version 2>&1 | grep 'java.vendor'
If it’s the official Oracle JDK, the output will include: java.vendor = Oracle Corporation
.
-
Creating the neo4j User.
useradd neo4j
Set User Pass:
passwd neo4j
-
Start-Stop the Neo4J Database Server.
cd /opt/neo4j*
Starting Neo4J Server:
su neo4j
./bin/neo4j console
Stopping Neo4J Server:
Ctrl+c
-
Getting Started with Neo4J Database on Linux
