linux/freebsd重启nginx、mysql、php-fmp服务命令

作者:笨小孩 发布于:2012-10-28 20:45 分类:操作系统

linux:

/etc/init.d/nginx start|stop|restart #启动|停止|重启nginx

/etc/init.d/php-fpm start|stop|restart #启动|停止|重启php-fpm

/etc/init.d/mysql start|stop|restart #启动|停止|重启msyq

 

freebsd:

/usr/local/etc/rc.d/nginx start|stop|restart #启动|停止|重启nginx

/usr/local/etc/rc.d/mysql-server start|stop|restart #启动|停止|重启mysql

/usr/local/etc/rc.d/php-fpm start|stop|restart #启动|停止|重启php-fpm

 

/usr/local/sbin/nginx #启动nginx

/usr/local/sbin/nginx -s stop #停止nginx

/usr/local/sbin/nginx -s reload #重启nginx

标签: MySQL freebsd Nginx linux php-fmp

发表评论:

手机版 | 
Copyright © 2012 lamp46.com All Right Reserved. sitemap