Installing APOC
The first step is to download the APOC version corresponding to your Neo4j version (same major and minor number), which can be seen in the Neo4j browser after clicking on the first tab in the upper-left corner of the screen. The next steps vary, depending on how you run Neo4j.
On a hardware server
If you have installed Neo4j on a hardware machine, whether it runs Windows, OS X, or Linux, stop your Neo4j server with the following command:
neo4j stop
Then copy the downloaded jar in the plugins
subfolder and restart your server:
neo4j start
You can now jump to the paragraph Verifying APOC installation.
On a Docker container
First, you have to stop your container, as seen previously.
Then, providing you followed the instructions of the Chapter 2, Getting Started with Neo4j, cd
into the neo4j
folder you created and create a plugins
directory:
cd ~/neo4j mkdir plugins
In this new folder, copy the APOC JAR archive that you have downloaded.
Then, we will restart the container with a new file...