cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to install APOC in Neo4j community created in Azure VM?

LJRB
Graph Buddy

I have a Neo4j VM running in Azure but APOC is not installed.

I can ssh the VM with Putty but I don't know what can I to do to install APOC in the VM ?

I don't know what commands I have to enter and I don't find something in internet that explain it.

In the documentation I saw this: https://neo4j.com/labs/apoc/4.1/installation/

Go to the latest release for Neo4j version 4.1 and download the binary jar to place into your $NEO4J_HOME/plugins folder.

But I don't know how to do it with ssh.

Version: 4.1.3
Edition: Community

Operating system: Linux (ubuntu 18.04)

1 ACCEPTED SOLUTION

also my initial response sort of circumvents the initial problem. if you have ssh access then presumably you should be able to winscp (https://winscp.net/eng/index.php ) the apoc jar from your desktop to the Azure instance.

View solution in original post

3 REPLIES 3

depending on what you need to do with APOC you might simply want to do the following on your 4.1 installation

mv $NEO4J_HOME/labs/apoc-4.1.0.3-core.jar $NEO4J_HOME/plugins/

replacing $NEO4J_HOME with the respective path.

Then modify the $NEO4J_HOME/conf/neo4j.conf and add

dbms.security.procedures.unrestricted=apoc.*

And then restart Neo4j. After restarting and connecting via bin/cypher-shell and running

call dbms.procedures() yield name;

you should see a number of APOC stored procs.

With Neo4j 4.x a number of the more common stored procs that we part of APOC have now been added to 'labs/apoc.*-core.jar`

more details can be had at https://neo4j.com/labs/apoc/4.1/installation/#apoc-core

also my initial response sort of circumvents the initial problem. if you have ssh access then presumably you should be able to winscp (https://winscp.net/eng/index.php ) the apoc jar from your desktop to the Azure instance.