Created
July 21, 2015 15:09
-
-
Save ellipsonic/46bca3f7924d8b72e80b to your computer and use it in GitHub Desktop.
Neo4j Server Deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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