Preparing for Installing DIS Agent
Checking Dependencies
- Check the server type.
- Linux x86-64 (64-bit) server, for example, EulerOS, Ubuntu, Debian, CentOS, or OpenSUSE
- Windows 7 or a later version
- 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:- As the root user, run the following command to navigate to the /opt directory:
cd /opt
- Run the following command to create the JDK installation directory jre:
mkdir -p jre
- Run the following command to assign permission 755 to the JDK installation directory:
chmod -R 777 jre/
- Download the Java runtime environment (JRE) installation package from the following website:
tar -zxvf 'JRE installation package name'.tar.gz
- Modify the /etc/profile file.
- Run the following command to open the /etc/profile file: vim /etc/profile
- 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
- Run the following command to save the modification and exit:
:wq
- Run the following command to validate the JDK configuration:
source /etc/profile
- As the root user, run the following command to navigate to the /opt directory:
Checking DIS Streams
- Use the account to log in to the DIS console.
- Click
in the upper left corner and select Region and Project. - In the navigation tree, choose Stream Management.
- 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 .
- 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.myhwclouds.com/.
Last Article: DIS Agent Overview
Next Article: Installing DIS Agent
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.