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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## install Install the EPEL repository: ~~~ sudo yum install epel-release ~~~ Update the repository: ~~~ sudo yum update ~~~ ~~~ sudo yum install nginx ~~~ Verify the installation: ~~~ sudo nginx -v ~~~ 自行編譯 #### 安裝依賴 ~~~ yum install openssl-devel pcre-devel pcre gcc zlib -y ~~~ * pcre 正則處理需要 * gcc 編譯需要 * zlib 壓縮需要 * openssl 安全鏈接需要 下載nginx源 ~~~ $ wget https://nginx.org/download/nginx-1.16.1.tar.gz $ tar zxf nginx-1.16.1.tar.gz $ cd nginx-1.16.1 ~~~ 查看編譯幫助信息 ~~~ $ ./configure --help ~~~ 使用--with添加模塊,使用--without排除模塊。 ~~~ $ ./configure --sbin-path=/usr/local/nginx/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-pcre=../pcre-8.43 --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-stream --with-mail=dynamic --add-module=/usr/build/nginx-rtmp-module --add-dynamic-module=/usr/build/3party_module ~~~ ~~~ $ make;make install ~~~ The main purpose of the master process is to read and evaluate configuration, and maintain worker processes.Worker processes do actual processing of requests. nginx employs event-based model and OS-dependent mechanisms to efficiently distribute requests among worker processes. The number of worker processes is defined in the configuration file and may be fixed for a given configuration or automatically adjusted to the number of available CPU cores. To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the`-s`parameter. Use the following syntax. 主進程的主要意圖是讀取配置以及維護從進程,實際從進程執行請求工作,nginx采用事件驅動以及系統環境無關機制在從進程中高效的分發請求,從進程的個數由配置文件定義,或者調整以及自動適應cpu的個數。 ~~~ nginx -s signal ~~~ * `stop`?— fast shutdown * `quit`?— graceful shutdown * `reload`?— reloading the configuration file * `reopen`?— reopening the log files ~~~ nginx -s quit ~~~ This command should be executed under the same user that started nginx. Changes made in the configuration file will not be applied until the command to reload configuration is sent to nginx or it is restarted. To reload configuration, execute: ~~~ nginx -s reload ~~~ ### Basic Functionlity 通常配置文件在/usr/local/nginx/conf, 出于方便考慮,建議將各類配置文件都放置在/etc/nginx/conf.d文件下并且使用include指令包括在nginx.conf文件里面。 少數幾個top\_level的指令,被應用于不同的網路。 * `events`– General connection processing * `http`– HTTP traffic * `mail`– Mail traffic * `stream`– TCP and UDP traffic Directives placed outside of these contexts are said to be in the*main*context. 在這些指令之外的內容是主內容。
                  <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>

                              哎呀哎呀视频在线观看