ubuntu 1204安裝nginx的編譯配置參數

來源:互聯網
上載者:User

ubuntu 1204安裝nginx的編譯配置參數 安裝依賴庫: sudo apt-get install libxml2-dev sudo apt-get install libxslt1-dev  sudo apt-get install libpcre3-dev libssl-dev openssl sudo apt-get install libatomic-ops-dev sudo apt-get install libgd2-xpm-dev sudo apt-get install libgeoip-dev  編譯參數: ./configure --prefix=/export/servers/nginx --pid-path=/export/servers/nginx/var/nginx.pid --user=admin --group=admin --with-select_module --with-file-aio --with-http_xslt_module --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --http-client-body-temp-path=/export/servers/nginx/temp/http-client-body --http-proxy-temp-path=/export/servers/nginx/temp/http-proxy --http-fastcgi-temp-path=/export/servers/nginx/temp/http-fastcgi --http-uwsgi-temp-path=/export/servers/nginx/temp/http-uwsgi --http-scgi-temp-path=/export/servers/nginx/temp/http-scgi --with-pcre --with-pcre-jit --with-md5-asm --with-sha1-asm --with-libatomic 出現下面內容就成功: Configuration summary  + using system PCRE library  + using system OpenSSL library  + md5: using OpenSSL library  + sha1: using OpenSSL library  + using system zlib library  + using system libatomic_ops library    nginx path prefix: "/export/servers/nginx"  nginx binary file: "/export/servers/nginx/sbin/nginx"  nginx configuration prefix: "/export/servers/nginx/conf"  nginx configuration file: "/export/servers/nginx/conf/nginx.conf"  nginx pid file: "/export/servers/nginx/var/nginx.pid"  nginx error log file: "/export/servers/nginx/logs/error.log"  nginx http access log file: "/export/servers/nginx/logs/access.log"  nginx http client request body temporary files: "/export/servers/nginx/temp/http-client-body"  nginx http proxy temporary files: "/export/servers/nginx/temp/http-proxy"  nginx http fastcgi temporary files: "/export/servers/nginx/temp/http-fastcgi"  nginx http uwsgi temporary files: "/export/servers/nginx/temp/http-uwsgi"  nginx http scgi temporary files: "/export/servers/nginx/temp/http-scgi"

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.