ubuntu下neo4j的安装

时间:2021-07-28 17:59:47

环境: 
ubuntu14.04 
neo4j-enterprise-1.9.4-unix.tar.gz 
neo4j-enterprise-2.3.0-M02同样可行 

单机: 

1、下载neo4j并解压

地址:http://neo4j.com/download/other-releases/

ubuntu下neo4j的安装

wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee /etc/apt/sources.list.d/neo4j.list
sudo apt-get update
sudo apt-get install neo4j
sudo apt-get install neo4j-enterprise
    

2、运行启动neo4j

neo4j start
 
 
 
  • 1

如果不在本机访问需要修改配置:

neo4j restart  
 
 
 
  • 1

重启:(个人mac 安装在  /User/yumh/neo4j/ 目录下)

./neo4j-enterprise-1.9.4/bin/neo4j restart  
 
 
 
  • 1

3、修改配置

 vim  /etc/neo4j/neo4j.conf 

修改55行,注释去掉

修改72 76 80行,注释去掉

4、执行访问

http://IP:7474

进入web界面

第一次登录的控制台的用户名和密码均为neo4j