lnmp一键安装的卸载

Posted 码农编程进阶笔记

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lnmp一键安装的卸载相关的知识,希望对你有一定的参考价值。

http://blog.csdn.net/lansetiankong12/article/details/48130507 
如果是lnmp一键安装的

进入安装包目录

[[email protected] home]# cd lnmp0.9-full

[[email protected] lnmp0.9-full]# ls

然后

[[email protected] lnmp0.9-full]# ./uninstall.sh

=========================================================================

LNMPV0.8 for CentOS/RadHat Linux VPS  Written by Licess

=========================================================================

A tool to auto-compile & install nginx+mysql+php on Linux

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文件夹

以上是关于lnmp一键安装的卸载的主要内容,如果未能解决你的问题,请参考以下文章

lnmp一键安装包卸载mysql,重新安装报错mysql57-community-release conflicts with mysql-community-release-el6-5.noarch

lnmp 一键安装过程可以暂停么

使用LNMP一键安装包怎么装Coreseek

ansible调用一键安装lnmp包实现一键安装

想打开一个网页,结果提示:“恭喜,LNMP一键安装包安装成功”,是啥意思啊,木马病毒吗?我要怎么删除

LNMP源码编译安装及一键部署LNMP架构