Build NGINX from Source [German]

Hallo, heute möchte ich euch zeigen, wie ihr NGINX „baut“.

 

1. – Download

Zu erst müsst ihr NGINX herunterladen.

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]wget https://nginx.org/download/nginx-1.12.0.tar.gz[/otw_shortcode_info_box]

2. – Installation

Jetzt installieren wir NGINX.

1) – Entpacken

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]tar xf nginx-1.12.0.tar.gz[/otw_shortcode_info_box]

2) – Konfigurieren
[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]./configure \ –prefix=/usr/share/nginx \ –sbin-path=/usr/sbin/nginx \ –conf-path=/etc/nginx/nginx.conf \ –pid-path=/var/run/nginx.pid \ –lock-path=/var/lock/nginx.lock \ –error-log-path=/var/log/nginx/error.log \ –http-log-path=/var/log/nginx/access.log \ –user=www-data \ –group=www-data \ –with-http_ssl_module \ –with-http_gzip_static_module \ –with-http_v2_module \ –with-ipv6[/otw_shortcode_info_box]
Textdokument: nginx-configure.txt

3) – „Maken“

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]make && make install[/otw_shortcode_info_box]

3. – Testen

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]/etc/init.d/nginx restart[/otw_shortcode_info_box]

Wenn ein „OK“ zurück kommt, habt ihr alles richtig gemacht.

Um noch einmal sicher zu gehen könnt ihr auch noch folgendes eingeben:

[otw_shortcode_info_box border_type=“bordered“ border_style=“bordered“ rounded_corners=“rounded-3″]service nginx status[/otw_shortcode_info_box]

 

So jetzt seit ihr fertig 🙂
Viel Spaß mit NGINX!

Das könnte Sie auch interessieren …

2 Antworten

  1. 17. April 2017

    […] Wie konfiguriere ich NGINX?: Mein Tutorial dazu [hier klicken] […]

  2. 19. Mai 2017

    […] Wie man NGINX „bauen“ kann zeige ich euch hier: Build NGINX from Source […]

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert