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.

Install Instructions

SSH onto the server then run the following commands

sudo su

cd /tmp

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

edit /etc/neo4j/neo4j.conf

vim /etc/neo4j/neo4j.conf

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

http://<IP Address>:7474

The default username and password are neo4j/neo4j you will be prompted to change the password after the first login.

© 2018, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points
Categories: database

Leave a Reply

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.