首页  >  文章  >  后端开发  >  centos7重启Apache nginx 的等实例分享

centos7重启Apache nginx 的等实例分享

小云云
小云云原创
2018-03-02 09:05:361887浏览

本文主要和大家分享centos7重启Apache nginx 的等实例,希望能帮助到大家。

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               

以上是centos7重启Apache nginx 的等实例分享的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn