Nginx的部署和资料收集

14 篇文章 0 订阅
5 篇文章 0 订阅

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




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值