Neo4j 3.1.0 on Ubuntu 16.04

by rewardhaus
4 deployments · 3 still active · last rev. 3 months ago

Installs JRE and Neo4j

Compatible with: Debian 8, Ubuntu 16.04 LTS, Ubuntu 16.10, Ubuntu 14.04 LTS
# This script installs default Java Machine and latest version of enterprise Neo4j on your machine
# This script is compatible with Debian(8+) and Ubuntu (14.04+) as on Dec-21-2016

# update your distro
sudo apt-get update

# install the default JRE (required for running Neo4j)
sudo apt-get install default-jre -y

# the following commands add the neo4j repo to apt-get
wget -O - | sudo apt-key add -
echo 'deb stable/' | sudo tee /etc/apt/sources.list.d/neo4j.list

# get packages from the Neo4j list. I know it's been run before, but I like to
# do this twice just to ensure nothing got left out earlier
sudo apt-get update

# Gets Neo4j enterprise. To get latest version use sudo apt-get install neo4j-enterprise
# sudo apt-get install neo4j-enterprise=x.x.x, e.g. sudo apt-get install neo4j-enterprise=3.1.0
sudo apt-get install neo4j-enterprise=3.1.0 -y

# Install vim
sudo apt-get install vim -y

echo "in case of 3.1.0, the conf file can be edited by running vim /etc/neo4j/neo4j.conf"