zoukankan      html  css  js  c++  java
  • lnmp一键安装的卸载

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

    进入安装包目录

    [root@www home]# cd lnmp0.9-full

    [root@www lnmp0.9-full]# ls

    然后

    [root@www 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文件夹

  • 相关阅读:
    整理一些笔试题(要求手写代码的)
    网络笔试题
    链表-单链表的各种操作
    C语言-排序-希尔排序
    C语言-排序-选择排序
    C语言-排序-归并排序
    C语言-排序-插入排序
    [转载]iOS 10 UserNotifications 框架解析
    Objective-C枚举的几种定义方式与使用
    【转载】iOS屏幕适配设计
  • 原文地址:https://www.cnblogs.com/lxwphp/p/8038708.html
Copyright © 2011-2022 走看看