Nginx 安装笔记
- 主配置文件 nginx.conf
- 启动:sbin 下
-
./nginx
- 查看80端口:
netstat -tupln | grep 80
- ab测试:
-
ab -c 1 -n 10000 http://127.0.0.1/index.html
- 停止服务
-
ps aux | grep nginx kill -s QUIT <pid>
posted on 2015-01-11 12:27 keep_walking 阅读(88) 评论(0) 收藏 举报
./nginx
netstat -tupln | grep 80
ab -c 1 -n 10000 http://127.0.0.1/index.html
ps aux | grep nginx kill -s QUIT <pid>
posted on 2015-01-11 12:27 keep_walking 阅读(88) 评论(0) 收藏 举报