
LNMP
lnmp(linux + Nginx + MySQL + php)是一组常用的服务器软件,管理命令包括:
1. 启动/关闭 Nginx 服务:
/etc/init.d/nginx {start|stop|reload|restart}
2. 启动/关闭 MySQL 服务:
/etc/init.d/MySQL {start|stop|restart|reload|force-reload|status}
3. 启动/关闭 php-FPM 服务:
/etc/init.d/php-fpm {start|stop|reload|restart}
4.Memcached状态管理
/etc/init.d/memcached {start|stop|restart}
5.PureFTPd状态管理
/etc/init.d/pureftpd {start|stop|restart|kill|status}
6.ProFTPd状态管理
/etc/init.d/proftpd {start|stop|restart|reload}
7.Apache状态管理
/etc/init.d/httpd {start|stop|restart|graceful|graceful-stop|configtest|status}
Copyright © 2025 IZhiDa.com All Rights Reserved.
知答 版权所有 粤ICP备2023042255号