centos7重启apache、nginx、mysql、php-

2021-03-23  本文已影响0人  小伙有点菜

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

————————————————

版权声明:本文为CSDN博主「爱代码也爱生活」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/nuli888/article/details/51870046

上一篇 下一篇

猜你喜欢

热点阅读