両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン |
wiki:install [2005/11/29 21:18] – osamu | wiki:install [2007/07/23 16:50] – 外部編集 127.0.0.1 |
---|
* 誰でもページを読め、編集でき、作成できる状態になっています([[acl#Permissionlevels]]参照) | * 誰でもページを読め、編集でき、作成できる状態になっています([[acl#Permissionlevels]]参照) |
* FIXME (上記の『ディレクトリやファイルがない』という問題は将来の新しいバージョンでは修正したいと思っています。提案:必要な空のファイルとディレクトリをあらかじめアーカイブファイルの中に入れておく。可能か?あるいは、スペース1つだけが入ったファイルを入れる? | * FIXME (上記の『ディレクトリやファイルがない』という問題は将来の新しいバージョンでは修正したいと思っています。提案:必要な空のファイルとディレクトリをあらかじめアーカイブファイルの中に入れておく。可能か?あるいは、スペース1つだけが入ったファイルを入れる? |
| |
| |
| |
===== Linux/UnixとApache一般 ===== | ===== Linux/UnixとApache一般 ===== |
===== Windows ===== | ===== Windows ===== |
| |
==== With Apache ==== | |
| |
This is for people who want to use DokuWiki on their Desktop-Machine | ==== Windows版Apache ==== |
| |
* Make sure you have Apache and PHP installed ((The easiest way to do this is using an installer package like [[http://www.uniformserver.com/index.php|Uniserver]], [[http://www.apachefriends.org/en/xampp-windows.html|XAMPP]], [[http://www.appservnetwork.com/|AppServ]], [[http://www.easyphp.org|EasyPHP]] or [[http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/|any other available]])) | デスクトップ機でDokuWikiを動作させたい方向け |
* Unpack the tarball using a tool like [[http://www.winzip.com|WinZIP]] or the opensource file archiver [[http://www.7-zip.org|7-Zip]]. See File extraction details [[install#File Extraction|below]]. | |
* move the ''dokuwiki-YYYY-MM-DD'' directory to somewhere below your new webserver documentroot eg. ''c:\xampp\htdocs\'' and rename it to ''dokuwiki'' | |
* in the ''dokuwiki/data/'' directory create a new empty file named ''changes.log'' (rightclick and select new -> Textfile, then rename the file) | |
* edit the ''dokuwiki.php'' file in the ''conf'' directory to configure your Wiki (see [[config]]) or (better) create a new ''conf/local.php'' file containing those lines from ''dokuwiki.php'', which you want to change. This way your changes are preserved when overwriting the ''dokuwiki.php'' with a new release. | |
* Your new Wiki should be available at %%http://127.0.0.1/dokuwiki/doku.php%% | |
| |
Sometimes, you might require to create a attic/ directory under data dir. Thanks to oak to help me out with this. | * ApacheとPHPをインストールしてください ((インストーラーのパッケージが各種配布されていますので、それを使うのが簡単です。[[http://www.uniformserver.com/index.php|Uniserver]], [[http://www.apachefriends.org/en/xampp-windows.html|XAMPP]], [[http://www.appservnetwork.com/|AppServ]], [[http://www.easyphp.org|EasyPHP]] or [[http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/|any other available]])) |
| * DokuWikiのtarボールのファイルを[[http://www.winzip.com|WinZIP]]やオープンソースの展開ソフト[[http://www.7-zip.org|7-Zip]]などのツールで展開します。ファイルの展開方法についての詳しい説明は[[install#File Extraction|後述]]。 |
| * ''dokuwiki-YYYY-MM-DD''ディレクトリを、インストールしたWebサーバーのドキュメントルート(例:''c:\xampp\htdocs\'')の下のどこかに移動し、名前を''dokuwiki''に変更します |
| * ''dokuwiki/data/''ディレクトリの中に''changes.log''という名前の空のファイルを作ります(右クリックしてから、新規作成 -> テキスト ドキュメント。その後できたファイルの名前を変更)。 |
| * ''conf''ディレクトリの中の''dokuwiki.php''ファイルを編集してDokuWikiの設定を変更する([[config]]参照)か、''conf/local.php''という新しいファイルを作り、''dokuwiki.php''の中の変更したい行だけを抜き出したものをその中に記入します。後者の方法は新しいバージョンのDokuWikiを上書きインストールしたときに''dokuwiki.php''が書き換わっても、あなたが変更した設定はそのまま残りますので、お薦めです。 |
| * %%http://127.0.0.1/dokuwiki/doku.php%%であなたのWikiが見えるはずです。 |
| |
> In the last version (2005-07-01) you have to create those directories too : data/cache, data/meta, data/locks. | ''data''ディレクトリの中に''attic''というディレクトリを作らないといけない場合もあるようです。同様に、場合によっては''data/cache''、''data/meta''、''data/locks''というディレクトリも手動で作る必要があります。 |
| |
==== With IIS ==== | ==== IIS ==== |
| |
This is for people who want to use DokuWiki on a Windows machine with IIS webserver (Windows 2000, Windows XP or Windows Server 2003) | IISが使えるWindows機(Windows 2000、Windows XP、Windows Server 2003)でDokuWikiを使いたい方向けz |
| |
* Make sure you have PHP installed. See the [[http://www.php.net|PHP site]] for installers or complete packages. PHP can run either as CGI-application or as an ISAPI extension. | * PHPをインストールしてください。[[http://www.php.net|PHPのサイト]]にインストールプログラムやパッケージについての説明があります。 PHPはCGIプログラムとして動かすことも、ISAPI拡張プログラムとして動かすこともできます。 |
* Unzip the DokuWiki archive using a tool like [[http://www.winzip.com|WinZIP]] or the opensource file archiver [[http://www.7-zip.org|7-Zip]]. See File extraction details [[install#File Extraction|below]]. | * DokuWikiのtarボールのファイルを[[http://www.winzip.com|WinZIP]]やオープンソースの展開ソフト[[http://www.7-zip.org|7-Zip]]などのツールで展開します。ファイルの展開方法についての詳しい説明は[[install#File Extraction|後述]]。 |
* Rename the ''dokuwiki-YYYY-MM-DD'' directory to ''dokuwiki'' and move it to | * ''dokuwiki-YYYY-MM-DD''ディレクトリの名前を''dokuwiki''に変更して、次のどこかに移動します |
* somewhere below your new webserver documentroot, e.g. ''c:\inetpub\dokuwiki'' | * Webサーバーのドキュメントルート(例:''c:\inetpub\dokuwiki'')の下のどこかに移動します |
* any other location on your machine, and make sure to setup a Virtual Directory mapping to that location | * その他、どこか任意の場所に移動して、そのディレクトリにバーチャルディレクトリをマッピングします |
* In the ''dokuwiki/data/'' directory create a new empty file named ''changes.log'', and create the folders attic/, meta/, locks/ and cache/ | * In the ''dokuwiki/data/'' directory create a new empty file named ''changes.log'', and create the folders attic/, meta/, locks/ and cache/ |
* Edit the ''dokuwiki.php'' file in the ''conf'' directory to configure your Wiki (see [[config]]) or (better) create a new ''conf/local.php'' file containing those lines from ''dokuwiki.php'', which you want to change. This way your changes are preserved when overwriting the ''dokuwiki.php'' with a new release. | * Edit the ''dokuwiki.php'' file in the ''conf'' directory to configure your Wiki (see [[config]]) or (better) create a new ''conf/local.php'' file containing those lines from ''dokuwiki.php'', which you want to change. This way your changes are preserved when overwriting the ''dokuwiki.php'' with a new release. |
| |
[[alternativeupgradedetail | Example of everything needed for this]] | [[alternativeupgradedetail | Example of everything needed for this]] |
| |
| |
| |
====== 動いた ― 次はどうすればいい? ====== | ====== 動いた ― 次はどうすればいい? ====== |
無事すべての設定が終わって動き始めたら、次にやるべきことは次のとおりです。 | 無事すべての設定が終わって動き始めたら、次にやるべきことは次のとおりです。 |
| |
* Check the [[security]] page for hotfixes | * セキュリティ対策のパッチが出ていないか、[[doku>security]]のページを確認します |
* Consider enabling [[http://wiki.splitbrain.org/wiki:tips:modrewrite|modrewrite]] | * [[http://wiki.splitbrain.org/wiki:tips:modrewrite|modrewrite]]を使うかどうかを決めます |
* Choose a license for your content -- edit the ''footer.html'' inside the dokuwiki/lib/tpl/default folder to represent the appropriate license: | * 自分が作るコンテンツのライセンスポリシーを決めます -- 選んだライセンスポリシーに合わせて/dokuwiki/lib/tpl/defaultディレクトリの''footer.html''を変更します |
* [[http://creativecommons.org/licenses/by-nc-sa/2.0/|Creative Commons Attribution-NonCommercial-ShareAlike License]] (included by default) | * [[http://creativecommons.org/licenses/by-nc-sa/2.0/|Creative Commons Attribution-NonCommercial-ShareAlike License]](既定の設定はこれ) |
* [[http://www.gnu.org/copyleft/fdl.html|GNU Free Documentation License]] | * [[http://www.gnu.org/copyleft/fdl.html|GNU Free Documentation License]] |
* If using [[http://www.apache.org/httpd|Apache]], enable URL rewriting in ''.htaccess'' and set the appropriate config file option. | * [[http://www.apache.org/httpd|Apache]]を使っている場合は、''.htaccess''のURL書き換え(URL rewrite)オプションを有効にして、設定ファイル(''/conf/dokuwiki.php''または''/conf/local.php'')もURL書き換えを利用するように修正します |
* Change the ''style.css'' to your own ideas | * お好みに合わせて''/lib/tpl/default''ディレクトリの中の''design.css''と''layout.css''を修正します |
* Enter a few words how and where you use [[DokuWiki]] in the [[users|userpage]] | * Enter a few words how and where you use [[DokuWiki]] in the [[users|userpage]] |
* [[http://freshmeat.net/subscribe/48181/|subscribe]] to DokuWiki at [[http://www.freshmeat.net|freshmeat.net]] to stay informed of updates and get a mail whenever a security problem is encountered. | * [[http://freshmeat.net/subscribe/48181/|subscribe]] to DokuWiki at [[http://www.freshmeat.net|freshmeat.net]] to stay informed of updates and get a mail whenever a security problem is encountered. |