记忆不好 经常忘记 备忘下~
apache
启动
systemctl start httpd
停止
systemctl stop httpd
重启
systemctl restart httpd
mysql
启动
systemctl start mysqld
停止
systemctl stop mysqld
重启
systemctl restart mysqld
php-fpm
启动
systemctl start php-fpm
停止
systemctl stop php-fpm
重启
systemctl restart php-fpm
nginx
启动
systemctl start nginx
停止
systemctl stop nginx
重启
systemctl restart nginx
本文提供了一套全面的Linux服务管理命令指南,包括Apache、MySQL、PHP-FPM和Nginx等关键服务的启动、停止及重启操作,是系统管理员和Linux用户的实用参考。

被折叠的 条评论
为什么被折叠?



