Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
server:nginx [2010/03/24 13:45] swordfishserver:nginx [2025/01/25 16:56] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 ====== nginx ====== ====== nginx ======
 +Packete Installieren:
 +<code bash>
 +apt-get install g++ libpcre++-dev libssl-dev make libgeoip-dev
 +</code>
 +
 Beschaffen und entpacken: Beschaffen und entpacken:
 <code bash> <code bash>
 cd /opt cd /opt
-wget http://sysoev.ru/nginx/nginx-0.7.65.tar.gz +wget http://nginx.org/download/nginx-1.0.5.tar.gz 
-tar xzf nginx-0.7.65.tar.gz +tar xzf nginx-1.0.5.tar.gz 
-cd nginx-0.7.65+cd nginx-1.0.5
 </code> </code>
  
Zeile 12: Zeile 17:
 wget http://wiki.nginx.org/images/1/11/Nginx_upstream_hash-0.3.1.tar.gz wget http://wiki.nginx.org/images/1/11/Nginx_upstream_hash-0.3.1.tar.gz
 tar xzf Nginx_upstream_hash-0.3.1.tar.gz tar xzf Nginx_upstream_hash-0.3.1.tar.gz
-patch -p0 < /opt/nginx-0.7.65/nginx_upstream_hash-0.3.1/nginx.patch+patch -p0 < /opt/nginx-1.0.5/nginx_upstream_hash-0.3.1/nginx.patch
 </code> </code>
  
 Configure: Configure:
  
-Loki, Magni:+Default:
 <code bash> <code bash>
-./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --with-http_stub_status_module --add-module=/opt/nginx-0.7.65/nginx_upstream_hash-0.3.1 --with-http_realip_module --with-poll_module --with-http_ssl_module+./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --with-http_stub_status_module --with-poll_module 
 +</code> 
 + 
 +SSL: 
 +<code bash> 
 +./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --with-http_stub_status_module --with-poll_module --with-http_ssl_module 
 +</code> 
 + 
 +Loki: 
 +<code bash> 
 +./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --add-module=/opt/nginx-1.0.5/nginx_upstream_hash-0.3.1 --with-http_stub_status_module --with-http_realip_module --with-poll_module --with-http_ssl_module --with-http_geoip_module 
 +</code> 
 + 
 +Magni: 
 +<code bash> 
 +./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --add-module=/opt/nginx-0.8.53/nginx_upstream_hash-0.3.1 --with-poll_module --with-http_ssl_module --with-http_stub_status_module
 </code> </code>
  
Zeile 48: Zeile 68:
 Test: Test:
 <code bash> <code bash>
-./configure --with-poll_module --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginxw/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --with-http_stub_status_module --with-http_ssl_module+./configure --prefix=/usr --user=www-data --group=www-data --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/cache/nginx/client-body --http-proxy-temp-path=/var/cache/nginx/proxy --http-fastcgi-temp-path=/var/cache/nginx/fastcgi --with-http_stub_status_module --with-http_realip_module --with-poll_module --with-http_ssl_module --with-http_geoip_module
 </code> </code>
  
Zeile 57: Zeile 77:
 mkdir /var/cache/nginx/ mkdir /var/cache/nginx/
 </code> </code>
 +
 +{{:server:nginx.init|}}
server/nginx.1269438349.txt.gz · Zuletzt geändert: 2025/01/25 16:55 (Externe Bearbeitung)
Nach oben
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0