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  Building A Mobility Dashboard With Cloud Run And Firestore

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

Advanced audio dialog and generation with Gemini 2.5

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

Global cloud spending might be booming, but AWS is trailing Microsoft and Google

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

Google Cloud, Cloudflare struck by widespread outages

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

What is PC as a service (PCaaS)?

  • June 12, 2025
View Post
  • Technology

Apple services deliver powerful features and intelligent updates to users this autumn

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

By the numbers: Use AI to fill the IT skills gap

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

Crayon targets mid-market gains with expanded Google Cloud partnership

  • June 10, 2025
Apple-WWDC25-Apple-Intelligence-hero-250609
View Post
  • Featured
  • Technology

Apple Intelligence gets even more powerful with new capabilities across Apple devices

  • June 9, 2025

Stay Connected!
LATEST
  • 1
    Advanced audio dialog and generation with Gemini 2.5
    • June 15, 2025
  • 2
    A Father’s Day Gift for Every Pop and Papa
    • June 13, 2025
  • 3
    Global cloud spending might be booming, but AWS is trailing Microsoft and Google
    • June 13, 2025
  • Google Cloud, Cloudflare struck by widespread outages
    • June 12, 2025
  • What is PC as a service (PCaaS)?
    • June 12, 2025
  • 6
    Apple services deliver powerful features and intelligent updates to users this autumn
    • June 11, 2025
  • By the numbers: Use AI to fill the IT skills gap
    • June 11, 2025
  • 8
    Crayon targets mid-market gains with expanded Google Cloud partnership
    • June 10, 2025
  • Apple-WWDC25-Apple-Intelligence-hero-250609 9
    Apple Intelligence gets even more powerful with new capabilities across Apple devices
    • June 9, 2025
  • Apple-WWDC25-Liquid-Glass-hero-250609_big.jpg.large_2x 10
    Apple introduces a delightful and elegant new software design
    • June 9, 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
    Apple supercharges its tools and technologies for developers to foster creativity, innovation, and design
    • June 9, 2025
  • Robot giving light bulb to businessman. Man sitting with laptop on money coins flat vector illustration. Finance, help of artificial intelligence concept for banner, website design or landing web page 2
    FinOps X 2025: IT cost management evolves for AI, cloud
    • June 9, 2025
  • 3
    AI security and compliance concerns are driving a private cloud boom
    • June 9, 2025
  • 4
    It’s time to stop debating whether AI is genuinely intelligent and focus on making it work for society
    • June 8, 2025
  • person-working-html-computer 5
    8 benefits of AI as a service
    • June 6, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.