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.
Procedure
-
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.
- 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
- 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
- Install the
ca-certificates-java
package by running the following
commands:
apt update
apt install ca-certificates-java
- 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
- Run the Disconnected Log
Collector installation script:
- To uninstall your Disconnected Log
Collector instance, run the uninstallation script:
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.