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

所属分类: 操作系统 / unix linux 阅读数: 199
收藏 0 赞 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

下面看下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命令方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对脚本之家网站的支持!

更多精彩内容其他人还在看

给Linux新手[系列之五]

给Linux新手[系列之五]
收藏 0 赞 0 分享

给Linux新手[系列之四]

给Linux新手[系列之四]
收藏 0 赞 0 分享

给Linux新手[系列之三]

给Linux新手[系列之三]
收藏 0 赞 0 分享

什么是Linux

什么是Linux
收藏 0 赞 0 分享

利用shell编程实现DOS风格的Linux命令行

利用shell编程实现DOS风格的Linux命令行
收藏 0 赞 0 分享

Linux中流媒体Helix Server的安装和配置

Linux中流媒体Helix Server的安装和配置
收藏 0 赞 0 分享

Linux系统文件命令精通指南(上)

Linux系统文件命令精通指南(上)
收藏 0 赞 0 分享

Linux系统文件命令精通指南(下)

Linux系统文件命令精通指南(下)
收藏 0 赞 0 分享

Linux系统中防火墙的框架分析

Linux系统中防火墙的框架分析
收藏 0 赞 0 分享

Linux下中文字体的安装

Linux下中文字体的安装
收藏 0 赞 0 分享
查看更多