Reputation: 663
Has anyone succeeded in installed Neo4j on FreeBSD?
The following works (edit 28 July 2015):
# pkg install bash # requirement, skip if already installed
# pkg install openjdk # requirement, skip if already installed
# pkg install lsof
# adduser neo4j
# su neo4j # make sure you set bash as the default shell
# wget http://neo4j.com/artifact.php?name=neo4j-community-2.1.5-unix.tar.gz -o neo4j-project.tar.gz
# tar xvzf neo4j-project
# modify ./neo4j-project/bin/utils script to use /usr/local/bin/bash instead of /bin/bash
# modify ./neo4j-project/conf/neo4j-server-properties to your needs
# neo4j ./neo4j-project/bin/neo4j console
Upvotes: 1
Views: 896
Reputation: 3248
Copied from @rvaneiik's google groups link (in the comments).
Had the same issue and I found that creating a dedicated neo4j user with bash as shell resolves it. The steps I did to get Neo4J 2.0.1 running:
pkg install bash
pkg install openjdk
pkg install lsof
Modify both the neo4j
and utils
script to use /usr/local/bin/bash
instead of /bin/bash
su to neo4j user
cd bin
./neo4j start
Haven't found any issues yet, the setup is currently only used for testing though.
Upvotes: 2