Installation
#yum
install gcc-c++ gcc
#yum -y install openssl-devel
#yum
-y install make
pcre安装 #./configure && make &&
make install
下载nginx最新稳定版
解压并进入解压后的文件夹
#tar zxvf nginx* && cd nginx*
创建nginx用户和组
#useradd nginx
#./configure --user=nginx --group=nginx --prefix=/opt/nginx --with-http_ssl_module
#make && make install
/usr/local/nginx/sbin/nginx
-t
关闭,重启,启动
http://www.cnblogs.com/derekchen/archive/2011/02/17/1957209.html
整合tomcat
http://www.2cto.com/os/201112/113049.html
内存释放
echo 3 > /proc/sys/vm/drop_caches
http://bbs.chinaunix.net/thread-3580815-1-1.html
Reference:
主页
Nginx 0.8.x + PHP 5.2.13(FastCGI)搭建胜过Apache十倍的Web服务器
http://blog.s135.com/nginx_php_v6/
nginx自启动脚本
http://sourcode.net/debian-squeeze-redmine-nginx-phusion-passenger/
redmine + nginx vhost
http://library.linode.com/web-applications/project-management/redmine/debian-5-lenny
我的操作文档记录