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

 时间:2024-11-16 13:59:26

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及以上版本。

  • visual studio 多核并发开发
  • MYSQL安装了不起作用怎么办
  • 10大编程语言特性
  • 如何用PYTHON正则表达式去除多余字符
  • 支付宝森林电台怎么调整声音元素音量
  • 热门搜索
    平鱼的家常做法 苹果怎么下载软件 罹难怎么读 吝啬怎么读 微信怎么拍一拍 朋友圈怎么发文字 个人简历怎么写 喜字怎么剪 谙怎么读 狗肉怎么做好吃