Neo4j is a high-performance NOSQL graph database that stores structured data on the network instead of in tables.

This installation is performed on Alibaba Cloud centos7. The general process is as follows, and I would like to record it here:

Installation package download address https://neo4j.com/download-center/#community Community version

The download server is abroad, and the download speed using domestic machines is extremely slow, about 20KB/s, and the installation package is 100M+. You can find a foreign vps to transfer it;

tar -zxvf decompress to the storage destination path, and cd to enter;

The current Neo4j version is 4.1.2, and Java 11 is required for startup. If it already exists, directly start it in the background with ./bin/neo4j start, or in the ./bin/neo4j console command format;

To operate remotely through a browser, you need to modify the configuration file conf/neo4j.conf, remove the # before the line dbms.connectors.default_listen_address=0.0.0.0, save it, and restart neo4j;

The firewall opens ports 7474 and 7687, and the browser can access http://ip:7474. The default username and password are neo4j, and the password is forced to be changed when logging in for the first time;

Upgrade to Java11:

Uninstall the old version:

yum -y remove java-1.8.0-openjdk*

yum -y remove tzdata-java.noarch

Install new version:

yum install java-11-openjdk* -y


Leave a Reply