2011年8月4日
摘要: 转载自:http://hi.baidu.com/ichenchenweb/blog/item/de48a7020f1d2ef609fa9323.htmlnginx的启动命令是:/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf-c制定配置文件的路径,不加-nginx会自动加载默认路径的配置文件。nginx的停止:1.可以查找主进程号:ps -ef | grep nginx带有master precess的进程是nginx的主进程!带有worker precess的是子进程!nginx.pid文件存放的是nginx的主进 阅读全文
posted @ 2011-08-04 13:50 DavidYanXW 阅读(217) 评论(0) 推荐(0)