1月19
想重启nginx,在网上搜过很多教程,都是老版本的nginx的启动脚本。
ports安装的nginx 0.7.64,突然灵感来了,执行-h试试,发现有-s参数可对nginx服务进行管理:
# /usr/local/sbin/nginx -h
nginx version: nginx/0.7.64
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/local/etc/nginx/)
-c filename : set configuration file (default: /usr/local/etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file
于是乎,再执行:
# /usr/local/sbin/nginx -s stop
OK,停止了nginx服务,直接执行nginx为启动nginx服务。
ports安装的nginx 0.7.64,突然灵感来了,执行-h试试,发现有-s参数可对nginx服务进行管理:
# /usr/local/sbin/nginx -h
nginx version: nginx/0.7.64
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/local/etc/nginx/)
-c filename : set configuration file (default: /usr/local/etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file
于是乎,再执行:
# /usr/local/sbin/nginx -s stop
OK,停止了nginx服务,直接执行nginx为启动nginx服务。
安装MySQL5.5出现
安装Discuz提示my



