從 UNIX 和 Linux 電腦手動解除安裝代理程式Manually uninstalling agents from UNIX and Linux computers

重要

已不再支援此版本的 Operations Manager,建議升級至 Operations Manager 2019This version of Operations Manager has reached the end of support, we recommend you to upgrade to Operations Manager 2019.

解除安裝 UNIX 和 Linux 管理組件和代理程式的方法有三種。There are three ways to uninstall the UNIX and Linux management packs and agents.

  1. 從 Operations Manager Operations 主控台刪除選取的 UNIX 或 Linux 系統管理組件。Delete selected UNIX or Linux system management packs from the Operations Manager Operations Console.

  2. 從 Operations Manager 刪除代理程式,然後從受監視的電腦解除安裝代理程式。Delete an agent from Operations Manager, and uninstall the agent from the monitored computer. 代理程式會先從 UNIX 或 Linux 電腦解除安裝。It will be uninstalled first from the UNIX or Linux computer.

  3. 從 Operations Manager 刪除代理程式,但不要在 UNIX 或 Linux 主機上解除安裝代理程式。Delete the agent from Operations Manager without uninstalling it on the UNIX or Linux host.

請使用下列程序來解除安裝代理程式。Use the following procedures to uninstall agents.

若要使用 UNIX Linux 代理程式解除安裝精靈刪除代理程式To delete an agent with the UNIX Linux Agent Uninstall Wizard

  1. 如需詳細資訊,請參閱升級和解除安裝 UNIX 和 Linux 電腦上的代理程式For more information, see Upgrading and Uninstalling Agents on UNIX and Linux Computers.

將 UNIX 或 Linux 電腦從受監視的電腦清單中刪除後,您必須登入受監視的電腦並手動解除安裝代理程式。After the UNIX or Linux computer has been deleted from the list of monitored computers, you must log on to the monitored computer and manually uninstall the agent. 請使用下列程序從 UNIX 和 Linux 電腦手動解除安裝代理程式。Use the following procedures to manually uninstall agents from UNIX and Linux computers.

若要從 Red Hat Enterprise Linux 和 SUSE Linux Enterprise Server 解除安裝代理程式To uninstall the agent from Red Hat enterprise Linux and SUSE Linux enterprise servers

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    rpm -e scxrpm -e scx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    rpm -q scxrpm -q scx

若要從以 RPM 為基礎的 Universal Linux 伺服器 (Oracle 和 Centos) 解除安裝代理程式To uninstall the agent from RPM based Universal Linux servers (Oracle and Centos)

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    rpm -e scxrpm -e scx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    rpm -q scxrpm -q scx

若要從以 DEB 為基礎的 Universal Linux 伺服器 (Debian 和 Ubuntu) 解除安裝代理程式To uninstall the agent from DEB based Universal Linux servers (Debian and Ubuntu)

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    dpkg -P scxdpkg -P scx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    dpkg -l scxdpkg -l scx

若要從 Solaris 電腦解除安裝代理程式To uninstall the agent from Solaris computers

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    pkgrm MSFTscxpkgrm MSFTscx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    pkginfo -I MSFTscxpkginfo -I MSFTscx

若要從 HP-UX 解除安裝代理程式To uninstall the agent from HP-UX

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    swremove scxswremove scx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    swlist scxswlist scx

若要從 IBM AIX 解除安裝代理程式To uninstall the agent from IBM AIX

  1. 以根使用者身分登入,並輸入下列命令來解除安裝代理程式:Log on as the root user, and uninstall the agent by typing

    installp -u scxinstallp -u scx

  2. 若要確認套件是否已解除安裝,請輸入:To verify that the package is uninstalled, type

    lslpp -L scx.rtelslpp -L scx.rte

後續步驟Next steps