最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】卸载lnmp

LNMP crifan 4890浏览 0评论

折腾:

【记录】给Linode中CentOS安装LNMP

期间,由于之前screen也恢复不了屏幕,看log也好像没有安装完成,也找不到lnmp命令

所以还是去卸载了吧,之后再重新安装。

lnmp uninstall

如何卸载lnmp – 钟健的博客

lnmp/uninstall.sh at master · lj2007331/lnmp

[root@crifan lnmp1.4]# ./uninstall.sh
+————————————————————————+
|          LNMP V1.4 for CentOS Linux Server, Written by Licess          |
+————————————————————————+
|        A tool to auto-compile & install Nginx+MySQL+PHP on Linux       |
+————————————————————————+
|           For more information please visit https://lnmp.org           |
+————————————————————————+
Current Stack: unknow
Enter 1 to uninstall LNMP
Enter 2 to uninstall LNMPA
Enter 3 to uninstall LAMP
(Please input 1, 2 or 3): 1
You will uninstall LNMP
Please backup your configure files and mysql data!!!!!!
The following directory or files will be remove!
/usr/local/nginx
/usr/local/mysql
/usr/local/php
/etc/init.d/nginx
/etc/init.d/mysql
/etc/init.d/php-fpm
/usr/local/zend
/etc/my.cnf
/bin/lnmp
Press any key to start…or Press Ctrl+c to cancel
Stoping LNMP…
./uninstall.sh: line 47: lnmp: command not found
./uninstall.sh: line 48: lnmp: command not found
Deleting iptables rules…
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
Removing nginx service at system startup…
error reading information on service nginx: No such file or directory
error reading information on service nginx: No such file or directory
Removing php-fpm service at system startup…
error reading information on service php-fpm: No such file or directory
error reading information on service php-fpm: No such file or directory
Removing mysql service at system startup…
Backup mysql databases directory to /root/databases_backup_20170905091747
chattr: No such file or directory while trying to stat /home/wwwroot/crifan/.user.ini
Deleting LNMP files…
LNMP Uninstall completed.

转载请注明:在路上 » 【记录】卸载lnmp

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.180 seconds, using 22.06MB memory