Nginx

sketch > vps@hetzner > nginx

# .deb csomagolas
apt-get install build-essential devscripts dh-make
apt-get install autotools-dev

#nginx
libssl-dev libgcrypt11-dev libpcre3-dev perl libperl-dev
apt-get -t lenny-backports install nginx
apt-get -t lenny-backports install libgeoip-dev

Igy konfigoltam az nginx-et:
wget http://nginx.org/download/nginx-0.8.54.tar.gz

./configure   --prefix=/usr   --conf-path=/etc/nginx/nginx.conf   --http-log-path=/var/log/nginx/access_log   --error-log-path=/var/log/nginx/error_log   --pid-path=/var/run/nginx.pid   --http-client-body-temp-path=/var/tmp/nginx/client   --http-proxy-temp-path=/var/tmp/nginx/proxy   --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi   --with-md5-asm --with-md5=/usr/include  --with-http_realip_module   --with-http_ssl_module  --with-http_stub_status_module --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-ipv6

Letoltottem a legujabb stabil valtozatot a lenny-backportsbol.
apt-source -t lenny-backports nginx

Ahhoz hogy forduljon, at kellett masolnom a regi (0.7.67) verziobol a
debian/conf/*
debian/NEWS.Debian
debian/rules fajlokat.
Debian-50-lenny-64-minimal:~/pack/nginx-0.8.54/debian# diff rules rules_0.7.67 
24,25c24
<     ./configure --prefix=/usr \
<         --conf-path=/etc/nginx/nginx.conf \
---
>     ./configure --conf-path=/etc/nginx/nginx.conf \
27,29c26,27
<         --http-client-body-temp-path=/var/tmp/nginx/client \
<         --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi \
<         --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi \
---
>         --http-client-body-temp-path=/var/lib/nginx/body \
>         --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
31c29
<         --http-proxy-temp-path=/var/tmp/nginx/proxy \
---
>         --http-proxy-temp-path=/var/lib/nginx/proxy \
34,35c32,34
<         --with-md5-asm \
<         --with-md5=/usr/include \
---
>         --with-debug \
>         --with-http_dav_module \
>         --with-http_flv_module \
41c40,45
<         --with-ipv6 
---
>         --with-http_sub_module \
>         --with-ipv6 \
>         --with-mail \
>         --with-mail_ssl_module \
>         --add-module=$(CURDIR)/modules/nginx-upstream-fair \
>             $(CONFIGURE_OPTS)
81a86
>     dh_strip --dbg-package=nginx-dbg

[[code]]

[[/code]]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-NoDerivs 3.0 License