LNMP – 常用LNMP/LNMPA状态管理命令手册

来源:
导读:目前正在解读《LNMP – 常用LNMP/LNMPA状态管理命令手册》的相关信息,《LNMP – 常用LNMP/LNMPA状态管理命令手册》是由用户自行发布的知识型内容!下面请观看由(国外服务器 - www.2bp.net)用户发布《LNMP – 常用LNMP/LNMPA状态管理命令手册》的详细说明。

到目前为止,LNMP一键包安装Linux VPS、服务器环境,可以实现搭建网站的需要,虽然不及可视面板直观,但是稳定性和安全性还是比较好的。对于一般入门站长来说可能稍微困难但是其实也就那么几个命令,添加站点和数据库后,以后建站直接都是用FTP工具即可。

这里需要稍微记住几个常用的管理命令,在这篇文章中,笨笨网就整理到LNMP脚本在安装LNMP或者LNMPA环境时候需要用到启动MYSQL、NGINX、PHP等命令,如果需要启动则可以复制利用。

常用的LNMP教程:

1、LNMP – eAccelerator/memcached/ionCube/opcache组件安装/卸载

2、LNMP – 绑定域名添加站点、MySQL数据库、FTP上传文件

3、Linux VPS配置Web网站环境一键包:LNMP/LAMP/LNMPA

第一、LNMP常用命令管理

LNMP 1.2+状态管理: lnmp {start|stop|reload|restart|kill|status}

LNMP 1.2+各个程序状态管理: lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}

LNMP 1.1状态管理: /root/lnmp {start|stop|reload|restart|kill|status}

Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}

MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}

Memcached状态管理:/etc/init.d/memcached {start|stop|restart}

PHP-FPM状态管理:/etc/init.d/php-fpm {start|stop|quit|restart|reload|logrotate}

PureFTPd状态管理: /etc/init.d/pureftpd {start|stop|restart|kill|status}

ProFTPd状态管理: /etc/init.d/proftpd {start|stop|restart|reload}

Redis状态管理: /etc/init.d/redis {start|stop|restart|kill}

如重启LNMP,1.2+输入命令:lnmp restart 即可;单独重启mysql:/etc/init.d/mysql restart 也可以 lnmp mysql restart ,两个是一样的。

第二、LNMPA命令管理

LNMPA 1.2+状态管理: lnmp {start|stop|reload|restart|kill|status}

LNMPA 1.2+各个程序状态管理: lnmp {httpd|mysql|mariadb|pureftpd} {start|stop|reload|restart|kill|status}

LNMPA1.1状态管理: /root/lnmpa {start|stop|reload|restart|kill|status}

Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}

MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}

Memcached状态管理:/etc/init.d/memcached {start|stop|restart}

PureFTPd状态管理: /etc/init.d/pureftpd {start|stop|restart|kill|status}

ProFTPd状态管理: /etc/init.d/proftpd {start|stop|restart|reload}

Apache状态管理:/etc/init.d/httpd {start|stop|restart|graceful|graceful-stop|configtest|status}

提醒:《LNMP – 常用LNMP/LNMPA状态管理命令手册》最后刷新时间 2023-03-27 02:11:21,本站为公益型个人网站,仅供个人学习和记录信息,不进行任何商业性质的盈利。如果内容、图片资源失效或内容涉及侵权,请反馈至,我们会及时处理。本站只保证内容的可读性,无法保证真实性,《LNMP – 常用LNMP/LNMPA状态管理命令手册》该内容的真实性请自行鉴别。