<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                > `nginx -V` 查看編譯參數命令; ``` $ /usr/local/openresty/nginx/sbin/nginx -V nginx version: openresty/1.13.6.1 built by gcc 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) built with OpenSSL 1.0.2j 26 Sep 2016 TLS SNI support enabled configure arguments: --prefix=/usr/local/openresty/nginx --with-debug --with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC -O2 -O3' --add-module=../ngx_devel_kit-0.3.0 --add-module=../iconv-nginx-module-0.14 --add-module=../echo-nginx-module-0.61 --add-module=../xss-nginx-module-0.05 --add-module=../ngx_coolkit-0.2rc3 --add-module=../set-misc-nginx-module-0.31 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.07 --add-module=../srcache-nginx-module-0.31 --add-module=../ngx_lua-0.10.11 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.33 --add-module=../array-var-nginx-module-0.05 --add-module=../memc-nginx-module-0.18 --add-module=../redis-nginx-module-0.3.7 --add-module=../rds-json-nginx-module-0.15 --add-module=../rds-csv-nginx-module-0.08 --add-module=../ngx_stream_lua-0.0.3 --with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib --user=www --group=www --with-file-aio --with-threads --with-http_v2_module --with-http_realip_module --with-http_mp4_module --with-stream --with-http_gzip_static_module --with-http_ssl_module --with-openssl=/usr/local/ssl --with-openssl-opt=enable-tlsext --with-http_stub_status_module --with-http_xslt_module --add-dynamic-module=/home/www/build/nginx-ts-module --add-dynamic-module=/home/www/build/nginx-rtmp-module --add-dynamic-module=/home/www/build/nginx-module-vts --add-module=/home/www/build/ngx_cache_purge-2.3 --add-dynamic-module=/home/www/build/nginx-vod-module --add-dynamic-module=/home/www/build/nginx-push-stream-module --with-stream --with-stream_ssl_module ``` > `--with` 的編譯參數特別說明(代表官網模塊) > 安裝編譯參數詳解 ``` --prefix=/etc/nginx #nginx的主目錄; --sbin-path=/usr/sbin/nginx #nginx的執行命令目錄; --modules-path=/usr/lib64/nginx/modules #nginx的模塊目錄; --conf-path=/etc/nginx/nginx.conf #nginx的配置文件目錄; --error-log-path=/var/log/nginx/error.log #nginx的錯誤日志目錄; --http-log-path=/var/log/nginx/access.log #nginx的訪問日志目錄; --pid-path=/var/run/nginx.pid #nginx的pid進程文件路徑; --lock-path=/var/run/nginx.lock #Nginx鎖文件目錄; // 執行對應模塊時,Nginx所保留的臨時性文件;帶有temp后綴字樣的文件; --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp // 處于服務器安全性的考慮,設定Nginx進程啟動的用戶和組用戶;不建議使用root用戶; --user=nginx --group=nginx --with-cc-opt=parameters #設置額外的參數將被添加到CFLAGS變量; --with-ld-opt=parameters #設置附加的參數,鏈接系統庫,如pcre庫; ``` > Openresty 編譯參數 ``` ./configure --prefix=/usr/local/openresty --with-luajit --with-stream --with-stream_ssl_module --with-stream=dynamic --with-file-aio --with-threads --with-http_v2_module --with-http_realip_module --with-http_mp4_module --with-http_gzip_static_module --with-http_ssl_module --with-http_stub_status_module --with-http_xslt_module --with-http_iconv_module --without-http_redis2_module --with-openssl-opt=enable-tlsext --add-dynamic-module=/www/home/nginx-rtmp-module-1.2.1/ --add-dynamic-module=/www/home/nginx-ts-module-0.1.1/ --add-dynamic-module=/www/home/nginx-vod-module-1.23/ --add-dynamic-module=/www/home/nginx-module-vts-0.1.18 ``` 直接賦值編譯 ``` sudo ./configure --prefix=/usr/local/openresty --with-luajit --with-stream --with-stream_ssl_module --with-stream=dynamic --with-file-aio --with-threads --with-http_v2_module --with-http_realip_module --with-http_mp4_module --with-http_gzip_static_module --with-http_ssl_module --with-http_stub_status_module --with-http_xslt_module --with-http_iconv_module --without-http_redis2_module --with-openssl-opt=enable-tlsext --add-dynamic-module=/home/www/nginx-rtmp-module-1.2.1/ --add-dynamic-module=/home/www/nginx-ts-module-0.1.1/ --add-dynamic-module=/home/www/nginx-vod-module-1.23/ --add-dynamic-module=/home/www/nginx-module-vts-0.1.18/ ``` > 模塊在www用戶家目錄中 [如何編譯一個高性能 OpenResty](https://yq.aliyun.com/articles/228399) 遇到的問題 ``` Starting A dynamic web platform based on Nginx and LuaJIT.... openresty.service: Can't open PID file /run/openresty.pid (yet?) after start: No such file or directory ``` 該文件確實存在于`/var/run/openresty.pid`中,并且可讀。更改`/usr/local/openresty/nginx/nginx.conf`: 修改 ``` pid /var/run/nginx.pid; ``` 為 ``` pid /run/openresty.pid; ``` * [nginx服務器安裝及配置文件詳解](http://seanlook.com/2015/05/17/nginx-install-and-config/)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看