# CentOS7启动/重启/停止命令大全

*Published:* 2024-09-27
*Author:* 飞翔001

#### 温馨提醒

如果文章内容或图片资源失效，请留言反馈，我们会及时处理，谢谢

本文最后更新于2024年9月26日，已超过 180天没有更新



**CentOS7启动/重启/停止Nginx命令大全**

系统：CentOS 7下

启动Nginx命令

启动命令：systemctl start nginx

重启Nginx命令

重启命令：systemctl restart nginx

停止Nginx命令

停止命令：systemctl stop nginx

**CentOS7启动/重启/停止Apache命令大全**

系统：CentOS 7下

启动Apache命令

启动命令：systemctl start httpd

重启Apache命令

重启命令：systemctl restart httpd

停止Apache命令

停止命令：systemctl stop httpd

**CentOS7启动/重启/停止MySQL命令大全**

系统：CentOS 7下

启动MySQL命令

启动命令：systemctl start mysqld

重启MySQL命令

重启命令：systemctl restart mysqld

停止MySQL命令

停止命令：systemctl stop mysqld

**CentOS7启动/重启/停止php-fpm命令大全**

系统：CentOS 7下

启动php-fpm命令

启动命令：systemctl start php-fpm

重启php-fpm命令

重启命令：systemctl restart php-fpm

停止php-fpm命令

停止命令：systemctl stop php-fpm