Unix (MAC) standalone installation neo4j

Source: Internet
Author: User
Tags neo4j

Single version installation

Stand-alone installation is simple:

1) After downloading the community version of NEO4J, unzip it and run the command: TAR–ZVXF neo4j-community-2.0.1.tar.gz

2) Modify the Conf/neo4j-server.properties configuration file to remove the org.neo4j.server.webserver.address=0.0.0.0 comment characters

3) Finally enter the Bin directory and start the NEO4J service.

4) Enter Http://ip:7474/webadmin to enter NEO4J console



Cluster environment construction

NEO4J cluster environment to build a relatively complex process, and can not choose community version, so this article uses Enterprise Edition originally built neo4j HA

Build the Environment:

Master1 Master2 Master3 operating system and its version number is Unbuntu 12.04.2

Construction process:

Master1 Master2 Master3 This process is basically consistent.

1) Turn off the firewall:

UFW Disable

2) Modify the/etc/hosts, the corresponding configuration is as follows:

192.168.75.34 Master1

192.168.75.35 Master2

192.168.75.36 Master3

3) Install JDK 7 (this is necessary because he only recognized JDK7)

Download jdk:wget-chttp://download.oracle.com/otn-pub/java/jdk/7/jdk-7u51-linux-x64.tar.gz

Decompression software

Tar zxvf./JDK-7-LINUX-I586.TAR.GZ-DIRECTORY=/USR/LIB/JVM

Cd/usr/lib/jvm

modifying environment variables

Vim ~/.BASHRC
Export java_home=/usr/lib/jvm/jdk1.7.0_51
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH
SOURCE  ~/.BASHRC


Unix (MAC) standalone installation 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.