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:
- Download the Java runtime environment (JRE) installation package from the following website:
- 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:
- Run the following command to validate the JDK configuration:
- As the root user, run the following command to navigate to the /opt directory:
Checking DIS Streams
- Log in to the DGC console, select an instance, and click Access on it.
Click Workspace Management to create a workspace.
The workspace you created will show up in the list of workspaces.
- Click Data Integration of the corresponding workspace.
The Data Integration page is displayed.
- In the navigation pane, choose Stream Management.
- 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). For details, see the Obtaining Authentication Information.
- Project ID
A project is a group of tenant resources. Each region has a unique project ID. For details, see the Obtaining Authentication Information.
Obtaining the DIS Agent Package
Obtain the dis-agent-X.X.X.zip package from https://dis-publish.obs-website.cn-north-1.myhuaweicloud.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.