1、Windows安装
https://neo4j.com/docs/operations-manual/current/installation/windows/
1.下载zip包,下载地址
2.解压
3.启动bin/neo4j console
2、Linux安装
https://neo4j.com/docs/operations-manual/current/installation/linux/rpm/
2.1、yum 安装
rpm --import https://debian.neo4j.com/neotechnology.gpg.key
cat <<EOF > /etc/yum.repos.d/neo4j.repo
[neo4j]
name=Neo4j RPM Repository
baseurl=https://yum.neo4j.com/stable
enabled=1
gpgcheck=1
EOF
yum install neo4j-3.5.31
2.2、tar安装
https://neo4j.com/docs/operations-manual/3.5/installation/linux/tarball/
1.下载tar包,下载地址
2.解压
3.启动bin/neo4j console
3、配置与访问
默认不支持远程访问
修改配置文件,可以远程访问
vim /etc/neo4j/neo4j.conf
# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=0.0.0.0:7687
# HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=0.0.0.0:7474
通过neo4j browes访问:http://localhost:7474
默认账户:neo4j/neo4j