..
Install neo4j on Ubuntu 14.04 VPS
A short note on installing the neo4j graph database on a Ubuntu 14.04 virtual private server (VPS).
Things you need:
- add-apt-repository (you may have this already)
sudo apt-get install python-software-properties
and / or (not sure)
sudo apt-get install software-properties-common
- openjdk-8-jre-headless
Version 8 is not officially available for 14.04, but there are PPAs.sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jre-headless
- neo4j
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
- Check the status of 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.