/ 中存储网

CentOS系统上Apache,MySQL和Nginx等服务的重启方法

2014-07-13 15:44:19 来源:中存储网

  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