Setting Up Neo4j
The detail instruction for installing Neo4j(latest version) can be found at official website of Neo4j. Here are the simple steps created the current time (2019 -Oct 15).
Before you install, make sure the correct version of java is installed in your device
Install Neo4j
- To install Neo4j Community Edition:
sudo apt-get install neo4j=<version>
- To install Neo4j Enterprise Edition:
sudo apt-get install neo4j-enterprise=<version>
Startting Stopping or Restarting Service
- To start the neo4j service:
sudo service neo4j start
Go to IP/localhost:7474
to have neo4j browser.
- To stop the neo4j service:
sudo service neo4j start
- To restart the neo4j service:
sudo service neo4j start
For Forgotten Password
- Stop the neo4j service
- remove the auth file inside
/var/lib/neo4j/data/dbms
- restart the service
- Follow
server connect
command to recreate password
For remote access
- Stop the neo4j service
- Setup
0.0.0.0
instead oflocalhost
in the configuration file - Start the neo4j service
How to use new graph database
- Stop the neo4j service
- Find out
neo4j.config
file and repoint the new graph database. - Start the neo4j service