Uninstalling Tengine
Uninstalling Tengine (Installed by Compiling the Source)
- Stop the process.
1 2 3
ps -ef | grep nginx pkill nginx ps -ef | grep nginx
- 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)
- Uninstall Nginx.
1 2
rpm -qa | grep tengine rpm -e --nodeps tengine-2.2.2-1.el7_4.ngx
- If no information is displayed, the uninstallation is complete.
1rpm -qa | grep tengine
- Delete the installation directory.
1 2
rm -rf /usr/local/tengine-nginx ls /usr/local/tengine-nginx
Parent topic: Tengine Porting Guide