限centos
neo4j与java下载:
链接:https://pan.baidu.com/s/1ei15dROGy3OwJfbislxH7g
提取码:8B3A
下载后
1.在linux中建立文件夹
mkdir /neo4j
2.上传包到该路径
3.解压包
tar -zxvf 文件名.tar.gz
4.配置java环境
vi /etc/profile # BEGIN set java environment #export JAVA_HOME=/opt/jdk/jdk1.8.0_152 export JAVA_HOME=/neo4j/jdk-11 export JRE_HOME=$JAVA_HOME/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$JAVA_HOME:$PATH
5.使配置生效
source /etc/profile
6.配置neo4j环境
cd /neo4j/neo4j-community-4.4.0/conf
vi neo4j.conf
#使所有ip都可访问
# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
dbms.default_listen_address=0.0.0.0
保存退出
7.启动服务
直接运行:
cd ../bin
neo4j console
后台运行:
nohup neo4j console &
8.打开网页端
http://服务器IP:7474/browser/