CentOS7 Apache/Nginx/MySQL/php-fpm啓動重啓停止命令大全

CentOS7系統下Apache/Nginx/MySQL/php-fpm啓動、重啓及停止命令大全,LAMPLNMP分享:

注意:是Linux CentOS7系統下

Apache啓動/重啓/停止命令

  • 啓動命令:systemctl start httpd
  • 重啓命令:systemctl restart httpd
  • 停止命令:systemctl stop httpd

Nginx啓動/重啓/停止命令

  • 啓動命令:systemctl start nginx
  • 重啓命令:systemctl restart nginx
  • 停止命令:systemctl stop nginx

MySQL啓動/重啓/停止命令

  • 啓動命令:systemctl start mysqld
  • 重啓命令:systemctl restart mysqld
  • 停止命令:systemctl stop mysqld

php-fpm啓動/重啓/停止命令

  • 啓動命令:systemctl start php-fpm
  • 重啓命令:systemctl restart php-fpm
  • 停止命令:systemctl stop php-fpm

相關閱讀

一鍵部署LNMP環境
一鍵部署LAMP環境

原文地址:http://www.lamplnmp.com/apache/499/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章