The Neo4j Debian repository can be used on Debian or Ubuntu.
To use the repository follow these steps:
$ wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
$ echo 'deb http://debian.neo4j.org/repo stable/' >/tmp/neo4j.list
$ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d
$ sudo apt-get update
Latest Neo4j version need to java 1.8
$ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz
$ sudo tar -xzvf jdk-8u92-linux-x64.tar.gz
$ sudo vim /etc/profile
JAVA_HOME=/usr/java/jdk.1.7.0_45
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
JRE_HOME=/usr/java/jdk.1.7.0_45/jre
PATH=$PATH:$HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
$ source /etc/profile
if you get error then install java like below code,
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
To install the latest Neo4j Community Edition:
$ sudo apt-get install neo4j
To install the latest Neo4j Enterprise Edition:
$ sudo apt-get install neo4j-enterprise
To instal other versions:
By default you will install the latest Neo4j version. The repository also contains older versions.
$ apt-cache madison neo4j
$ sudo apt-get install neo4j=2.2.5
After this steps Neo4j install on ubuntu;
$ sudo service neo4j-service {start|stop|status|restart|force-reload}
For access Neo4j anywhere;
$ sudo vim /etc/neo4j/neo4j-server.properties
Add below line;
org.neo4j.server.webserver.address=0.0.0.0
$ sudo service neo4j-service restart
Neo4j ready for access anywhere, open a browser;
http://myserver:7474
To use the repository follow these steps:
$ wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
$ echo 'deb http://debian.neo4j.org/repo stable/' >/tmp/neo4j.list
$ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d
$ sudo apt-get update
Latest Neo4j version need to java 1.8
$ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz
$ sudo tar -xzvf jdk-8u92-linux-x64.tar.gz
$ sudo vim /etc/profile
JAVA_HOME=/usr/java/jdk.1.7.0_45
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
JRE_HOME=/usr/java/jdk.1.7.0_45/jre
PATH=$PATH:$HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
$ source /etc/profile
if you get error then install java like below code,
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
To install the latest Neo4j Community Edition:
$ sudo apt-get install neo4j
To install the latest Neo4j Enterprise Edition:
$ sudo apt-get install neo4j-enterprise
To instal other versions:
By default you will install the latest Neo4j version. The repository also contains older versions.
$ apt-cache madison neo4j
$ sudo apt-get install neo4j=2.2.5
After this steps Neo4j install on ubuntu;
$ sudo service neo4j-service {start|stop|status|restart|force-reload}
For access Neo4j anywhere;
$ sudo vim /etc/neo4j/neo4j-server.properties
Add below line;
org.neo4j.server.webserver.address=0.0.0.0
$ sudo service neo4j-service restart
Neo4j ready for access anywhere, open a browser;
http://myserver:7474
Comments
Post a Comment