Installing or upgrading Disconnected Log Collector on Ubuntu Linux

Install IBM Disconnected Log Collector on a computer or virtual machine (VM) that meets all the system requirements. You can install only one instance of Disconnected Log Collector per computer or VM.

About this task

Procedure

  1. Go to https://www.ibm.com/support/pages/java-sdk-downloads-version-80, and download the SDK version of the Linux® on x86 systems 64-bit Archive package.
  2. Verify that the /opt/ibm directory exists on your system by running the following command:
    ls /opt/ibm

    If the directory does not exist, run the following command:

    mkdir /opt/ibm
  3. Extract the Java archive by running the following command:
    tar -zxvf ibm-java-sdk-<version>-linux-x86_64.tgz -C /opt/ibm

    After you install Java, you must update the PATH variable to include /opt/ibm/ibm-java-x86_64-80/jre/bin. This is required later to run the update-ca-certificates.

    echo 'export PATH=$PATH:/opt/ibm/ibm-java-x86_64-80/jre/bin' >> ~/.profile
    source ~/.profile
  4. Install the ca-certificates-java package by running the following commands:
    apt update
    apt install ca-certificates-java
  5. Copy the dlc-service-install-deb.tgz file to your system and extract the file by running the following command:
    tar -zxvf dlc-service-install-deb-<version>.tgz
  6. Run the Disconnected Log Collector installation script:
    ./install.sh
  7. To uninstall your Disconnected Log Collector instance, run the uninstallation script:
    ./uninstall.sh

Results

To verify a successful installation process, run the following command:
systemctl status dlc

An active (running) message indicates that the installation was successful and that Disconnected Log Collector is running.

What to do next

After you install Disconnected Log Collector, you must open firewall ports to allow communication. For more information, see Opening required ports in the Linux firewall.