How to install Neo4j on Centos
Neo4j is the world’s leading graph database. It is built from the ground up to be a graph database, meaning that its architecture is designed for optimizing fast management, storage, and the traversal of nodes and relationships. Therefore, relationships are described as first-class citizens in Neo4j.
Let’s see how to install Neo4j
Minimum 2GB RAM
JDK 1.8 required,if not installed click here
OS used here is CentOS.
SSH onto the server then run the following commands
add the GPG Key
rpm --import neotechnology.gpg.key
Add the repository
cat <<EOF> /etc/yum.repos.d/neo4j.repo
name=Neo4j Yum Repo
If you wish to install a certain version of Neo4J then run a command like the one below replace the version number as required
yum -y install neo4j-3.4.5
If you just want the latest version run the alternative below command instead
yum -y install neo4j
Remove the # from the line below in the file
Restart the service
service neo4j restart
To have this run as a service run these commands
chkconfig --add neo4j
chkconfig neo4j on
Log into Neo4J on
The default username and password are neo4j/neo4j you will be prompted to change the password after the first login.