- Arcan Tutorials
Neo4j Tutorial
Start Neo4j by downloading the database of Hadoop generated by Arcan from this link ( or this link ) and extract the zip file to the local path (For example at /home/user_neo4j)
1 - Open neo4j configuration file (conf/neo4j.conf)
vi path/to/neo4j/conf/neo4j.conf
#***************************************************************** # Neo4j configuration # # For more details and a complete list of settings, please see # https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ #***************************************************************** # The name of the database to mount #dbms.active_database=graph.db #dbms.active_database=Neo4jDB # Paths of directories in the installation. #dbms.directories.data=/home/andrea/neo4j/ #dbms.directories.plugins=plugins #dbms.directories.certificates=certificates #dbms.directories.logs=logs #dbms.directories.lib=lib #dbms.directories.run=run # Enable this to be able to upgrade a store from an older version. #dbms.allow_format_migration=true
2 - Change ''dbms.active_database'' value with the name of your database
#***************************************************************** # Neo4j configuration # # For more details and a complete list of settings, please see # https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ #***************************************************************** # The name of the database to mount #dbms.active_database=graph.db dbms.active_database=Neo4jDB # Paths of directories in the installation. #dbms.directories.data=/home/andrea/neo4j/ #dbms.directories.plugins=plugins #dbms.directories.certificates=certificates #dbms.directories.logs=logs #dbms.directories.lib=lib #dbms.directories.run=run # Enable this to be able to upgrade a store from an older version. #dbms.allow_format_migration=true
3 - Change ''dbms.directories.data'' value with the directory to store your data
#***************************************************************** # Neo4j configuration # # For more details and a complete list of settings, please see # https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ #***************************************************************** # The name of the database to mount #dbms.active_database=graph.db dbms.active_database=Neo4jDB # Paths of directories in the installation. dbms.directories.data=/home/andrea/neo4j/ #dbms.directories.plugins=plugins #dbms.directories.certificates=certificates #dbms.directories.logs=logs #dbms.directories.lib=lib #dbms.directories.run=run # Enable this to be able to upgrade a store from an older version. #dbms.allow_format_migration=true
4 - Enable ''dbms.allow_format_migration''
#***************************************************************** # Neo4j configuration # # For more details and a complete list of settings, please see # https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/ #***************************************************************** # The name of the database to mount #dbms.active_database=graph.db dbms.active_database=Neo4jDB # Paths of directories in the installation. dbms.directories.data=/home/andrea/neo4j/ #dbms.directories.plugins=plugins #dbms.directories.certificates=certificates #dbms.directories.logs=logs #dbms.directories.lib=lib #dbms.directories.run=run # Enable this to be able to upgrade a store from an older version. dbms.allow_format_migration=true
5 - Go into the database folder you want to open
cd path/to/db/
6 - Run Neo4j console
/path/of/neo4j/bin/neo4j console
7 - Open the Neo4j webapp
Type in the browser: http://localhost:7474/browser/