现在的位置: 首页 > 综合 > 正文

Nginx的部署和资料收集

2013年03月15日 ⁄ 综合 ⁄ 共 978字 ⁄ 字号 评论关闭

Installation

#yum
install gcc-c++
gcc

#yum -y install openssl-devel

#yum
-y install make

pcre安装 #./configure && make &&
make install

http://www.pcre.org/

下载nginx最新稳定版

http://nginx.org/

解压并进入解压后的文件夹

#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:

主页

http://nginx.org/

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

我的操作文档记录

https://writer.zoho.com/public/6b6a49b6dcbb8205336873dd09e1b3517a451cd1e1176acbc0b23648d00ee78e6db04614eed231e5


抱歉!评论已关闭.