Uninstall Instance Manager

This guide explains how to uninstall NGINX Instance Manager and its dependencies.


This documentation applies to NGINX Instance Manager 2.0.0 and later.


Overview

To uninstall NGINX Instance Manager, complete the steps in the following sections in the given order:

Uninstall NGINX Instance Manager

  • To completely delete NGINX Instance Manager, take the following steps:

    yum remove nms-*
    

    sudo apt-get remove nms-*
    
    Note:
    On Debian/Ubuntu, configuration and log files may remain on the system after uninstalling NGINX Instant Manager. You can safely delete these files by running apt-get purge nms-*.

Uninstall the ClickHouse Database

To completely delete ClickHouse database, perform the following steps:

  1. Stop the ClickHouse process:

    systemctl stop clickhouse-server
    
  2. Uninstall ClickHouse:

    yum remove clickhouse-server
    

    apt-get remove clickhouse-server
    

Uninstall the NGINX Agent

To completely delete the NGINX Agent, perform the following steps:

  1. Stop the NGINX Agent process:

    systemctl stop nginx-agent
    
  2. Uninstall the NGINX Agent:

    yum remove nginx-agent
    

    apt-get remove nginx-agent