Centos installation and configuration Neo4j

Article Directory

installation

  1. Download https://neo4j.com/download/

  2. 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/
    Insert picture description here

  3. Unzip the neo4j installation package

tar -xzvf neo4j-community-4.0.3-unix.tar.gz
  1. Enter neo4j-community-4.0.3/conf/, modify neo4j.conf, and uncomment the line default_listen_adress=0.0.0.0
  2. Open server 7474, 7687 port
  3. 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

  1. 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)
  2. Enter the command yum install java-1.8.0-openjdk.x86_64 (in this example, install java1.8)
  3. After the installation is successful, you can view the version with java -version

Guess you like

Origin blog.csdn.net/weixin_39333120/article/details/115143717