Centos7重启apache、mysql、php-fpm及nginx命令

2025-04-20 15:17:48

1、apache常用的命令启动systemctl start httpd停止systemctl stop httpd重启systemctl restart httpd

2、mysql常用的命令启动systemctl start mysqld停止systemctl stop mysqld重启systemctl restart mysqld

3、php-fpm常用的命令启动systemctl start php-fpm停止systemctl stop php-fpm重启systemctl restart php-fpm

4、nginx常用的命令启动systemctl start nginx停止systemctl stop nginx重启systemctl restart nginx

5、总结:以上几个命令在操作centos7系统时可能经常需要用到,为此来简单整理下,注意只适用于centos7及以上版本。

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢