摘要: 一、安装nginx前,安装pcre。# tar zxvf pcre-8.12.tar.gz# ./configure# make# make install二、安装nginx # tar zxvf nginx-1.0.7.tar.gz# ./configure --prefix=/usr/local/nginx# make# make install三、nginx 启动脚本 vi /etc/init.d/nginx输入以下内容 #!/bin/sh## nginx - this script starts and stops the nginx daemin## chkconfig: - 8.. 阅读全文
posted @ 2013-06-12 09:19 gary51 阅读(131) 评论(0) 推荐(0) 编辑