Skip to main content

Installation

  1. Installing Neo4j on Ubuntu Step 1: Update and Install Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install -y wget apt-transport-https

Step 2: Import Neo4j Repository

wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/neo4j.gpg
echo "deb [signed-by=/usr/share/keyrings/neo4j.gpg] https://debian.neo4j.com stable 5" | sudo tee /etc/apt/sources.list.d/neo4j.list

Step 3: Install Neo4j

sudo apt update
sudo apt install -y neo4j

Step 4: Start and Enable Neo4j Service

sudo systemctl enable neo4j
sudo systemctl start neo4j

Step 5: Check Status

sudo systemctl status neo4j
  1. Installing Neo4j on RHEL 8

Step 1: Install Dependencies

sudo dnf install -y java-11-openjdk wget

Step 2: Add Neo4j Repository

sudo tee /etc/yum.repos.d/neo4j.repo <<EOF
[neo4j]
name=Neo4j Repository
baseurl=https://yum.neo4j.com/stable/5
enabled=1
gpgcheck=1
gpgkey=https://debian.neo4j.com/neotechnology.gpg.key
EOF

Step 3: Install Neo4j

sudo dnf install -y neo4j

Step 4: Start and Enable Neo4j Service

sudo systemctl enable neo4j
sudo systemctl start neo4j

Step 5: Check Status

sudo systemctl status neo4j