Article Directory
installation
-
Download https://neo4j.com/download/
-
In Linux, there is a strict correspondence between jdk installation, jdk and neo4j versions.
See: https://neo4j.com/docs/operations-manual/4.0/installation/requirements/
-
Unzip the neo4j installation package
tar -xzvf neo4j-community-4.0.3-unix.tar.gz
- Enter neo4j-community-4.0.3/conf/, modify neo4j.conf, and uncomment the line default_listen_adress=0.0.0.0
- Open server 7474, 7687 port
- Enter neo4j-community-4.0.3/bin/ and execute ./neo4j start to start
use
Initial account: neo4j, password: neo4j
in the /neo4j-community-4.0.3/bin/ path, execute ./cypher-shell
Enter the initial account password, you will be asked to change the password
Visit http://127.0.0.1:7474/browser/ to see Neo4j's web interface
Linux install Jdk
- Enter the command yum -y list java* (the main function is to query java related lists)
or enter the command yum search jdk (query related jdk) - Enter the command yum install java-1.8.0-openjdk.x86_64 (in this example, install java1.8)
- After the installation is successful, you can view the version with java -version