Getting Started Linux - Gadreel/divconq GitHub Wiki

By default we assume you will run all components of the demo on same computer. If you plan to run the demo on separate computers be sure to visit [Getting Started Config](Getting Started Config).

Step 1) Get Java 8 SE

Install Java 8 via your package manager or directly from Oracle:

[Oracle JRE 8 Download] (http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)

I found these instructions helpful, fyi.

Step 2) Set Symbolic Link to Java

The demo assumes that Java 8 is available at /usr/lib/jvm/jre, if it is not then you must set a symbolic link for that. On my server it looked like this:

#sudo ln -s /usr/lib/jvm/jdk1.8.0_20 /usr/lib/jvm/jre

Step 3) Install Java Cryptography Extension

Download and install the [Java Cryptography Extension] (http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) which enables high strength cryptography.

Step 4) Firewall configuration

Check that your firewall will allow listening on the following ports:

  • dcFileServer needs 8443
  • dcFileGateway needs 4443, 7443 and 7444
  • dcFileTasks needs 6443

Step 5) Download DivConq Demo Server

[File Server Demo] (https://github.com/Gadreel/divconq/releases/download/divconq-core-0.9.5/FileServerDemo-0.9.5-bin.zip)

Step 6) Expand the ZIP file four times

  1. Expand demo ZIP into a folder such as /usr/local/bin/dc/dcFileServer
  2. Expand demo ZIP into a folder such as /usr/local/bin/dc/dcFileGateway
  3. Expand demo ZIP into a folder such as /usr/local/bin/dc/dcFileClient
  4. Expand demo ZIP into a folder such as /usr/local/bin/dc/dcFileTasks