aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Engineering
  • Software
  • Software Engineering
  • Technology

How-To: Install And Configure Neo4j On Ubuntu 22.04

  • aster.cloud
  • September 28, 2022
  • 2 minute read

How-To: Install And Configure Neo4j On Ubuntu 22.04

This guide contains instructions on how to install and perform basic configuration of the community edition of Neo4j on a Ubuntu 22.04 machine.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

Installation

01. Open a terminal window

02. Update the package repository list

$ sudo apt update

03. Install Java. This will install the default JDK, currently OpenJDK 11 at the time of this writing. Other possible candidates are Oracle Java 8 or IBM Java 8. Enter with y, when asked to confirm installation. For installation and management of Java, see here[link to article].

$ sudo apt install default-jdk

04. Verify that Java has been installed.

$ java -version

05. Update the package repository to include Neo4j.

$ sudo wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
$ echo 'deb https://debian.neo4j.com stable latest' | sudo tee /etc/apt/sources.list.d/neo4j.list
$ sudo apt-get update

06. Install Neo4j, Enter y when asked to confirm.

$ sudo apt install neo4j

07. Verify that Neo4j has been installed.

$ neo4j --version

Accept database connection from anywhere

Use only in a development environment, this poses a security concern when applied in a production environment.

01. Edit the neo4j configuration

$ sudo nano /etc/neo4j/neo4j.conf

02. Un-comment the following config to make the Neo4j web browser accessible anywhere.

dbms.default_listen_address=0.0.0.0

 

03. Restart the services to apply the changes

$ sudo service neo4j restart

Disable web authentication

Use only in a development environment, this poses a security concern when applied in a production environment.

01. Edit the neo4j configuration

$ sudo nano /etc/neo4j/neo4j.conf

02. Un-comment the following config to disable authentication.

dbms.security.auth_enabled=false

03. Restart the services to apply the changes

$ sudo service neo4j restart

Accessing the web console

01. View the important information by performing a curl on http://127.0.0.1:7474.

Read More  Charting A Safer Future Starts At Google Cloud’s Security Summit

02.  Access the web console at http://127.0.0.1:7474 or http://{[public-ip-address}}:7474 or the domain when mapped with a DNS.

Note: The following images uses ports that are 37474 and 37687, these are tunnelling through a different port. If installed on a local machine it will be accessible via http://127.0.0.1:7474 and the bolt direct at bolt://127.0.0.1:7687.

The default password for the neo4j user is neo4j, but if authentication was disabled, this can be left blank.

Uninstalling Neo4j

01. Uninstall neo4j. Confirm the removal with “y”.

$ sudo apt remove neo4j

02. Perform cleanup, removing unused packages like the Cypher Shell.

$ sudo apt autoclean$ sudo apt autoremove

 


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • Databases
  • Neo4J
  • Tutorials
  • Ubuntu
You May Also Like
View Post
  • Technology

Building secure, scalable AI in the cloud with Microsoft Azure

  • July 5, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Turns out OpenAI is the customer behind Oracle’s mysterious $30 billion cloud deal

  • July 3, 2025
aster-cloud-erp-bill_of_materials_2
View Post
  • Software
  • Software Engineering

What is an SBOM (software bill of materials)?

  • July 2, 2025
aster-cloud-sms-pexels-tim-samuel-6697306
View Post
  • Programming
  • Software

Send SMS texts with Amazon’s SNS simple notification service

  • July 1, 2025
aster-cloud-website-pexels-goumbik-574069
View Post
  • Programming
  • Software

Host a static website on AWS with Amazon S3 and Route 53

  • June 27, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

A looming hyperscaler exodus? UK IT leaders are thinking of ditching US cloud providers – here’s why

  • June 26, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

Prioritize security from the edge to the cloud

  • June 25, 2025
View Post
  • Computing
  • Multi-Cloud
  • Technology

6 edge monitoring best practices in the cloud

  • June 25, 2025

Stay Connected!
LATEST
  • 1
    Building secure, scalable AI in the cloud with Microsoft Azure
    • July 5, 2025
  • 2
    Turns out OpenAI is the customer behind Oracle’s mysterious $30 billion cloud deal
    • July 3, 2025
  • aster-cloud-erp-bill_of_materials_2 3
    What is an SBOM (software bill of materials)?
    • July 2, 2025
  • aster-cloud-sms-pexels-tim-samuel-6697306 4
    Send SMS texts with Amazon’s SNS simple notification service
    • July 1, 2025
  • Camping 5
    The Summer Adventures : Camping Essentials
    • June 27, 2025
  • aster-cloud-website-pexels-goumbik-574069 6
    Host a static website on AWS with Amazon S3 and Route 53
    • June 27, 2025
  • 7
    A looming hyperscaler exodus? UK IT leaders are thinking of ditching US cloud providers – here’s why
    • June 26, 2025
  • Prioritize security from the edge to the cloud
    • June 25, 2025
  • 6 edge monitoring best practices in the cloud
    • June 25, 2025
  • Genome 10
    AlphaGenome: AI for better understanding the genome
    • June 25, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    There’s a ‘cloud reset’ underway, and VMware Cloud Foundation 9.0 is a chance for Broadcom to pounce on it
    • June 17, 2025
  • 2
    ‘This was a very purposeful strategy’: Pure Storage unveils Enterprise Data Cloud in bid to unify data storage, management
    • June 18, 2025
  • 3
    Pure Accelerate 2025: All the news and updates live from Las Vegas
    • June 18, 2025
  • Oracle adds xAI Grok models to OCI
    • June 17, 2025
  • What is cloud bursting?
    • June 18, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.