search

Home  >  Q&A  >  body text

nginx compilation and installation

Compile and install nginx for the first time. The compilation parameters are: The problem is that when nginx is started now, why is there an extra "/", space and slash.

./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

習慣沉默習慣沉默2835 days ago676

reply all(1)I'll reply

  • 高洛峰

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

    Recompile 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
    
    

    You try again, I removed the slash after nginx in prefix

    reply
    0
  • Cancelreply