這是本文件的舊版!


DokuWiki安裝程序

  1. 先切換到安裝目錄
  2. 下載 dokuwiki 最新版本1)檔案
  3. 解開壓縮檔
  4. 將目錄名稱更改為自己所希望的目錄名稱
  5. 將檔案目錄權限更改為 apache2)

實際處理語法

  1. 在 2006-11-06 版之後, 就提供網頁安裝參數設定功能
  2. 所以在安裝路徑網址下 install.php (Exp. http://192.168.11.236/dokuwiki/install.php)
  3. 右上角將語系改成 zh-tw
  4. 左邊欄位就開始一一輸入
    1. Wiki Name : MyWiki
    2. 依據將所有的欄位填好
    3. 我是設定預設的 ACL 是屬於 Closed Wiki
    4. 點下[儲存]
  5. 將 install.php 刪除掉

..實際命令語法

cd /var/www/html/dokuwiki
rm install.php 

  1. 輸入新的 wiki 網址後, 因為剛剛設定為 Closed Wiki 所以會出現 拒絕尚未授權 的訊息
  2. 點[登入]輸入剛剛設定的管理者帳號密碼登入
  3. 點[管理選單]→[Configuration Settings]
    1. [Use first heading for pagenames] ← 打勾, 讓每頁的 Header 當頁面名稱
    2. [Send info on newly registered users to this email address] ← [email protected] 有新註冊就通知到這個 E-Mail
    3. [Allow embedded HTML] ← 打勾, 允許使用 html 語法
    4. [Send change notifications to this email address] ← [email protected] 有改到網頁就通知到這個 E-Mail
    5. [Enable page subscription support] ← 打勾, 允許使用者訂閱網頁
    6. [Use nice URLs] ← .htaccess 3)
    7. [Email address to use for automatic mails] ← [email protected] 表示寄信者的 E-Mail
    8. [Generate Google sitemap (days)] ← 1 表示每天都更新 Google Sitemap
    9. [XML feed type] ← RSS 2.0
  4. 點[儲存]
  5. 登入主機, 確認 apache 設定檔 AllowOverride 設定為 All
  6. - 修改 .htaccess 設定檔

實際處理語法

如果有需要將原本的資料頁面移轉過來, 只需要將 data 的內容搬移到新的路徑內即可.

實際命令語法

  • 在 2006 年版本中, data 內並無 index 目錄, 所以要自己先加入一個空的 index 目錄, 然後設定可以讓 apache 讀寫的權限
  • 在 2007 年版本中, data 內並無 tmp 目錄, 所以要自己先加入一個空的 tmp 目錄, 然後設定可以讓 apache 讀寫的權限實際處理語法

實際安裝 simple template 程序語法


1)
dokuwiki 最新版本下載網址 : https://download.dokuwiki.org/
2)
Web Server Owner
3)
設定 .htaccess 必須在 apache 的設定檔內也要將 AllowOverride All 開啟
  • tech/dokuwiki.1490525753.txt.gz
  • 上一次變更: 2017/03/26 18:55
  • jonathan