HAProxy Enterprise Documentation 2.0r1

Linux

Follow these steps to uninstall HAProxy Enterprise from a Linux system.

Remove HAProxy Enterprise

Select your operating system to see instructions.

Instructions for CentOS 8

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Instructions for CentOS 7

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Instructions for Debian 10

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo apt list --installed | grep hapee
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    hapee-2.0r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]
    hapee-2.0r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo apt-get purge hapee-*
    
    The following packages will be REMOVED:
      hapee-2.0r1-base* hapee-2.0r1-lb*
    0 upgraded, 0 newly installed, 2 to remove and 95 not upgraded.
    After this operation, 4,556 kB disk space will be freed.
    Do you want to continue? [Y/n] y

Instructions for Debian 9

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo apt list --installed | grep hapee
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    hapee-2.0r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]
    hapee-2.0r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo apt-get purge hapee-*
    
    The following packages will be REMOVED:
      hapee-2.0r1-base* hapee-2.0r1-lb*
    0 upgraded, 0 newly installed, 2 to remove and 95 not upgraded.
    After this operation, 4,556 kB disk space will be freed.
    Do you want to continue? [Y/n] y

Instructions for Debian 8

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo apt list --installed | grep hapee
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    hapee-2.0r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]
    hapee-2.0r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo apt-get purge hapee-*
    
    The following packages will be REMOVED:
      hapee-2.0r1-base* hapee-2.0r1-lb*
    0 upgraded, 0 newly installed, 2 to remove and 95 not upgraded.
    After this operation, 4,556 kB disk space will be freed.
    Do you want to continue? [Y/n] y

Instructions for RedHat 8

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Instructions for RedHat 7

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Instructions for Ubuntu 18.04

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo apt list --installed | grep hapee
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    hapee-2.0r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]
    hapee-2.0r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo apt-get purge hapee-*
    
    The following packages will be REMOVED:
      hapee-2.0r1-base* hapee-2.0r1-lb*
    0 upgraded, 0 newly installed, 2 to remove and 95 not upgraded.
    After this operation, 4,556 kB disk space will be freed.
    Do you want to continue? [Y/n] y

Instructions for Ubuntu 16.04

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo apt list --installed | grep hapee
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    hapee-2.0r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]
    hapee-2.0r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo apt-get purge hapee-*
    
    The following packages will be REMOVED:
      hapee-2.0r1-base* hapee-2.0r1-lb*
    0 upgraded, 0 newly installed, 2 to remove and 95 not upgraded.
    After this operation, 4,556 kB disk space will be freed.
    Do you want to continue? [Y/n] y

Instructions for SUSE 15.0

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo zypper search --installed-only hapee
    
    Loading repository data...
    Reading installed packages...
    
    S  | Name             | Summary                                     | Type
    ---+------------------+---------------------------------------------+--------
    i  | hapee-2.0r1-base | HAPEE BASE : Common dependencies            | package
    i+ | hapee-2.0r1-lb   | HAPEE LB : Layer 7 load-balancing (HAProxy) | package
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo zypper remove --clean-deps hapee-*
    
    Reading installed packages...
    Resolving package dependencies...
    
    The following 3 packages are going to be REMOVED:
      hapee-2.0r1-base hapee-2.0r1-lb libpcreposix0
    
    3 packages to remove.
    After the operation, 15.3 MiB will be freed.
    Continue? [y/n/v/...? shows all options] (y): y

Instructions for Oracle 8

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Instructions for Oracle 7

  1. Stop HAProxy Enterprise.

    $ sudo systemctl stop hapee-2.0-lb

    On systems without systemctl, stop the service using the service command:

    $ sudo service hapee-2.0-lb stop
  2. Back up your configuration files.

    The HAProxy Enterprise configuration directory may contain files that you wish to keep: SSL/TLS certificates, map files, and other files that you may wish to preserve after uninstallation. Ensure that any files you wish to keep are copied to a safe location.

    The following command will copy the contents of /etc/hapee-2.0 to a time stamped directory in /tmp:

    $ cp -r /etc/hapee-2.0 /tmp/hapee-2.0-lb.backup.$(date +%F_%R)
  3. Query to see your installed packages.

    $ sudo yum list --installed hapee-*
    
    [...]
    Installed Packages
    hapee-2.0r1-base.noarch                1.0.0-93.0                    @hapee-base
    hapee-2.0r1-lb.x86_64                  1.0.0-239.210                 @hapee-base
  4. Remove all HAProxy Enterprise 2.0 packages.

    $ sudo yum remove hapee-*
    
    Loaded plugins: fastestmirror
    Resolving Dependencies
    --> Running transaction check
    ---> Package hapee-2.0r1-base.noarch 0:1.0.0-93.0 will be erased
    ---> Package hapee-2.0r1-lb.x86_64 0:1.0.0-239.210 will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
    Package               Arch        Version               Repository        Size
    ================================================================================
    Removing:
    hapee-2.0r1-base      noarch      1.0.0-93.0            @hapee-base       19 k
    hapee-2.0r1-lb        x86_64      1.0.0-239.210         @hapee-base      3.8 M
    
    Transaction Summary
    ================================================================================
    Remove  2 Packages
    
    Installed size: 3.8 M
    Is this ok [y/N]: y

Next up

Docker