Heim  >  Fragen und Antworten  >  Hauptteil

Nginx-Kompilierung und Installation

Kompilieren und installieren Sie Nginx zum ersten Mal. Die Kompilierungsparameter sind: Wenn Nginx jetzt gestartet wird, warum gibt es ein zusätzliches „/“, ein Leerzeichen und einen Schrägstrich?

./configure --prefix=/usr/local/nginx/ --user=www --group=www  --with-http_ssl_module --with
-select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module

習慣沉默習慣沉默2713 Tage vor556

Antworte allen(1)Ich werde antworten

  • 高洛峰

    高洛峰2017-05-16 17:19:09

    重新编译nginx。

    ./configure --prefix=/usr/local/nginx  --user=www --group=www  --with-http_ssl_module --with
    -select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module
    
    

    你再试试,我把prefix的nginx后的斜线去掉了

    Antwort
    0
  • StornierenAntwort