2012年10月3日

把nginx加入系统服务!!

摘要: 下载源码包回来http://nginx.org/download/nginx-1.2.4.tar.gz编译安装。编译之前查看是否安装pcre-devel,openssl,openssl-devel。装好之后进入nginx的目录下。默认是/usr/local/nginx编辑一个shell脚本文件。vim /etc/init.d/nginx 1 #!/bin/bash 2 # nginx Startup script for the Nginx HTTP Server 3 # it is v.0.0.2 version. 4 # chkconfig: - 85 15 5 # description 阅读全文

posted @ 2012-10-03 12:37 h3idan 阅读(332) 评论(0) 推荐(0) 编辑

导航