CINXE.COM
zh-tw:install [DokuWiki]
<!DOCTYPE html> <html lang="zh-tw" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>zh-tw:install [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="zh-tw,install"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/zh-tw:install?do=index" title="網站地圖"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="最近更新" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="目前的命名空間" href="/feed.php?mode=list&ns=zh-tw"/> <link rel="edit" title="編輯本頁" href="/zh-tw:install?do=edit"/> <link rel="alternate" type="text/html" title="純 HTML" href="/_export/xhtml/zh-tw:install"/> <link rel="alternate" type="text/plain" title="Wiki 語法標記" href="/_export/raw/zh-tw:install"/> <link rel="canonical" href="https://www.dokuwiki.org/zh-tw:install"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <link rel="alternate" hreflang="en" href="https://www.dokuwiki.org/install"/> <link rel="alternate" hreflang="cs" href="https://www.dokuwiki.org/cs:install"/> <link rel="alternate" hreflang="de" href="https://www.dokuwiki.org/de:install"/> <link rel="alternate" hreflang="el" href="https://www.dokuwiki.org/el:install"/> <link rel="alternate" hreflang="es" href="https://www.dokuwiki.org/es:install"/> <link rel="alternate" hreflang="fr" href="https://www.dokuwiki.org/fr:install"/> <link rel="alternate" hreflang="it" href="https://www.dokuwiki.org/it:install"/> <link rel="alternate" hreflang="ja" href="https://www.dokuwiki.org/ja:install"/> <link rel="alternate" hreflang="ko" href="https://www.dokuwiki.org/ko:install"/> <link rel="alternate" hreflang="nl" href="https://www.dokuwiki.org/nl:install"/> <link rel="alternate" hreflang="pl" href="https://www.dokuwiki.org/pl:install"/> <link rel="alternate" hreflang="pt-br" href="https://www.dokuwiki.org/pt-br:install"/> <link rel="alternate" hreflang="ru" href="https://www.dokuwiki.org/ru:install"/> <link rel="alternate" hreflang="zh" href="https://www.dokuwiki.org/zh:install"/> <link rel="alternate" hreflang="x-default" href="https://www.dokuwiki.org/install"/> <script >var NS='zh-tw';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"zh-tw:install","namespace":"zh-tw","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e&lang=zh-tw" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">跳至內容</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">使用者工具</h3> <ul> <li class="action login"><a href="/zh-tw:install?do=login&sectok=" title="登入" rel="nofollow"><span>登入</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">網站工具</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="zh-tw:install" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="搜尋" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="搜尋">搜尋</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="zh-tw:install" /><select name="do" class="edit quickselect" title="工具"><option value="">工具</option><optgroup label="頁面工具"><option value="edit">編輯本頁</option><option value="revisions">舊版</option><option value="backlink">反向連結</option></optgroup><optgroup label="網站工具"><option value="recent">最近更新</option><option value="media">多媒體管理器</option><option value="index">網站地圖</option></optgroup><optgroup label="使用者工具"><option value="login">登入</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/zh-tw:install?do=recent" title="最近更新 [r]" rel="nofollow" accesskey="r">最近更新</a></li><li class="action media"><a href="/zh-tw:install?do=media&ns=zh-tw" title="多媒體管理器" rel="nofollow">多媒體管理器</a></li><li class="action index"><a href="/zh-tw:install?do=index" title="網站地圖 [x]" rel="nofollow" accesskey="x">網站地圖</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">足跡:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/zh-tw:install" class="breadcrumbs" title="zh-tw:install">install</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="側欄"><div class="pad aside include group"> <h3 class="toggle">側欄</h3> <div class="content"><div class="group"> <div class="notify">這份翻譯較<a href="/install" class="wikilink1">原始頁面</a>舊,可能已過時。 檢視<a href="/install?do=diff&rev=1662915259" class="wikilink1">變更</a>。</div><div class="plugin_translation is-dropdown"><span class="title">本頁之翻譯<sup><a href="/localization" class="wikilink1" title="localization" data-wiki-id="localization">?</a></sup>: </span><ul><li class="a"><a class="wikilink1" title="English" href="/install">English (en)</a></li><li class="a"><a class="wikilink2" title="|العربية" href="/ar:install">|العربية (ar)</a></li><li class="a"><a class="wikilink2" title="Català" href="/ca:install">Català (ca)</a></li><li class="a"><a class="wikilink1" title="Česky" href="/cs:install">Česky (cs)</a></li><li class="a"><a class="wikilink2" title="Dansk" href="/da:install">Dansk (da)</a></li><li class="a"><a class="wikilink1" title="Deutsch" href="/de:install">Deutsch (de)</a></li><li class="a"><a class="wikilink1" title="Ελληνικά" href="/el:install">Ελληνικά (el)</a></li><li class="a"><a class="wikilink2" title="Esperanto" href="/eo:install">Esperanto (eo)</a></li><li class="a"><a class="wikilink1" title="Español" href="/es:install">Español (es)</a></li><li class="a"><a class="wikilink2" title="فارسی" href="/fa:install">فارسی (fa)</a></li><li class="a"><a class="wikilink1" title="Français" href="/fr:install">Français (fr)</a></li><li class="a"><a class="wikilink2" title="עברית" href="/he:install">עברית (he)</a></li><li class="a"><a class="wikilink2" title="Magyar" href="/hu:install">Magyar (hu)</a></li><li class="a"><a class="wikilink1" title="Italiano" href="/it:install">Italiano (it)</a></li><li class="a"><a class="wikilink1" title="日本語" href="/ja:install">日本語 (ja)</a></li><li class="a"><a class="wikilink1" title="한국어" href="/ko:install">한국어 (ko)</a></li><li class="a"><a class="wikilink2" title="Lietuvių Kalba" href="/lt:install">Lietuvių Kalba (lt)</a></li><li class="a"><a class="wikilink1" title="Nederlands" href="/nl:install">Nederlands (nl)</a></li><li class="a"><a class="wikilink2" title="Norsk" href="/no:install">Norsk (no)</a></li><li class="a"><a class="wikilink1" title="Polski" href="/pl:install">Polski (pl)</a></li><li class="a"><a class="wikilink1" title="Português" href="/pt-br:install">Português (pt-br)</a></li><li class="a"><a class="wikilink2" title="Română" href="/ro:install">Română (ro)</a></li><li class="a"><a class="wikilink1" title="Русский" href="/ru:install">Русский (ru)</a></li><li class="a"><a class="wikilink2" title="Српски Језик" href="/sr:install">Српски Језик (sr)</a></li><li class="a"><a class="wikilink2" title="Svenska" href="/sv:install">Svenska (sv)</a></li><li class="a"><a class="wikilink2" title="ไทย" href="/th:install">ไทย (th)</a></li><li class="a"><a class="wikilink2" title="Українська" href="/uk:install">Українська (uk)</a></li><li class="a"><a class="wikilink1" title="中文" href="/zh:install">中文 (zh)</a></li><li class="span"><span class="wikilink1" title="繁體中文">繁體中文 (zh-tw)</span></li></ul></div> <p> <strong>認識 DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh-tw:features" class="wikilink1" title="zh-tw:features" data-wiki-id="zh-tw:features">特色功能</a></div> </li> <li class="level1"><div class="li"> <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">使用評論</a> </div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:install" class="wikilink1" title="zh-tw:install" data-wiki-id="zh-tw:install">安裝指引</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:manual" class="wikilink1" title="zh-tw:manual" data-wiki-id="zh-tw:manual">使用手冊</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:wiki:syntax" class="wikilink1" title="zh-tw:wiki:syntax" data-wiki-id="zh-tw:wiki:syntax">語法說明</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:changes" class="wikilink2" title="zh-tw:changes" rel="nofollow" data-wiki-id="zh-tw:changes">更新日誌</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:faq" class="wikilink1" title="zh-tw:faq" data-wiki-id="zh-tw:faq">常見問題</a></div> </li> </ul> <p> <strong>進階使用</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh-tw:extensions" class="wikilink1" title="zh-tw:extensions" data-wiki-id="zh-tw:extensions">擴充套件</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:development" class="wikilink1" title="zh-tw:development" data-wiki-id="zh-tw:development">開發手冊</a></div> </li> </ul> <p> <strong>商務使用</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh-tw:faq:support" class="wikilink1" title="zh-tw:faq:support" data-wiki-id="zh-tw:faq:support">取得幫助</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:donate" class="wikilink1" title="zh-tw:donate" data-wiki-id="zh-tw:donate">捐款支持</a></div> </li> </ul> <p> <strong>社群</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/zh-tw:teams:getting_involved" class="wikilink2" title="zh-tw:teams:getting_involved" rel="nofollow" data-wiki-id="zh-tw:teams:getting_involved">加入我們</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:dokuinstall" class="wikilink1" title="zh-tw:dokuinstall" data-wiki-id="zh-tw:dokuinstall">應用實例</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">論壇</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:mailinglist" class="wikilink2" title="zh-tw:mailinglist" rel="nofollow" data-wiki-id="zh-tw:mailinglist">郵件列表</a></div> </li> </ul> <hr /> <p> 在 <a href="http://www.facebook.com/pages/DokuWiki/52877633616" class="urlextern" title="http://www.facebook.com/pages/DokuWiki/52877633616">Facebook</a>、<a href="http://twitter.com/dokuwiki" class="urlextern" title="http://twitter.com/dokuwiki">Twitter</a> 和其他<a href="/zh-tw:social" class="wikilink1" title="zh-tw:social" data-wiki-id="zh-tw:social">社群網站</a>上追蹤我們。 </p> <p> <a href="/zh-tw:privacy" class="wikilink2" title="zh-tw:privacy" rel="nofollow" data-wiki-id="zh-tw:privacy">隱私權政策</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>zh-tw:install</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">目錄表</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#dokuwiki_安裝指引">DokuWiki 安裝指引</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#詳細指引">詳細指引</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#作業系統_分支相關">作業系統/分支相關</a></div></li> <li class="level3"><div class="li"><a href="#webserver_相關">Webserver 相關</a></div></li> <li class="level3"><div class="li"><a href="#web_host_相關">Web Host 相關</a></div></li> <li class="level3"><div class="li"><a href="#替代安裝方案">替代安裝方案</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#suhosin_php_extension_的陷阱">suhosin php extension 的陷阱</a></div></li> <li class="level2"><div class="li"><a href="#成功了_接下來呢">成功了!接下來呢?</a></div></li> <li class="level2"><div class="li"><a href="#它動不了_問題排除">它動不了!問題排除</a></div></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="dokuwiki_安裝指引">DokuWiki 安裝指引</h1> <div class="level1"> <p> <strong>如果要升級既有的 DokuWiki 站點,可以參考另外一份<a href="/install:upgrade" class="wikilink1" title="install:upgrade" data-wiki-id="install:upgrade">升級指引</a>.</strong> </p> <p> 您可以嘗試下述的簡要指引,如果遇到了問題或是指引不夠詳細,請點擊進一步的連結: </p> <ul> <li class="level1"><div class="li"> <strong>第 0 步</strong>:確認您的伺服器符合<a href="/zh-tw:requirements" class="wikilink1" title="zh-tw:requirements" data-wiki-id="zh-tw:requirements">系統需求</a></div> </li> <li class="level1"><div class="li"> <strong>第 1 步</strong>:從<a href="https://download.dokuwiki.org/" class="urlextern" title="https://download.dokuwiki.org/">下載頁面</a>獲取下載最新版本</div> </li> <li class="level1"><div class="li"> <strong>第 2 步</strong>:在開始安裝<em class="u">之前</em>,詳閱<a href="/zh-tw:security" class="wikilink2" title="zh-tw:security" rel="nofollow" data-wiki-id="zh-tw:security">安全頁面</a>中的內容,並審慎對待;如果有任何疑問,請透過<a href="/zh-tw:mailinglist" class="wikilink2" title="zh-tw:mailinglist" rel="nofollow" data-wiki-id="zh-tw:mailinglist">郵件列表</a>提問</div> </li> <li class="level1"><div class="li"> <strong>第 3 步</strong>:解壓縮下載的檔案,並上傳或複製到您的網路空間</div> </li> <li class="level1"><div class="li"> <strong>第 4 步</strong>:在瀏覽器中開啟 <code>install.php</code> 檔案,並依照說明步驟進行操作(進一步的資訊,請參閱<a href="/zh-tw:installer" class="wikilink1" title="zh-tw:installer" data-wiki-id="zh-tw:installer">安裝程式</a>頁面)</div> </li> <li class="level1"><div class="li"> <strong>第 5 步</strong>:開始使用您的 DokuWiki 並閱讀<a href="/zh-tw:manual" class="wikilink1" title="zh-tw:manual" data-wiki-id="zh-tw:manual">使用手冊</a>來發掘可以使用的功能</div> </li> </ul> <p> 這裡有支<a href="/install:screencast" class="wikilink1" title="install:screencast" data-wiki-id="install:screencast">安裝影片</a>展示了如何將 DokuWiki 安裝到共享虛擬主機(Shared Web Hosting),但依然可以作為其他安裝方式的參考;如果您尚未具備自己的網頁託管主機,可以查看我們的<a href="/zh-tw:hosting" class="wikilink1" title="zh-tw:hosting" data-wiki-id="zh-tw:hosting">主機合作夥伴</a>使用預裝好 DokuWiki 的主機服務。 </p> <p> 如果您希望創建多個維基站點,可以創建一座 DokuWiki 農場,相關的創建資訊與指引可以參考<a href="/zh-tw:farms" class="wikilink2" title="zh-tw:farms" rel="nofollow" data-wiki-id="zh-tw:farms">維基農場</a>頁面上的說明。 </p> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[DokuWiki 安裝指引] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="dokuwiki_安裝指引" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-1474" /><button type="submit" title="DokuWiki 安裝指引">編輯此段</button></div></form></div> <h2 class="sectionedit2" id="詳細指引">詳細指引</h2> <div class="level2"> <p> 如果您在執行上述步驟時遇到問題,或者需要更詳細的資訊,請查看以下頁面: </p> <ul> <li class="level1"><div class="li"> <a href="/install:unpacking" class="wikilink1" title="install:unpacking" data-wiki-id="install:unpacking">解壓縮 ''.tgz'' 檔案</a></div> </li> <li class="level1"><div class="li"> <a href="/install:permissions" class="wikilink1" title="install:permissions" data-wiki-id="install:permissions">如何設置權限</a></div> </li> <li class="level1"><div class="li"> <a href="/install:hosted" class="wikilink1" title="install:hosted" data-wiki-id="install:hosted">在網頁空間上安裝 DokuWiki</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:installer" class="wikilink1" title="zh-tw:installer" data-wiki-id="zh-tw:installer">''install.php'' 指引</a></div> </li> <li class="level1"><div class="li"> <a href="/install:upgrade" class="wikilink1" title="install:upgrade" data-wiki-id="install:upgrade">從之前的版本升級</a></div> </li> <li class="level1"><div class="li"> <a href="/zh-tw:faq" class="wikilink1" title="zh-tw:faq" data-wiki-id="zh-tw:faq">常見問題</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[詳細指引] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="詳細指引" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1475-1879" /><button type="submit" title="詳細指引">編輯此段</button></div></form></div> <h3 class="sectionedit3" id="作業系統_分支相關">作業系統/分支相關</h3> <div class="level3"> <ul> <li class="level1"><div class="li"> <a href="http://wiki.archlinux.org/index.php/Dokuwiki" class="urlextern" title="http://wiki.archlinux.org/index.php/Dokuwiki">Arch Linux</a></div> </li> <li class="level1"><div class="li"> <a href="/install:centos" class="wikilink1" title="install:centos" data-wiki-id="install:centos">CentOS</a></div> </li> <li class="level1"><div class="li"> <a href="/install:debian" class="wikilink1" title="install:debian" data-wiki-id="install:debian">Debian</a></div> </li> <li class="level1"><div class="li"> <a href="/install:fedora" class="wikilink1" title="install:fedora" data-wiki-id="install:fedora">Fedora</a></div> </li> <li class="level1"><div class="li"> <a href="/install:freebsd" class="wikilink1" title="install:freebsd" data-wiki-id="install:freebsd">FreeBSD</a></div> </li> <li class="level1"><div class="li"> <a href="/install:gentoo" class="wikilink1" title="install:gentoo" data-wiki-id="install:gentoo">Gentoo</a></div> </li> <li class="level1"><div class="li"> <a href="/install:macosx" class="wikilink1" title="install:macosx" data-wiki-id="install:macosx">MacOSX</a> or <a href="/install:mac_alt" class="wikilink1" title="install:mac_alt" data-wiki-id="install:mac_alt">mac_alt</a></div> </li> <li class="level1"><div class="li"> <a href="/install:opensolaris" class="wikilink1" title="install:opensolaris" data-wiki-id="install:opensolaris">OpenSolaris</a></div> </li> <li class="level1"><div class="li"> <a href="/install:opensuse" class="wikilink1" title="install:opensuse" data-wiki-id="install:opensuse">openSUSE</a></div> </li> <li class="level1"><div class="li"> <a href="http://wiki.qnap.com/wiki/Dokuwiki" class="urlextern" title="http://wiki.qnap.com/wiki/Dokuwiki">QNAP NAS</a></div> </li> <li class="level1"><div class="li"> <a href="/install:solaris" class="wikilink1" title="install:solaris" data-wiki-id="install:solaris">Solaris</a></div> </li> <li class="level1"><div class="li"> <a href="/install:ubuntu" class="wikilink1" title="install:ubuntu" data-wiki-id="install:ubuntu">Ubuntu</a></div> </li> <li class="level1"><div class="li"> <a href="/install:windows" class="wikilink1" title="install:windows" data-wiki-id="install:windows">Windows</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[作業系統/分支相關] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="作業系統_分支相關" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1880-2352" /><button type="submit" title="作業系統/分支相關">編輯此段</button></div></form></div> <h3 class="sectionedit4" id="webserver_相關">Webserver 相關</h3> <div class="level3"> <ul> <li class="level1"><div class="li"> <a href="/install:apache" class="wikilink1" title="install:apache" data-wiki-id="install:apache">Apache</a></div> </li> <li class="level1"><div class="li"> <a href="/install:darklight" class="wikilink1" title="install:darklight" data-wiki-id="install:darklight">darklight</a></div> </li> <li class="level1"><div class="li"> <a href="/install:hiawatha" class="wikilink1" title="install:hiawatha" data-wiki-id="install:hiawatha">Hiawatha</a></div> </li> <li class="level1"><div class="li"> <a href="/install:iis" class="wikilink1" title="install:iis" data-wiki-id="install:iis">IIS</a></div> </li> <li class="level1"><div class="li"> <a href="/install:lighttpd" class="wikilink1" title="install:lighttpd" data-wiki-id="install:lighttpd">Lighttpd</a></div> </li> <li class="level1"><div class="li"> <a href="/install:mongoose" class="wikilink1" title="install:mongoose" data-wiki-id="install:mongoose">Mongoose</a></div> </li> <li class="level1"><div class="li"> <a href="/install:nanoweb" class="wikilink1" title="install:nanoweb" data-wiki-id="install:nanoweb">Nanoweb</a></div> </li> <li class="level1"><div class="li"> <a href="/install:nginx" class="wikilink1" title="install:nginx" data-wiki-id="install:nginx">nginx</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[Webserver 相關] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="webserver_相關" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2353-2587" /><button type="submit" title="Webserver 相關">編輯此段</button></div></form></div> <h3 class="sectionedit5" id="web_host_相關">Web Host 相關</h3> <div class="level3"> <ul> <li class="level1"><div class="li"> <a href="/hosting" class="wikilink1" title="hosting" data-wiki-id="hosting">虛擬主機合作夥伴</a> 提供預先載入之 DokuWiki 安裝</div> </li> <li class="level1 node"><div class="li"> DokuWiki 在 …</div> <ul> <li class="level2"><div class="li"> <a href="/install:hosted" class="wikilink1" title="install:hosted" data-wiki-id="install:hosted">在網頁空間上安裝 DokuWiki</a></div> </li> <li class="level2"><div class="li"> <a href="/install:dreamhost" class="wikilink1" title="install:dreamhost" data-wiki-id="install:dreamhost">Dreamhost</a></div> </li> <li class="level2"><div class="li"> <a href="/install:free.fr" class="wikilink1" title="install:free.fr" data-wiki-id="install:free.fr">free.fr</a></div> </li> <li class="level2"><div class="li"> <a href="/install:godaddy.com" class="wikilink1" title="install:godaddy.com" data-wiki-id="install:godaddy.com">GoDaddy</a></div> </li> <li class="level2"><div class="li"> <a href="/install:ovh.com" class="wikilink1" title="install:ovh.com" data-wiki-id="install:ovh.com">ovh.com</a></div> </li> <li class="level2"><div class="li"> <a href="/install:sourceforge" class="wikilink1" title="install:sourceforge" data-wiki-id="install:sourceforge">SourceForge</a></div> </li> <li class="level2"><div class="li"> <a href="/install:strato" class="wikilink1" title="install:strato" data-wiki-id="install:strato">Strato and 1&1</a></div> </li> <li class="level2"><div class="li"> <a href="/install:azurewebsites" class="wikilink1" title="install:azurewebsites" data-wiki-id="install:azurewebsites">Windows Azure Web Sites</a></div> </li> </ul> </li> </ul> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[Web Host 相關] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="web_host_相關" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2588-3074" /><button type="submit" title="Web Host 相關">編輯此段</button></div></form></div> <h3 class="sectionedit6" id="替代安裝方案">替代安裝方案</h3> <div class="level3"> <ul> <li class="level1"><div class="li"> <a href="/install:downloader" class="wikilink1" title="install:downloader" data-wiki-id="install:downloader">DokuWiki Downloader</a> – 一個簡單的腳本,包含下載及安裝 DokuWiki</div> </li> <li class="level1"><div class="li"> <a href="http://www.turnkeylinux.org/dokuwiki" class="urlextern" title="http://www.turnkeylinux.org/dokuwiki">TurnKey DokuWiki Appliance</a> – 免費且開源的虛擬環境,可執行於 Ubuntu ,易於設定同時非常的精簡。每日自動更新安全性修補。幾分鐘內就可以完成部屬成為虛擬機器、Bare-Metal(裸機)或放置於雲端。屬於<a href="http://www.turnkeylinux.org/" class="urlextern" title="http://www.turnkeylinux.org/">TurnKey Linux Virtual Appliance Library</a>。</div> </li> <li class="level1"><div class="li"> <a href="http://www.splitbrain.org/blog/2007-12/01-dokuwiki_on_a_stick" class="urlextern" title="http://www.splitbrain.org/blog/2007-12/01-dokuwiki_on_a_stick">在隨身碟上使用 DokuWiki</a> – 直接在隨身碟上執行 DokuWiki (此版本已非常舊,不建議使用,本頁英文版已移除此連結。)</div> </li> <li class="level1"><div class="li"> <a href="http://bitnami.org/stack/dokuwiki" class="urlextern" title="http://bitnami.org/stack/dokuwiki">DokuWiki Bitnami Module</a> – 一個 DokuWiki 懶人包,包含所有 DokuWiki 需要的執行環境。如果你使用 Linux 則可使用 LAMPStack;如果你使用 Mac、Windows 或 Solaris 則可考慮 MAMPStack、WAMPStack 或 SAMPstack,允許與其他應用程式模組一同共用資料庫、網頁伺服器及語言執行環境。</div> </li> <li class="level1"><div class="li"> <a href="https://sourceforge.net/projects/desktopwiki/" class="urlextern" title="https://sourceforge.net/projects/desktopwiki/">Desktop Wiki</a> – 其他行動版 DokuWiki</div> </li> <li class="level1"><div class="li"> <a href="/devel:git#maintaining_a_stable_version_with_git" class="wikilink1" title="devel:git" data-wiki-id="devel:git">使用 git 維護程式碼</a></div> </li> <li class="level1"><div class="li"> <a href="https://sourceforge.net/projects/dokuwikispatial/files/DokuWiki%20portable/" class="urlextern" title="https://sourceforge.net/projects/dokuwikispatial/files/DokuWiki%20portable/">行動版 DokuWiki 使用 Uniform Server PHP MicroServer</a></div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[替代安裝方案] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="替代安裝方案" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="3075-4510" /><button type="submit" title="替代安裝方案">編輯此段</button></div></form></div> <h2 class="sectionedit7" id="suhosin_php_extension_的陷阱">suhosin php extension 的陷阱</h2> <div class="level2"> <p> (從 2015-08-10 “Detritus” 起的版本) </p> <p> 如果你的 php 有開啟 <a href="https://suhosin.org/stories/index.html" class="urlextern" title="https://suhosin.org/stories/index.html">suhosin php extension</a> 功能,記得設定於 <code>php.ini</code> 中將下列二個參數 <code>suhosin.post.disallow_nul</code> 及 <code>suhosin.request.disallow_nul</code> 設定為 0,不然頁面編輯及外掛頁將無法運作。(在編輯頁面存檔時將會無窮迴圈的回到編輯頁面中,以及外掛管理頁面中的安裝及升級將會無法正常運作。) </p> <p> 您可以將下列內容儲存成 <code>test.php</code> 後放置到主機上以確認您的 php 設定: </p> <p> <code><?php phpinfo(); ?></code> </p> <p> 使用瀏覽器查看此頁面。 </p> <p> 如果您的 dokuwiki 安裝於代管之 web hosting 中且您無法修改主機設定時,請詢問您的主機商並要求修改相關的設定。 </p> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[suhosin php extension 的陷阱] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="suhosin_php_extension_的陷阱" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="4511-5342" /><button type="submit" title="suhosin php extension 的陷阱">編輯此段</button></div></form></div> <h2 class="sectionedit8" id="成功了_接下來呢">成功了!接下來呢?</h2> <div class="level2"> <p> 在一切都成功之後,這裡有些事是你可能會想做的: </p> <ul> <li class="level1"><div class="li"> 再次閱讀<a href="/security" class="wikilink1" title="security" data-wiki-id="security">安全(英)</a>這一頁。 <img src="/lib/images/smileys/wink.svg" class="icon smiley" alt=";-)" /></div> </li> <li class="level1"><div class="li"> 考慮啟動<a href="/rewrite" class="wikilink1" title="rewrite" data-wiki-id="rewrite">URL Rewrite</a>。</div> </li> <li class="level1"><div class="li"> 替你的內容選擇一個授權方式 – 若您的樣板無法使用 <code>tpl_licence()</code>(此功能始於 DokuWiki 2009-02-14),則可編輯設定檔<a href="/config:license" class="wikilink1" title="config:license" data-wiki-id="config:license">license</a> 或 dokuwiki/lib/tpl/… 中的 <code>footer.html</code> 來顯示合適的授權。</div> </li> <li class="level1"><div class="li"> 在<a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">使用者頁面</a>中輸入你在什麼地方使用和怎麼使用 <a href="/zh-tw:dokuwiki" class="wikilink1" title="zh-tw:dokuwiki" data-wiki-id="zh-tw:dokuwiki">DokuWiki</a> 。</div> </li> <li class="level1"><div class="li"> 訂閱<a href="/newsletter" class="wikilink1" title="newsletter" data-wiki-id="newsletter">新聞群組</a>,以獲得更新和安全性問題資訊。</div> </li> <li class="level1 node"><div class="li"> 閱讀</div> <ul> <li class="level2"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">常見問題</a></div> </li> <li class="level2"><div class="li"> <a href="/tips:maintenance" class="wikilink1" title="tips:maintenance" data-wiki-id="tips:maintenance">必要的每日維護</a></div> </li> <li class="level2"><div class="li"> <a href="/tips" class="wikilink1" title="tips" data-wiki-id="tips">小技巧</a>,尤其是在安裝後做<a href="/tips:tailorwikirules" class="wikilink1" title="tips:tailorwikirules" data-wiki-id="tips:tailorwikirules">最好的練習</a>。</div> </li> </ul> </li> </ul> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[成功了!接下來呢?] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="成功了_接下來呢" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="5343-6192" /><button type="submit" title="成功了!接下來呢?">編輯此段</button></div></form></div> <h2 class="sectionedit9" id="它動不了_問題排除">它動不了!問題排除</h2> <div class="level2"> <p> 如果你在安裝 DokuWiki 的時候遇到了問題,而且你也仔細地檢查了上面的每個步驟的話: </p> <ul> <li class="level1"><div class="li"> 再次<a href="http://download.dokuwiki.org/" class="urlextern" title="http://download.dokuwiki.org/">下載檔案</a>確保你已經完整的下載了檔案。</div> </li> <li class="level1"><div class="li"> 再次上傳檔案 - <abbr title="File Transfer Protocol">FTP</abbr> 傳檔失敗通常是問題發生的原因。上傳 .zip 檔後在伺服器上解開會比上傳每個檔案來得可靠。</div> </li> <li class="level1"><div class="li"> 再三確認 <a href="/install:permissions" class="wikilink1" title="install:permissions" data-wiki-id="install:permissions">檔案及資料夾的權限</a> - 這<strong>常常</strong>是問題發生的原因。</div> </li> <li class="level1"><div class="li"> 在張貼你的問題到<a href="http://forum.dokuwiki.org/forum/2/" class="urlextern" title="http://forum.dokuwiki.org/forum/2/">安裝討論區</a>之前請先<a href="http://forum.dokuwiki.org/search" class="urlextern" title="http://forum.dokuwiki.org/search">搜尋討論區</a>,看看是不是有類似的問題及解答。</div> </li> </ul> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/zh-tw:install"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1668402985" /><input type="hidden" name="summary" value="[它動不了!問題排除] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="它動不了_問題排除" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="6193-" /><button type="submit" title="它動不了!問題排除">編輯此段</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>zh-tw/install.txt</bdi> · 上一次變更: <time datetime="2022-11-14T06:16:25+0100">2022-11-14 06:16</time> 由 <bdi>Hsins</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">頁面工具</h3> <div class="tools"> <ul> <li class="edit"><a href="/zh-tw:install?do=edit" title="編輯本頁 [e]" rel="nofollow" accesskey="e"><span>編輯本頁</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/zh-tw:install?do=revisions" title="舊版 [o]" rel="nofollow" accesskey="o"><span>舊版</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/zh-tw:install?do=backlink" title="反向連結" rel="nofollow"><span>反向連結</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="回到頁頂 [t]" rel="nofollow" accesskey="t"><span>回到頁頂</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">若無特別註明,本 wiki 上的內容都是採用以下授權方式: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=zh-tw%3Ainstall&1732743021" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>