Skip to content

Instantly share code, notes, and snippets.

@ellipsonic
Created July 21, 2015 15:09
Show Gist options
  • Save ellipsonic/46bca3f7924d8b72e80b to your computer and use it in GitHub Desktop.
Save ellipsonic/46bca3f7924d8b72e80b to your computer and use it in GitHub Desktop.
Neo4j Server Deploy
# Update system files
apt-get update
apt-get install -y sudo
# Install dependencies
sudo apt-get install -y git
sudo apt-get install -y openjdk-7-jdk
# Git all files
git clone https://github.com/ellipsonic/neo4j.git
cd neo4j
pubilc_ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
sudo sed -i ''s/org.neo4j.server.webserver.address=0.0.0.0/org.neo4j.server.webserver.address=$pubilc_ip/g'' conf/neo4j-server.properties
bin/neo4j start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment