<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國際加速解決方案。 廣告
                #LAMP和LNMP環境配置 參考資料:[https://github.com/apanly/mooc/tree/master/vagrant](https://github.com/apanly/mooc/tree/master/vagrant) 查看nginx軟件是否存在 ``` apt-cache search nginx ``` 安裝nginx ``` // 搜索是否存在nginx這款軟件 apt-cache search nginx // 安裝nginx apt-get install nginx // 查看nginx版本 nginx -v // 測試nginx curl -I 'http://127.0.0.1' ``` 安裝apache ``` apt-get install apache2 apache2 -v /etc/init.d/nginx stop /etc/init.d/apache2 start curl -I 'http://127.0.0.1' ``` 安裝mysql ``` apt-get install mysql-server mysql-client mysql -V ``` 安裝php ``` apt-get install php7.0-cli php -v ``` 安裝php擴展 ``` apt-get install php7.0-curl php7.0-gd php7.0-json php7.0-mysql php7.0-mcrypt php7.0-mbstring php7.0-zip php-codecoverage phpunit php7.0-sqlite3 ``` 安裝apache2的php模塊 ``` apt-get install libapache2-mod-php7.0 ``` 安裝nginx fastcgi ``` apt-get install php7.0-cgi php7.0-fpm ``` 查看apache是否正在運行 ``` ps -ef | grep apache ps -ef | grep nginx ``` 為了讓apache和nginx可以同時運行,因此將apache的端口修改成9000 ``` vi /etc/apache2/ports.conf /etc/init.d/apache2 restart ``` 啟動apache/nginx ``` /etc/init.d/apache2 start /etc/init.d/nginx start ps -ef | grep apache ps -ef | grep nginx curl -I 'http://127.0.0.1' curl -I 'http://127.0.0.1:9000' ``` 通過瀏覽器訪問 vi /var/www/html/index.html ``` Hello World ``` http://192.168.100.126 http://192.168.100.126:9000
                  <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>

                              哎呀哎呀视频在线观看