A short note on installing the neo4j graph database on a Ubuntu 14.04 virtual private server (VPS).
Things you need:
sudo apt-get install python-software-properties
and / or (not sure)
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jre-headless
wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-
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
service neo4j status
Installation done!
You can access the web interface via http://localhost:7474. To grant access from outside, you need to modify the neo4j config
/etc/neo4j/neo4j.conf
Under ‘Network connector configuration’, uncomment the line
dbms.connectors.default_listen_address=0.0.0.0
Finally, restart neo4j:
service neo4j restart
Now, the neo4j web interface should be available here:
http://YOUR_SERVER_IP:7474
Done.