進入安裝包目錄php
[root@www home]# cd lnmp0.9-fullmysql
[root@www lnmp0.9-full]# lsnginx
而後sql
[root@www lnmp0.9-full]# ./uninstall.shphp-fpm
=========================================================================post
LNMPV0.8 for CentOS/RadHat Linux VPS Written by Licess.net
=========================================================================orm
A tool to auto-compile & install Nginx+MySQL+PHP on Linuxblog
For more information please visit http:/www.lnmp.org/進程
Please backup your mysql data and configure files first!!!!!
=========================================================================
Please backup your mysql data!!!!!
Press any key to start uninstall LNMP , please wait ……
按任意鍵就能夠進行卸載。
=========================================================================
若是是本身一步一步配置的LNMP環境那麼
killall nginx*//終止nginx進程
/etc/init.d/mysql stop *//關閉mysql
killall mysqld *//終止mysql進程
/usr/local/php/sbin/php-fpm stop *//關閉php
killall php-cgi *//終止php-cgi進程
rm -rf /usr/local/php *//刪除php文件
rm -rf /usr/local/nginx *//刪除nginx文件
rm -rf /usr/local/mysql *//刪除mysql文件
rm -rf /usr/local/zend *//刪除zend文件
rm /etc/my.cnf *//刪除配置文件
rm /etc/init.d/mysql *//刪除mysql文件
rm /root/vhost.sh *//刪除配置虛擬主機腳本
rm /root/lnmp *//刪除lnmp文件夾