Centos上Apache重启,mysql重启,nginx重启方法

2017/5/25 15:37:02

Category 软件技术 Tag centos,apache,mysql,nginx

Centos上Apache重启,mysql重启, nginx 重启方法

  1.重启 apache

  service httpd restart

  /etc/init.d/httpd stop

  /etc/init.d/httpd start

  2.重启 MySQL

  service mysql restart

  /etc/init.d/mysqld stop

  /etc/init.d/mysqld start

  3.重启Nginx

  service nginx restart

  /etc/init.d/nginx stop

  /etc/init.d/nginx start