Difference between revisions of "Neo4J"

From Biowikifarm Metawiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
sudo apt-get install openjdk-7-jre
 
sudo apt-get install openjdk-7-jre
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
==install as package==
 +
sudo wget -O http://debian.neo4j.org/neotechnology.gpg.key
 +
sudo apt-key add neotechnology.gpg.key
 +
 +
To use redirection, type sudo -i to log in as root
 +
then
 +
echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list
 
== Running the server ==
 
== Running the server ==
 
Run: '''./bin/neo4j console''' to start server<br />
 
Run: '''./bin/neo4j console''' to start server<br />
 +
Start the Server:
  
 
+
/etc/init.d/neo4j-service start
user name: neo4j
+

Latest revision as of 20:10, 26 January 2015

Neo4J installation guide for linux

Follow this page
http://neo4j.com/docs/stable/server-installation.html

First run this command to save the file on linux server

sudo wget -O neo4j http://neo4j.com/artifact.php?name=neo4j-community-2.2.0-M02-unix.tar.gz

then do

tar -xf <filename>


Change directory to: NEO4J_HOME
(Use Oracle(R) Java(TM) 7 or OpenJDK(TM) to run Neo4j Server. Install if missing)
use

sudo apt-get install openjdk-7-jre

install as package

sudo wget -O http://debian.neo4j.org/neotechnology.gpg.key sudo apt-key add neotechnology.gpg.key

To use redirection, type sudo -i to log in as root then echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list

Running the server

Run: ./bin/neo4j console to start server
Start the Server:

/etc/init.d/neo4j-service start