Installation of graphical database neo4j under Linux

Source: Internet
Author: User
Tags neo4j

System Requirements: Open JDK 8 must be installed

You can use the following command to view the system Java environment

1 grep GCJ

1. Download the JDK and install
Official website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

The version downloaded in this example is jdk-8u144-linux-x64.tar.gz

Unzip and place in the/usr/local/java/directory, as shown in

2. Modify the system environment variables to point the Java environment to the newly installed environment

1 vim/etc/profile23#在文件末尾添加如下环境变量 4 java_home=/usr/local/ Java 5 classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar6 path= $JAVA _home/  Bin: $PATH7 export Java_home CLASSPATH PATH

The modified file looks like the

3. Installing neo4j
Official website: https://neo4j.com/download/

This example version is: neo4j-community-3.2.2-unix.tar.gz

Unzip and place in the/usr/local/neo4j/directory as shown below

Modify the current user environment variable so that the current user can find the executable file for neo4j, using root (not recommended) in this example.
Can use other users, such as neo4j

1 vim/root/. Bash_profile2#在文件末尾加上如下代码 3 export path=/usr/local/neo4j/ Bin: $PATH

As shown

Make environment variables effective

1 source/root/.bash_profile

Modify the neo4j configuration file so that it can be accessed from the Remote Access console

1 vim/usr/local/neo4j/conf/neo4j.conf

Remove the previous comment, as shown in

4. Connection test
Start the NEO4J database,

Browser Connection test,

If the browser is not accessible, the SELinux and Iptables commands can be closed as follows
Setenforce 0
Iptables-f

Installation of Linux database neo4j

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.