Updated on 2022-12-07 GMT+08:00

Preparing for Installing DIS Agent

Checking Dependencies

  1. Check the server type.

    • Linux x86-64 (64-bit) server, for example, EulerOS, Ubuntu, Debian, CentOS, or OpenSUSE
    • Windows 7 or a later version

  2. Ensure that Java 1.8.0 or later has been installed.

    To download JRE, go to https://www.java.com/en/download/manual.jsp.

    If Java 1.8.0 or later is not installed, perform the following steps to install it on a Linux server:
    1. As the root user, run the following command to navigate to the /opt directory:

      cd /opt

    2. Run the following command to create the JDK installation directory jre:

      mkdir -p jre

    3. Run the following command to assign the permission to the JDK installation directory:

      chmod -R 640 jre/

    4. Download the Java runtime environment (JRE) installation package from the following website:

      tar -zxvf 'JRE installation package name'.tar.gz

    5. Modify the /etc/profile file.
      1. Run the following command to open the /etc/profile file: vim /etc/profile
      2. Add the following JDK installation directory information to the configuration option JAVA_HOME in the /etc/profile file:

        export JAVA_HOME=path to the jre folder

        export PATH=$PATH:$JAVA_HOME/bin

        export CLASSPATH=.:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/ext

      3. Run the following command to save the modification and exit:

        :wq

    6. Run the following command to validate the JDK configuration:

      source /etc/profile

Checking DIS Streams

  1. Use the account to log in to the DIS console.
  2. Click in the upper left corner of the page and select a region and project.
  3. In the navigation tree, choose Stream Management.
  4. Ensure that at least one DIS stream is in the Running state and ready to receive incoming data.

Checking Authentication Information

  • AK/SK file

    Access Key ID/Secret Access Key (AK/SK) files are created by the Identity and Access Management (IAM) service to authenticate calls to application programming interfaces (APIs) on the cloud. To obtain AK/SK, choose My Credentials > Access Keys.

  • Project ID

    A project is a group of tenant resources. A tenant can have multiple projects, one for each region. Each region has a unique Project ID. To view the project IDs of different regions, choose .

Obtaining DIS Agent Package

Obtain the dis-agent-X.X.X.zip package from https://dis-publish.obs-website.cn-north-1.myhuaweicloud.com/.