Configuring Neo4j server:
Yes, there are plenty of tutorials for setting up Neo4j already, but I wanted to focus on a few settings that makes it easier to use it with data integration.
This tutorial will focus on Neo4j server for windows. It is NOT very complicated, and you'll be up and running in no time flat:
What you need to before you begin
|
System Requirements:
|
- Extract the archive into the folder you want to be your installation folder
- Use an editor to modify /conf/neo4j.confSettingActionDescription#dbms.directories.import=importComment outallows custom imports on-demandapoc.import.file.enabled=trueaddAllow APOC file imports#dbms.memory.heap.initial_size=5g#dbms.memory.heap.max_size=5g
#dbms.memory.pagecache.size=7gcustomize memoryMemory configuration will depend on how large your graphDB will become. Here's a good primer:
https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin-memrec/dbms.connectors.default_listen_address=0.0.0.0uncommentAllows non-local connections - Configure Plugins:PluginDescriptionDownload URLNotesDon't ask, just install it. No really! You want this.Install binary .jar into /plugins folderMSSQL JDBCAdd this if you need to connect to MS SQLExtract mssql-jdbc-7.x.x.jre8.jar into /plugins folderExcel (multiple file formats)To support import from these formats download the dependencieshttps://repo1.maven.org/maven2/org/apache/poi/poi/4.1.2/poi-4.1.2.jar
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml/4.1.2/poi-ooxml-4.1.2.jar
https://repo1.maven.org/maven2/org/apache/poi/poi-ooxml-schemas/4.1.2/poi-ooxml-schemas-4.1.2.jar
https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar
https://repo1.maven.org/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jarPlace these .jar files into the /plugins folderAdvantage DatabaseTo connect to Advantage (sybase) SQL via JDBCThis is to support the CRM I use (CommitCRM) - Configure Windows ServiceNeo4j should be configured to run as a Windows service. Launch a command shell, and install the service from within the /bin folderneo4j install-serviceIf you are upgrading from an older version, you will need to first unregister the service for the old version:
neo4j uninstall-service - Set Initial Passwordneo4j-admin set-initial-password mysupersecretpassword
- Start the servicesc start neo4j(or use the service control panel)That's it! You should be ready to go with a neo4j server that's ready to connect to SQL Server, import from CSV/XLS files, and you will have the APOC library plugins at your disposal!
No comments:
Post a Comment
Have a comment? Would love to hear it!