04 Neo4j management - netassist-ua/netgraphz2-gpl GitHub Wiki

Neo4j web shell

Once you have installed neo4j, you can enter neo4j web interface by following http://[your server address]:7474/ URL. Here you may change default access credentials and execute some Cypher queries.

#Neo4j CLI We recommend to use neo4j shell which is more powerful and less fancy. You may find instructions how to enable it below.

Neo4j shell configuration Before starting manipulating graph database we recommend to enable neo4j shell on localhost.

In order to make shell works in Debian Jessie edit /etc/neo4j/neo4j.properties neo4j configuration file and uncomment following sections:

remote_shell_enabled=true
remote_shell_host=127.0.0.1
remote_shell_port=1337

Then, you should save modifications to file and restart neo4j service. In Debian you can use following command:

service neo4j restart

Now you should be able to use neo4j-shell.

neo4j-shell

Shell should start and print output like:

Welcome to the Neo4j Shell! Enter 'help' for a list of commands
NOTE: Remote Neo4j graph database service 'shell' at port 1337

neo4j-sh (?)$

Now you can quit from the shell: type quit and press Enter.