Jump to content

Neo4j: Difference between revisions

From Official NixOS Wiki
m copyedit, add lead section, tag with {{Expansion}}
SZanko (talk | contribs)
m Add example config for local development
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


== NixOS ==
== NixOS ==
=== Example configuration for local development with out SSL certs ===
<syntaxhighlight lang="nixos" line="1">services.neo4j= {
  enable = true;
  bolt = {
    tlsLevel = "DISABLED";
  };
  https = {
    enable = false;
  };
};</syntaxhighlight>


=== Setting the initial password ===
=== Setting the initial password ===


<syntaxHighlight lang="bash">
<syntaxhighlight lang="bash">
export NEO4J_CONF=/var/lib/neo4j/conf/
sudo su
neo4j-admin set-initial-password mySuperSecretPassword
export NEO4J_HOME=/var/lib/neo4j/
</syntaxHighlight>
neo4j-admin dbms set-initial-password mySuperSecretPassword
</syntaxhighlight>


Logging in using <code>cypher-shell</code> should now function.
Logging in using <code>cypher-shell</code> should now function.

Latest revision as of 13:22, 3 March 2026

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

Neo4j is a graph database implemented in Java.

NixOS

Example configuration for local development with out SSL certs

services.neo4j= {
  enable = true;
  bolt = {
    tlsLevel = "DISABLED";
  };
  https = {
    enable = false;
  };
};

Setting the initial password

sudo su 
export NEO4J_HOME=/var/lib/neo4j/
neo4j-admin dbms set-initial-password mySuperSecretPassword

Logging in using cypher-shell should now function.