?? ? ??? ?????? nginx? ?? ???? ?? ? nginx ??? ???? ??? ??? ??? ?? ????. # ./configure --prefix=/usr/local/nginx-1.4.1
--with-http_stub_status_module
--with-http_ssl_module --with-http_realip_module
--with-http_image_filter_module
--?? ??=../ngx_pagespeed-master
#???
# /usr/local/nginx-1.4.1/sbin/nginx -s ??
# cp objs/nginx /usr/local/nginx/sbin/nginx
# /usr/local/nginx-1.4.1/sbin/nginx
????? ?? ???? ???? ?? ??? ./configure
? ????. ??? ??? nginx ?? ?? ????? ???? ???. ??? ?? ?? ?? ??? ?? ?????? ???. ? ?? ?? ??? ????? ??? ?? ???? ???. ./configure
啊,要進(jìn)入 你之前安裝的nginx 源碼目錄才行,不行的話需要重新下載源碼重新編譯安裝,如果是這種情況要導(dǎo)入之前的配置的話可以這么寫(xiě):
./configure $(</path/to/>nginx -V 2>&1 | grep 'configure arguments' | sed 's/configure arguments://g') <configuration>
/path/to
替換成你當(dāng)前安裝的 nginx 目錄位置,<configuration>
???
/path/to
? ?? ??? nginx? ???? ??? ??? <configuration>
? ??? ??? ???? ????. ??