Updated on 2025-02-27 GMT+08:00

Installing the Agent on a Linux Server

Scenarios

This section describes how to manually install the Agent on a Linux ECS or BMS.

Constraints

Only Windows and Linux OSs are supported. For details, see What OSs Does the Agent Support?

Prerequisites

Procedure

  1. Log in to the ECS or BMS as user root.
  2. 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.1.9 -t 2.7.2 -o myhuaweicloud.eu -d agent.ces.myhuaweicloud.eu

    The script supports x86 and Kunpeng Arm-based ECSs.

    The Agent is installed if the following command output is displayed.

    Figure 1 Successful installation

  3. Configure the Agent by referring to Restoring the Agent Configurations on a Linux Server or (Optional) Manually Configuring the Agent (Linux).
  4. Run the following command to 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