centos7.4重启nginx、php-fpm、Apache、mysql命令

17-11-25 15:39 字数 295 阅读 3229 已编辑

nginx

启动

systemctl start nginx      

停止

systemctl stop nginx      

重启

systemctl restart nginx      

mysql

启动

systemctl start mysqld      

停止

systemctl stop mysqld      

重启

systemctl restart mysqld      

php-fpm(重启php)

启动

systemctl start php-fpm      

停止

systemctl stop php-fpm      

重启

systemctl restart php-fpm      

apache

启动

systemctl start httpd      

停止

systemctl stop httpd      

重启

systemctl restart httpd      
1人点赞>
关注 收藏 改进 举报
0 条评论
排序方式 时间 投票
快来抢占一楼吧
请登录后发表评论