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

Uninstalling Tengine

Uninstalling Tengine (Installed by Compiling the Source)

  1. Stop the process.
    1
    2
    3
    ps -ef | grep nginx
    pkill nginx
    ps -ef | grep nginx
    
  2. During source code compilation and installation, only the corresponding files are generated. Therefore, you can directly delete the corresponding directories.
    1
    2
    rm -rf /usr/local/tengine-nginx
    ls /usr/local/tengine-nginx
    

Uninstalling Tengine (Installed from the Mirror Site)

  1. Uninstall Nginx.
    1
    2
    rpm -qa | grep tengine
    rpm -e --nodeps tengine-2.2.2-1.el7_4.ngx
    
  2. If no information is displayed, the uninstallation is complete.
    1
    rpm -qa | grep tengine
    
  3. Delete the installation directory.
    1
    2
    rm -rf /usr/local/tengine-nginx
    ls /usr/local/tengine-nginx