本文根据 张宴 的 nginx 0.5.33 + PHP 5.2.5(FastCGI)搭建胜过Apache 10倍的Web服务器(第2版) ,尝试在solaris 10 下配置 nginx 0.6.31。 nginx 的中文维基: http://wiki.codemongers.com/nginxChs 安装步骤: 系统为solaris 10,全新完全安装。 一、获取相关开源程序: 1、下载程序源码包到当前目录: 本文中提到的所有开源软件为截止到2008年5月14日的最新稳定版。我将它们打了三个压缩包。 ...
by dtlchm - Solaris文档中心 - 2009-01-20 09:54:37 阅读(4358) 回复(0)
本文根据 张宴 的 nginx 0.5.33 + PHP 5.2.5(FastCGI)搭建胜过Apache 10倍的Web服务器(第2版) ,尝试在solaris 10 下配置 nginx 0.6.31。 nginx 的中文维基: http://wiki.codemongers.com/nginxChs 安装步骤: 系统为solaris 10,全新完全安装。 一、获取相关开源程序: 1、下载程序源码包到当前目录: 本文中提到的所有开源软件为截止...
2008/09/03 08:10:28 [notice] 4197#0: using the "epoll" event method 2008/09/03 08:10:28 [notice] 4197#0: nginx/0.6.31 2008/09/03 08:10:28 [notice] 4197#0: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3) 2008/09/03 08:10:28 [notice] 4197#0: OS: Linux 2.6.9-42.EL 2008/09/03 08:10:28 [notice] 4197#0: sysctl(KERN_RTSIGMAX): 0 2008/09/03 08:10:28 [notice] 4197#0: getrlimit(RLIMIT_NOFILE): 65535:65535 200...
nginx的负载均衡有哪些功能呢? * 如果后面的服务器其中一台坏了,它能自动识别,更牛的是它好了之后nginx可以马上识别 那么大虾知道这ngnix的这个功能使用那部分配置或文件实现的,基本原理是什么?
使用心得:nginx处理大并发比较稳定,特别省 内存 ,配置简单. 1.安装pythoncd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装 django 1) cd /usr/ports/www/py-django make install clean 4.安装 nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.com/documentation/fastcgi/ #!/bin/sh # Replace these thr...
nginx总结 目录 一、安装 2 A)一般安装 2 B)高级安装 2 二、基本命令 3 三、配置文件 3 A)配置文件解释 3 B)带监控模块的配置 4 C)虚拟主机的配置 5 五、事件模型介绍--I/O复用方法 7 A)标准事件模型 7 B)高效事件模型 7 六、关于LEMP的结构 8 A)Linux+nginx+Mysql+Php 8 B)其他结构 8 七、软件的平滑升级 10 A)简单修改配置文件 10 B)平滑升级二进制代码 11 八、相关的处理信号 12 A)主进程可以处理的信号 12 B)工作进...
Django on nginx 建议:FreeBSD RELENG_6 使用心得:nginx处理大并发比较稳定,特别省内存,配置简单. 1.安装python cd /usr/ports/lang/python make install clean 2.安装flup cd /usr/ports/www/py-flup make install clean 3.安装django 1) cd /usr/ports/www/py-django make install clean 4.安装nginx cd /usr/ports/www/nginx make install clean 5.启动和管理flup的脚本 参考 http://www.djangoproject.co...
目前我是squid+apache 感觉nginx跑 php不稳定 但是自己又跑CMS nginx性能贼强 考虑以后 想用nginx+apache 实现静动分离 关键不知道squid能不能和nginx 占资源少 也能支撑大并发 ? CMS+DZ论坛 看大家的意见了
现在我的nginx里访问php的页面,是弹出下载文件的对话框。 是不是因为nginx 一定要用fastcgi的方式支持php? 可以用不打php-fpm patch的php吗?如果可以的话,怎么在nginx的conf里配置。
在论坛服务器上想做一个跳转 比如访问http://bbs.111.cn/45678 就直接跳转到论坛里面的某个板块http://bbs.111.cn/forum-22-1.html 其中45678在服务器上没有这个目录 location /45678 { rewrite ^(.*)$ http://bbs.111.cn/forum-22-1.html last; break; } 现在访问http://bbs.111.cn/45678 总是提示错误 而在这URL后面加斜杠访问http://bbs.111.cn/45678/ 就没有问题