折腾:
期间,由于之前screen也恢复不了屏幕,看log也好像没有安装完成,也找不到lnmp命令
所以还是去卸载了吧,之后再重新安装。
lnmp uninstall
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