How To Install Xplain Data Software on your Server

How To Install Xplain Data Software on your Server

This is a step by step tutorial that describes how to install Xplain Data software packages on your server. We use Docker to distribute and update our software packages. If you already installed Docker on your server, you may skip the first step. If you do not want to install our software via Docker images, but prefer to have direct access to the individual JAR files, please  <a href=””>click here</a>.

  1. Download and Install Docker:If you haven’t already installed docker go to Download the correct installer for your operating system, run the installation and follow the instructions.
  2. Docker Settings: enable “insecure registries” in your Docker settings. This can be done by using Docker’s UI (Click on “Daemon” and add as an insecure registry) or by adding the following to your Dockers configs (see Dockers docs):
        "insecure-registries" : [""]

  3. Docker Memory: depending on the xtables you are going to load, you will have to alter to memory settings of Docker. If you are using Docker’s UI, go to the “Preferences” menu, then set the “Disk image Size” in the “Disk” tab to an appropriate value (e.g. 200 GB) and the “Memory” in the “Advanced” tab (e.g. to 12 GiB).
  4. Login: on the command line interface, execute the following Docker command:
    docker login

    When asked, enter your credential details (user / password).

  5. Pull lates Version: execute the following command:
    docker pull

    This package will contain Xplain’s Object Explorer and the Generate Tool. Furthermore, you may use the CLI interface to build your own models.

  6. Run Docker Image: If you do not have your own Xplain data model, you may want to use the demo model by executing the following:
    docker run -it --rm -p 8080-8081:8080-8081

    If you do not want to play around with test data, but use your real world data instead, you will most likely want to use your own /xdata directory (the directory that basically holds all relevant data of your Xplain data model). Use the -v parameter to set this path:

    docker run -it -v [my xdata path]:/xdata --rm -p 8080-8081:8080-8081

    Replace [my xdata path] with the path to your /xdata directory (the folder where your \config and \data subfolders can be found).

  7. Run Application: now, open your web browser. Head to http://localhost:8080/objectexplorer/index.html to start the ObjectExplorer or to http://localhost:8081/generate/index.html to start the Generator Tool. If you are using the demo data, use the username “user” and the password “xplainData” to log in. Important: The “Generator Tool” is still in beta stage. It can support you in your work and enable you to build an Xplain data model faster. But it is still a few steps away from becoming a finished product.
  8. Use the CLI Interface: on the command line of your docker image, jump to the config directory and rebuild your demo data model:
    export xplainpath=/path/to/your/xplaindata
    cd xdata/config/
    java -jar /xplain.jar -g import.xgenscript

    That’s it! We strongly recommend reading the short introduction into user management.