這是本文件的舊版!
DokuWiki安裝程序
Docker 安裝方式
- 安裝方式
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/dokuwiki/docker-compose.yml > docker-compose.yml docker-compose up -d
- 預設帳號密碼 : user / bitnami1
- 下載安裝檔
- 安裝參數設定
- 在 2006-11-06 版之後, 就提供網頁安裝參數設定功能
- 所以在安裝路徑網址下 install.php (Exp. http://192.168.11.236/dokuwiki/install.php)
- 右上角將語系改成 zh-tw
- 左邊欄位就開始一一輸入
- Wiki Name : MyWiki
- 依據將所有的欄位填好
- 我是設定預設的 ACL 是屬於 Closed Wiki
- 點下[儲存]
- 將 install.php 刪除掉
..實際命令語法
cd /var/www/html/dokuwiki rm install.php
- 第一次登入
- 輸入新的 wiki 網址後, 因為剛剛設定為 Closed Wiki 所以會出現 拒絕尚未授權 的訊息
- 點[登入]輸入剛剛設定的管理者帳號密碼登入
- 點[管理選單]→[Configuration Settings]
- [Use first heading for pagenames] ← 打勾, 讓每頁的 Header 當頁面名稱
- [Send info on newly registered users to this email address] ← [email protected] 有新註冊就通知到這個 E-Mail
- [Allow embedded HTML] ← 打勾, 允許使用 html 語法
- [Send change notifications to this email address] ← [email protected] 有改到網頁就通知到這個 E-Mail
- [Enable page subscription support] ← 打勾, 允許使用者訂閱網頁
- [Use nice URLs] ← .htaccess 3)
- [Email address to use for automatic mails] ← [email protected] 表示寄信者的 E-Mail
- [Generate Google sitemap (days)] ← 1 表示每天都更新 Google Sitemap
- [XML feed type] ← RSS 2.0
- 點[儲存]
- 登入主機, 確認 apache 設定檔 AllowOverride 設定為 All
- - 修改 .htaccess 設定檔
- 原有資料帳號連結
如果有需要將原本的資料頁面移轉過來, 只需要將 data 的內容搬移到新的路徑內即可.
- 在 2006 年版本中, data 內並無 index 目錄, 所以要自己先加入一個空的 index 目錄, 然後設定可以讓 apache 讀寫的權限
- 在 2007 年版本中, data 內並無 tmp 目錄, 所以要自己先加入一個空的 tmp 目錄, 然後設定可以讓 apache 讀寫的權限實際處理語法
- 安裝 Plugin
- 下載其他 Template
- 延伸參考資料
<quote>
2025/04/13 23:42 | Jonathan Tsai | |
2025/03/28 10:10 | Jonathan Tsai | |
2023/01/20 18:54 | Jonathan Tsai | |
2018/07/23 17:07 | Jonathan Tsai | |
2017/08/14 12:17 | Jonathan Tsai | |
2017/03/26 18:55 | ||
2017/02/06 19:02 | ||
2016/12/12 23:06 | ||
2016/05/01 07:47 | ||
2016/05/01 07:47 | ||
2016/05/01 07:47 | ||
2016/05/01 07:47 |
</quote>
1)
dokuwiki 最新版本下載網址 : https://download.dokuwiki.org/
2)
Web Server Owner
3)
設定 .htaccess 必須在 apache 的設定檔內也要將 AllowOverride All 開啟