您的位置:首頁技術文章
文章詳情頁

nginx編譯安裝

瀏覽:100日期:2024-06-21 17:16:44

問題描述

第一次編譯安裝nginx,編譯的參數是: 問題是現在啟動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

nginx編譯安裝

問題解答

回答1:

重新編譯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后的斜線去掉了

相關文章:
国产综合久久一区二区三区