Skip to main content

Posts

Neo4j APOC

// On Windows machine with eclipse+maven+neo4j_APOC pluing
/*
We need to change neo4j.conf file and need to add following lines:
apoc.export.file.enabled=true
apoc.import.file.enabled=true

Edit and uncomment #dbms.directories.plugins=plugins  as given below
dbms.directories.plugins=C:/Users/FAAIZ/Downloads/neo4j-community-3.2.6/plugins
save the file and exit.
Now, download the APOC plugin apoc-3.2.0.4-all.jar from
https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/3.2.0.4
Check the latest version of jar as per latest. For me above is the latest while writing this file and put at the location which you mentioned in dbms.directories.plugins
*/
import org.neo4j.driver.v1.*;
public class boltApoc{
 public static void main(String[] args) {

  Driver driver = GraphDatabase.driver("bolt://127.0.0.1:7687", AuthTokens.basic("neo4j", "neo4j"));
  Session session = driver.session();
  StatementResult result = session.run("CALL apoc.export.csv.query(\"…
Recent posts

Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1) on Linux Ubuntu 32-bit (i386)

Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1) on Linux Ubuntu 32-bit (i386) Step 1 Download the Installation files (in our case it is CZGL9MLtar.gz)

Step 2: We need to install an additional package for this version i.e., libstdc++5. This package contains an additional runtime library for C++ programs built with the GNU compiler. #apt-get install ksh libstdc++5
Step 3 Gunzip and tar the downloaded file. Make sure you have root privileges. root@ABCXYZ:~#pwd /root #chmod 777 CZGL9ML.tar.gz #gunzip CZGL9ML.tar.gz #tar -xvf /home/rizvi/CZGL9ML.tar #cd TSMCLI_LNX/tsmcli/linux86/ Here you would see rpm files. Step 4 Now we will unpack rpm files. For this we need alien package installed. If not then (#apt-get install alien) #alien –g TIVsm-API.i386.rpm #alien –g TIVsm-BA.i386.rpm #alien -g gskcrypt32-8.0.13.3.linux.x86.rpm #alien -g gskssl32-8.0.13.3.linux.x86.rpm
Step 5 Now we will change directory name. This is an issue which comes when building .deb package #mv TIVsm-API-6.2.1/debian/ TIVsm-API-6…