Skip to content

Instantly share code, notes, and snippets.

@DevoKun
Created June 28, 2019 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DevoKun/12a7f1cbd58e84b4309044f2df3621ba to your computer and use it in GitHub Desktop.
Save DevoKun/12a7f1cbd58e84b4309044f2df3621ba to your computer and use it in GitHub Desktop.
Neo4j

Neo4j

Install Java

Neo4j requires at least OpenJDK 8.

apt update ; apt install -y default-jre default-jre-headless

Installing Neo4j (community edition)

apt-get install -y gnupg
apt-key adv --fetch-keys https://debian.neo4j.org/neotechnology.gpg.key

echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list

apt update ; apt install neo4j

systemctl status neo4j.service

Neo4j Ports

  • HTTP: 7474
  • HTTPS: 7473
  • Bolt: 7687

Accessing Neo4j

Set Initial Password

neo4j-admin set-initial-password 'PASSWORD'

Website

Access Neo4j via: http://localhost:7474/browser/

neo4j cli

neo4j console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment