我要评分
获取效率
正确性
完整性
易理解

Uninstalling HAProxy

Uninstalling HAProxy (Installed by Compiling the Source)

  1. During source code compilation and installation, only the corresponding files are generated. Therefore, you can directly delete the corresponding directories.
    1
    rm -rf /usr/local/haproxy
    
    1
    ls /usr/local/haproxy
    

Installation and Uninstallation Using the Mirror Site

  1. Uninstall HAProxy.
    1
    rpm -qa | grep haproxy
    
    1
    rpm -e --nodeps haproxy-1.9.0
    
  2. If no information is displayed, HAProxy has been uninstalled.
    1
    rpm -qa | grep haproxy
    
  3. Delete the installation directory.
    1
    rm -rf /usr/local/haproxy
    
    1
    ls /usr/local/haproxy