What to do…
Upload the JAR file to the remote server running Neo4j
Login into remote server running Neo4j
Move the JAR file to the plugins folder /var/lib/neo4j/plugins
Change owner and group of the JAR file to neo4j
Make the JAR file executable
*Allow the JAR file to be loaded by adding it to the config neo4j.conf
Restart Neo4j service on remote server
…and how to do it
scp -i key.pem example-1.0.0.jar [email protected]:.
ssh -i key.pem [email protected]
mv example-1.0.0.jar /var/lib/neo4j/plugins
chown neo4j:neo4j /var/lib/neo4j/plugins/example-1.0.0.jar
chmod +x /var/lib/neo4j/plugins/example-1.0.0.jar
nano /etc/neo4j/neo4j.conf
systemctl restart neo4j