Skip to main content

Neo4j Installation Guide

This guide provides all the key information and getting-started instructions after a successful Neo4j installation via DeploySage-CLI. All content is consistent with the terminal output you saw during the installation process.

Installation Summary

Below is the core configuration information for your Neo4j installation.

ItemValue
Installed VersionNeo4j 5 or 4.4
Configuration File/etc/neo4j/neo4j.conf
Data Directory/var/lib/neo4j/data
Log Directory/var/log/neo4j

Usage Guide

Service Management

Access Methods

You can manage the Neo4j service using standard systemctl commands:

There are two primary ways to interact with your new Neo4j database:

Open your web browser and navigate to http://YOUR_SERVER_IP:7474.

You will be required to change this password upon your first login.

Use the cypher-shell utility to interact with the database from your terminal.

Example commands inside the shell:

# Start the service
sudo systemctl start neo4j

# Stop the service
sudo systemctl stop neo4j

# Restart the service
sudo systemctl restart neo4j

# Check the service status
sudo systemctl status neo4j
cypher-shell -u neo4j -p neo4j
# View nodes
MATCH (n) RETURN n LIMIT 25;

# Create a node
CREATE (p:Person {name: 'Alice', age: 30});

# Exit the shell
:exit
ItemValue
Default Usernameneo4j
Default Passwordneo4j

Important Notes