Uninstallation
Uninstall HAProxy Enterprise on Linux
Follow these steps to uninstall HAProxy Enterprise from a Linux system.
-
Stop HAProxy Enterprise.
nixsudo systemctl stop hapee-<VERSION>-lbnixsudo systemctl stop hapee-<VERSION>-lbFor example, to stop HAProxy Enterprise 2.9r1:
nixsudo systemctl stop hapee-2.9-lbnixsudo systemctl stop hapee-2.9-lb -
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.9
to a time stamped directory in/tmp
:nixcp -r /etc/hapee-2.9 /tmp/hapee-2.9-lb.backup.$(date +%F_%R)nixcp -r /etc/hapee-2.9 /tmp/hapee-2.9-lb.backup.$(date +%F_%R) -
Query to see your installed packages.
nixsudo apt list --installed | grep hapeenixsudo apt list --installed | grep hapeeoutputtextWARNING: apt does not have a stable CLI interface. Use with caution in scripts.hapee-2.9r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]hapee-2.9r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]outputtextWARNING: apt does not have a stable CLI interface. Use with caution in scripts.hapee-2.9r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]hapee-2.9r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]nixsudo apt list --installed | grep hapeenixsudo apt list --installed | grep hapeeoutputtextWARNING: apt does not have a stable CLI interface. Use with caution in scripts.hapee-2.9r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]hapee-2.9r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]outputtextWARNING: apt does not have a stable CLI interface. Use with caution in scripts.hapee-2.9r1-base/unknown,now 1.0.0.93.0 all [installed,automatic]hapee-2.9r1-lb/unknown,now 1.0.0-239.210 amd64 [installed]nixsudo yum list --installed hapee-*nixsudo yum list --installed hapee-*outputtext[...]Installed Packageshapee-2.9r1-base.noarch 1.0.0-93.0 @hapee-basehapee-2.9r1-lb.x86_64 1.0.0-239.210 @hapee-baseoutputtext[...]Installed Packageshapee-2.9r1-base.noarch 1.0.0-93.0 @hapee-basehapee-2.9r1-lb.x86_64 1.0.0-239.210 @hapee-basenixsudo zypper search --installed-only hapeenixsudo zypper search --installed-only hapeeoutputtextLoading repository data...Reading installed packages...S | Name | Summary | Type---+------------------+---------------------------------------------+--------i | hapee-2.9r1-base | HAPEE BASE : Common dependencies | packagei+ | hapee-2.9r1-lb | HAPEE LB : Layer 7 load-balancing (HAProxy) | packageoutputtextLoading repository data...Reading installed packages...S | Name | Summary | Type---+------------------+---------------------------------------------+--------i | hapee-2.9r1-base | HAPEE BASE : Common dependencies | packagei+ | hapee-2.9r1-lb | HAPEE LB : Layer 7 load-balancing (HAProxy) | package -
Remove all HAProxy Enterprise packages:
nixsudo apt-get purge hapee-*nixsudo apt-get purge hapee-*outputtextThe following packages will be REMOVED:hapee-2.9r1-base* hapee-2.9r1-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] youtputtextThe following packages will be REMOVED:hapee-2.9r1-base* hapee-2.9r1-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] ynixsudo apt-get purge hapee-*nixsudo apt-get purge hapee-*outputtextThe following packages will be REMOVED:hapee-2.9r1-base* hapee-2.9r1-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] youtputtextThe following packages will be REMOVED:hapee-2.9r1-base* hapee-2.9r1-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] ynixsudo yum remove hapee-*nixsudo yum remove hapee-*outputtextLoaded plugins: fastestmirrorResolving Dependencies--> Running transaction check---> Package hapee-2.9r1-base.noarch 0:1.0.0-93.0 will be erased---> Package hapee-2.9r1-lb.x86_64 0:1.0.0-239.210 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size================================================================================Removing:hapee-2.9r1-base noarch 1.0.0-93.0 @hapee-base 19 khapee-2.9r1-lb x86_64 1.0.0-239.210 @hapee-base 3.8 MTransaction Summary================================================================================Remove 2 PackagesInstalled size: 3.8 MIs this ok [y/N]: youtputtextLoaded plugins: fastestmirrorResolving Dependencies--> Running transaction check---> Package hapee-2.9r1-base.noarch 0:1.0.0-93.0 will be erased---> Package hapee-2.9r1-lb.x86_64 0:1.0.0-239.210 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size================================================================================Removing:hapee-2.9r1-base noarch 1.0.0-93.0 @hapee-base 19 khapee-2.9r1-lb x86_64 1.0.0-239.210 @hapee-base 3.8 MTransaction Summary================================================================================Remove 2 PackagesInstalled size: 3.8 MIs this ok [y/N]: ynixsudo zypper remove --clean-deps hapee-*nixsudo zypper remove --clean-deps hapee-*outputtextReading installed packages...Resolving package dependencies...The following 3 packages are going to be REMOVED:hapee-2.9r1-base hapee-2.9r1-lb libpcreposix03 packages to remove.After the operation, 15.3 MiB will be freed.Continue? [y/n/v/...? shows all options] (y): youtputtextReading installed packages...Resolving package dependencies...The following 3 packages are going to be REMOVED:hapee-2.9r1-base hapee-2.9r1-lb libpcreposix03 packages to remove.After the operation, 15.3 MiB will be freed.Continue? [y/n/v/...? shows all options] (y): y
Do you have any suggestions on how we can improve the content of this page?