Updated on 2026-06-30 GMT+08:00

Upgrading the MgC Agent for Linux

If Upgrade available is displayed in the Installed Version column of your MgC Agent, your MgC Agent is outdated. Upgrade to the latest version to ensure full feature availability.

When you upgrade the MgC Agent for Linux, the files and data in the directories below will be retained.

Table 1 Directories retained during the Linux upgrade

Directory

Description

/opt/cloud/MgC-Agent/config

Stores configuration files.

/opt/cloud/MgC-Agent/data

Stores data table files.

/opt/cloud/MgC-Agent/logs

Stores log files.

/opt/cloud/MgC-Agent/tools/SCCConf

Stores SCC encryption files.

Procedure

  1. On the Linux server where the MgC Agent of an earlier version is installed, run the following command to go to the scripts folder in the MgC Agent installation directory:

    cd /opt/cloud/MgC-Agent/scripts

  2. Run the following command to stop the MgC Agent:

    sh stop.bat

  3. Sign in to the MgC console. In the navigation pane, choose MgC Agent.
  4. In the Linux area, click Download Installation Package or Copy Download Command to download the MgC Agent installation program to the Linux server.
  5. Install the latest version of the MgC Agent. For details, see Installing the MgC Agent on Linux.