|
|
MindTouch OpenGarden > Deki Wiki > インストールとアップグレード > 1.8 Hayes Official Install and Upgrade Guide > Windows
WindowsFrom $1目次Notes on installing Deki Wiki Hayes on Windows (including Vista). Prerequisites
MySQL InstallationDownload the MySQL Win32 Installer Edit your my.ini file: C:\Program Files\MySQL\MySQL Server 5.0\my.ini Make sure you DO NOT have # Set the SQL mode to strict #sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" sql-mode="NO_ENGINE_SUBSTITUTION" Restart MySQL: Apache InstallationDownload the Apache 2.2 Win32 installer PHP InstallationDownload PHP5 for Win32 (installer) Make sure to choose "Apache 2.2.x Module" in the installer On the "Choose Items to Install" screen, make sure the following extensions are enabled
Extras:
Edit C:\Program Files\PHP\php.ini set the following values:
.NET 2.0 RuntimeMake sure you have the Microsoft .NET 2.0 framework installed Download Deki Wiki HayesDownload the latest Deki Wiki Source Release Extract the archive to: c:\deki-hayes\ Copy file mono.posix.dll from C:\deki-hayes\src\redist in c:\deki-hayes\web\bin Apache ConfigurationEdit your httpd.conf file: C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf Enable PHP5 LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll" Enable the following additional modules: LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so Create a VirtualHost like: <VirtualHost *>
DocumentRoot "c:/deki-hayes/web"
ServerName deki-hayes
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php?title= [L,NE]
RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config)/
RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php
RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !/favicon.ico
RewriteCond %{REQUEST_URI} !/robots.txt
RewriteCond %{REQUEST_URI} !/dummy.php
RewriteCond %{REQUEST_URI} !/phpinfo.php
RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]
ProxyPass /@api http://localhost:8081 retry=1
ProxyPassReverse /@api http://localhost:8081
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
AllowEncodedSlashes On
</VirtualHost> If you running Windows XP please take note of the following: Inside httpd.conf please make sure you have the following line in red: <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from all # Satisfy all </Directory> I spent about an hour trying to figure out why I kept getting 403 Forbidden errors. From messing with .htaccess files to uncommenting everything in the httpd.conf - Mike Restart apache2 to load the new configuration. InstallationBefore open http://deki-hayes add in file c:\WINDOWS\system32\drivers\etc\hosts following line: 127.0.0.1 deki-hayes To install Deki Wiki, launch a web browser and access the Web Installer by and go to the URL of your Deki. Example: http://deki-hayes/ If you get an error saying the following: If you get an error saying the following: Else Continue: 2) In the "Advanced Configuration" specify the location of the ImageMagick convert.exe and identify.exe binaries ImageMagick convert: C:\Program Files\ImageMagick-6.3.5-Q16\convert.exe ImageMagick identify: C:\Program Files\ImageMagick-6.3.5-Q16\identify.exe Click "Install Deki Wiki" You should see a confirmation screen like this:
Open up a command prompt: Start >> Run >> cmd.exe Run the additional commands as specified by the installer. Important: after you execute the last command, mindtouch.host.bat, leave the cmd window open so the batch file (and the exe file it calls) can keep running. If you close that window, various servers Deki requires aren't running, and you can't use the wiki. Then click the link to access your wiki! If you get the following error:
Its because of the .NET framework. mono-1.2.4-gtksharp-2.8.3-win32-3.exe didn't work for me and I eventually had to uninstall mono and install the framework :) -Mike
タグ:
|
This page's contents could not be loaded.".
How I should do, please explain step by step.
Thanks.
With mono :
Add in mindtouch.host.bat :
set CMD=mono C:\deki-hayes\web\bin\mindtouch.host.exe ...
All work fine !
(C:\PROGRA~1\MONO-1~1.1\bin; in path) 2007年 9月 27日, 17:26に編集
I can't seem to install "html2ps" and "ps2pdf" in a usable form for deki-wiki
I found the mbstring extension listed as "Multi-Byte String". Also, mime_magic was listed as "mimetypec". With those extensions selected, I had no issues with an automated install.
I didn't find any path info for mime_magic, but install was clean and ran fine without that change. Anybody have a more detailed set of instructions for the mime_magic path?
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/installpath/php"
Otherwise php was not interpreting the target and showed only the text of the php file. After this I at least have the directory listing and .php files are interpreted
I tried to setup Dekiwiki by this howto. The how to is great but, I have a Problem my Dekiwiki cals "Your wiki is downArgh, sorry! We're experiencing some technical problems right now. An administrator has been notified and will restore your wiki as soon as possible. Thanks for your patience!
"
If I comment the "proxy_http_module" in the apache conf the wiki says "Permission denied...". ??
What should I do?