Updated on 2024-08-27 GMT+08:00

Installing the Agent on a Linux Server

Scenarios

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

Prerequisites

Procedure

  1. Log in to the ECS or BMS as user root.
  2. Run the following command to install the Agent:

    my-kualalumpur-1:

    cd /usr/local && curl -k -O https://uniagent-my-kualalumpur-1.obs.my-kualalumpur-1.alphaedge.tmone.com.my/package/agent_install.sh && bash agent_install.sh -r my-kualalumpur-1 -u 0.1.5 -t 2.5.6 -o alphaedge.tmone.com.my

    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