<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國際加速解決方案。 廣告
                1、配置epel源 [root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo --2017-12-01 17:08:56-- http://mirrors.aliyun.com/repo/epel-7.repo Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 180.163.159.88, 180.163.159.87, 180.163.159.84, ... Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|180.163.159.88|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1084 (1.1K) [application/octet-stream] Saving to: ‘/etc/yum.repos.d/epel-7.repo’ 100%[=====================================================================================================================>] 1,084 --.-K/s in 0s 2017-12-01 17:09:07 (111 MB/s) - ‘/etc/yum.repos.d/epel-7.repo’ saved [1084/1084] [root@localhost yum.repos.d]# ll epel-7.repo -rw-r--r--. 1 root root 1084 Nov 21 2014 epel-7.repo 2、查看nginx版本 [root@localhost ~]# yum info nginx ![](https://box.kancloud.cn/e6e34752d91f390d527255402ae3be99_733x350.png) 3、安裝nginx [root@localhost ~]# yum -y install nginx 4、nginx目錄結構 配置文件: /etc/nginx 啟動腳本:/usr/lib/systemd/system/nginx.service 腳本配置文件:/etc/sysconfig/nginx nginx命令:/usr/sbin/nginx 模塊文件:/usr/lib64/nginx/modules 說明文檔目錄:/usr/share/doc/ 日志切割:etc/logrotate.d/nginx 日志文件:/var/log/nginx 默認主目錄:/usr/share/nginx/html/ 5、啟動nginx服務 [root@localhost ~]# systemctl start nginx [root@localhost ~]# systemctl status nginx ● nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled) Active: active (running) since Fri 2017-12-01 17:22:30 CST; 4s ago Process: 2425 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS) Process: 2423 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS) Process: 2421 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS) Main PID: 2428 (nginx) CGroup: /system.slice/nginx.service ├─2428 nginx: master process /usr/sbin/nginx └─2429 nginx: worker process 通過配置nginx repo倉庫也可以 1、配置nginx repo倉庫 [root@static ~]# vim /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 enabled=1 注意: baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ Replace “OS” with “rhel” or “centos”, depending on the distribution used, and “OSRELEASE” with “6” or “7”, for 6.x or 7.x versions, respectively. 2、然后安裝nginx [root@localhost ~]# yum -y install nginx
                  <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>

                              哎呀哎呀视频在线观看