- Make repository by importing
root@localhost ~]# rpm --import http://debian.neo4j.org/neotechnology.gpg.key
2.Check yum repository by cat command
[root@localhost ~]# cat /etc/yum.repos.d/neo4j.repo
[neo4j]
name=Neo4j RPM Repository
baseurl=http://yum.neo4j.org/stable
enabled=1
gpgcheck=1
3. Install using YUM
[root@localhost ~]# yum install neo4j-3.4.1 Loaded plugins: fastestmirror, langpacks neo4j | 2.9 kB 00:00:00 neo4j/primary_db | 35 kB 00:00:06 Loading mirror speeds from cached hostfile * base: mirror.nbrc.ac.in * extras: mirror.nbrc.ac.in * updates: mirror.nbrc.ac.in Resolving Dependencies --> Running transaction check ---> Package neo4j.noarch 0:3.4.1-1 will be installed --> Processing Dependency: cypher-shell for package: neo4j-3.4.1-1.noarch --> Running transaction check ---> Package cypher-shell.noarch 0:1.1.4-1 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================== Installing: neo4j noarch 3.4.1-1 neo4j 84 M Installing for dependencies: cypher-shell noarch 1.1.4-1 neo4j 2.6 M Transaction Summary ====================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 87 M Installed size: 97 M Is this ok [y/d/N]: y Downloading packages: (1/2): cypher-shell-1.1.4-1.noarch.rpm | 2.6 MB 00:00:07 (2/2): neo4j-3.4.1-1.noarch.rpm | 84 MB 00:02:12 ------------------------------------------------------------------------------------------------------------------------------------------------------ Total 670 kB/s | 87 MB 00:02:12 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : cypher-shell-1.1.4-1.noarch 1/2 Installing : neo4j-3.4.1-1.noarch 2/2 Verifying : cypher-shell-1.1.4-1.noarch 1/2 Verifying : neo4j-3.4.1-1.noarch 2/2 Installed: neo4j.noarch 0:3.4.1-1 Dependency Installed: cypher-shell.noarch 0:1.1.4-1 Complete!
4. Check neo4j status
[root@localhost ~]# neo4j status
Neo4j is not running
5. Start neo4j
[root@localhost ~]# neo4j start
Active database: graph.db
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 4917). It is available at http://localhost:7474/
There may be a short delay until the server is ready.
See /var/log/neo4j/neo4j.log for current status.
Now open URL http://localhost:7474/ in browser and login as
user: neo4j password : neo4j