> CentOS > CentOS运维 >

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

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

 

  1.重启 apache

 

  service httpd restrat

 

  /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

 

(责任编辑:IT)