Updated on 2025-08-19 GMT+08:00

Installing the Agent on a Linux Server

This topic describes how to manually install the Agent on a Linux server.

Constraints

Only Windows and Linux are supported.

Prerequisites

  • You have modified DNS server addresses and added security group rules. For details, see Modifying the DNS Server Address and Adding Security Group Rules
  • You have configured an agency.
  • You have the read and write permissions for the installation directories. The Telescope process will not be stopped by other software after the installation.

Procedure

  1. Log in to a server as user root.
  2. Run either of the commands below to install the Agent.
    cd /usr/local && curl -k -O https://uniagent-eu-west-101.obs.eu-west-101.myhuaweicloud.eu/package/agent_install.sh && bash agent_install.sh -r eu-west-101 -u 0.2.1 -t 2.7.5 -o myhuaweicloud.eu -d agent.ces.myhuaweicloud.eu
    The Agent is installed if the command output similar to the following figure is displayed.
    Figure 1 Successful installation
  3. Clear the installation script.
    if [[ -f /usr/local/uniagent/extension/install/telescope/bin/telescope ]]; then rm /usr/local/agent_install.sh; else rm /usr/local/agentInstall.sh; fi

After you configure the Agent, its status is still displayed as Uninstalled because the monitoring data has not been reported yet. Wait for 3 to 5 minutes and refresh the page.