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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                - 系統換源(備份、[換阿里云源](http://mirrors.aliyun.com/)) - Docker環境安裝 - 安裝pip - 安裝mkDocs ### 系統換源 包括docker鏡像系統換源。 [清華大學開源軟件鏡像站](https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/) [安裝dokuwiki](https://linux.cn/article-8178-1.html) ### 創建wiki環境鏡像 - 運行ubuntu容器 ```$sh docker run -p 8100:8080 -d -i -t --name wiki-ubuntu ubuntu ``` - 安裝nginx ``` apt install nginx ``` - 修改nginx的默認端口 在nginx的配置文件nginx.conf (http下)中添加如下: ``` server{ listen 8080; server_name localhost; } ``` - 安裝php ``` apt install php vim /etc/php/7.0/fpm/php.ini 設置 cgi.fix_pathinfo=0 ``` - 啟動php模塊 ``` service php7.0-fpm start / restart ``` > nginx默認配置路徑在/etc/nginx/sites-available/ 。使用的配置文件為nginx.conf. server下添加如下配置:(或者打開原有的default配置文件中的php配置項即可。) ``` # PHP 腳本請求全部轉發到 FastCGI處理. 使用FastCGI協議默認配置. # Fastcgi服務器和程序(PHP,Python)溝通的協議. location ~ \.php$ { # 設置監聽端口 fastcgi_pass 127.0.0.1:9000; # 設置nginx的默認首頁文件(上面已經設置過了,可以刪除) fastcgi_index index.php; # 設置腳本文件請求的路徑 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # 引入fastcgi的配置文件 include fastcgi_params; } ``` - 驗證 在 /var/www/html 目錄下創建一個 index.php文件,內容為: ```php <?php echo phpinfo(); ?> ``` 訪問 http://192.168.1.34:8100/index.php 。(8100是因為docker容器端口做了映射。) 設置權限 chmod -R 707 wiki
                  <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>

                              哎呀哎呀视频在线观看