Centos7重启apache、nginx、mysql、php-fpm命令方法
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重启php-fpm命令
php-fpm
/etc/init.d/php-fpm start /etc/init.d/php-fpm stop /etc/init.d/php-fpm restart /etc/init.d/php-fpm reload
总结
以上所述是小编给大家介绍的Centos7重启apache、nginx、mysql、php-fpm命令方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对脚本之家网站的支持!
相关文章
使用压缩的方式将Windows下的zip压缩包上传到Linux系统的方法解析
这篇文章给大家介绍了如何使用压缩的方式将Windows下的zip压缩包上传到Linux系统,本文分步骤给大家介绍的非常详细,具有一定的参考借鉴价值,需要的朋友参考下吧2019-05-05
Linux下普通用户用sudo su给自己加root权限的方法
这篇文章主要介绍了Linux下普通用户用sudo su给自己加root权限,的方法,文章底部给大家提到了Linux su和sudo命令的区别,并获得root权限,需要的朋友可以参考下2018-04-04


最新评论