Installing & configuring Apache Solr (for testing only)

To search and index data, the eperi sEcure Platform uses the open source search platform Apache Solr. For testing purposes you may install and configure Apache Solr in Cloud Mode on the same server as eperi sEcure Platform.

About this task

Important: The installation described below is only for testing purposes! For a production environment, we recommend a cluster setup for performance reasons. If so, follow the steps as described in section Cluster setup.
Note: The following procedure describes the installation under Ubuntu 16.04. and RHEL

Procedure

  1. Connect to the target server using your preferred ssh tool (e.g., PuTTY) and log in.
  2. Become the root user:
    sudo su -
  3. Install the Java 11 runtime (e.g. the OpenJDK 11 JRE):
    For Ubuntu:
    add-apt-repository ppa:openjdk-r/ppa
    apt update
    apt install openjdk-11-jre
    For RHEL:
    dnf install java-11-openjdk.x86_64
  4. Download the Solr archive to the /opt directory:
    cd /opt
    wget "http://archive.apache.org/dist/lucene/solr/8.3.1/solr-8.3.1.tgz"
  5. Extract the Solr distribution archive:
    tar zxf solr-8.3.1.tgz
  6. Start SolrCloud in Cloud mode with all the default settings:
    solr-8.3.1/bin/solr -cloud -noprompt -force
  7. Perform the steps as described in section Configuring the Solr services in eperi sEcure Platform.

Results

You have successfully installed and configured Apache Solr for testing purposes.