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