How to install apoc for neo4j?

后端 未结 2 1821
北荒
北荒 2021-01-05 04:59

According to https://neo4j-contrib.github.io/neo4j-apoc-procedures/, one only needs to download the binary jar from http://github.com/neo4j-contrib/neo4j-apoc-procedures/re

2条回答
  •  醉梦人生
    2021-01-05 05:21

    I'm using Red Hat Linux specifically Oracle-7 and here is how I got it working

    1. Download the apoc-.jar into the /var/lib/neo4j/plugins directory
    2. chown neo4j:neo4j apoc-.jar
    3. chmod 755 apoc-.jar
    4. Open the neo4j.conf at /etc/neo4j/neo4j.conf and replace the line #dbms.security.procedures.whitelist=apoc.coll.*,apoc.load.* with dbms.security.procedures.whitelist=apoc.coll.*,apoc.load.*,apoc.* and save it.
    5. Restart the Neo4j service by issuing the command systemctl restart neo4j

    Note: Make sure that you have the right version of apoc jar downloaded. I'm using the neo4j version 3.5.5 and the apoc jar version I'm using is apoc-3.5.0.3-all.jar. Alos make sure that you have the dbms.directories.plugins=/var/lib/neo4j/plugins uncommented in the /etc/neo4j/neo4j.conf

提交回复
热议问题