标签:nginx

gentoo上用nginx+mongrel_cluster来运行rails

主要是最近项目要用redmine,所以在我的gentoo上折腾了一下
以前的笔记,参考的文章找不到了,只留下了我的操作记录
# mkdir -p /etc/mongrel_cluster
# ln -s /etc/mongrel_cluster/redmine.yml /app/www/redmine.domain.com/htdocs/config/mongrel_cluster.yml
# cp /usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/resources/mongrel_cluster /etc/init.d/
# chmod +x /etc/init.d/mongrel_cluster
# mongrel_rails cluster::configure -e production -p 9000 -N 3 -c /app/www/redmine.domain.com/htdocs/ –user www-data –group www-data -C /etc/mongrel_cluster/redmine.yml
# chown -R www-data.www-data /app/www/redmine.domain.com/

查看详情

nginx 1.0.2 发布

nginx 1.0.2 发布了
nginx是一个linux上强大的web 服务器,俄罗斯的程序设计师Igor Sysoev所开发,最初供俄国大型的入口网站及搜寻引擎Rambler,
可以做为代理服务器和负载均衡服务器,几乎所有的门户网站都在使用他,它的配置简单,尤其和php-fpm配合组成最强大的php webserver

下载地址http://nginx.org/en/download.html
官方wikihttp://wiki.nginx.org/
新特性
共享区与高速缓存使用POSIX信号量
修正了 “image_filter”指示符在”rotate”参数中的相关bug
修正了nginx 1.0.1 中出现的nginx 不能在Solaris中建立的bug
原文
*) Feature: now shared zones and caches use POSIX semaphores.

*) Bugfix: in the “rotate” parameter of the “image_filter” directive.
Thanks to Adam Bocim.

*) Bugfix: nginx could not be built on Solaris; the bug had appeared in

查看详情

nginx-1.0.0稳定版本发布

nginx-1.0.0 stable version has been released.nginx-1.0.0稳定版本发布,4月12日发布的,之前一直用的nginx-0.8.53,这次为了整合rails的passenger新版本,在gentoo上的ebuild没出来之前
破天荒的自己编译了一次,然后修改了/etc/init.d里的启动文件,移植了原来的配置文件,已经跑起来了

查看详情