forked from docs/doc-exports
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
3.9 KiB
3.9 KiB
Installing the Agent on a Linux Server
Scenarios
This topic describes how to manually install the Agent on a Linux ECS or BMS.
Prerequisites
- You have the read and write permissions for the installation directories in Procedure. The Telescope process will not be stopped by other software after the installation.
- You have performed operations described in Modifying the DNS Server Address and Adding Security Group Rules (Linux).
Procedure
- Log in to the ECS or BMS as user root.
- Run the following command to install the Agent:
cd /usr/local && wget https://telescope-eu-de.obs.eu-de.otc.t-systems.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh
If Telescope process starts successfully or Success to install telescope is displayed, the Agent is successfully installed.
- Configure the Agent by referring to Restoring the Agent Configurations on a Linux Server or (Optional) Manually Configuring the Agent (Linux).
- Restoring Agent Configurations allows you to configure AK/SK, RegionID, and ProjectId in just a few clicks. You can also modify related configuration files by referring to (Optional) Manually Configuring the Agent (Linux).
- Agent configuration restoration cannot be performed on BMSs. For details about how to modify the Agent configuration file on a BMS, see (Optional) Manually Configuring the Agent (Linux).
- 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