Installing Wikka Wiki
UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY
<span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000">
Installing Wikka Wiki |
</div>
Uniform Server 3.5-Apollo. |
Wikka Wiki is a flexible, standards-compliant and lightweight wiki engine written in PHP, uses MySQL server to store pages. Easy to install on either a test or live server the latest release runs smoothly on Uniform Server. The following step-by-step guide will have you up and running in no time.
Wikka Wiki Download
The latest stable version (Wikka-1.1.6.4) can be found on the home page Wikka Wiki
Archived versions can be found at their download site.
They offer several compressed file formats I will use the .zip version in this tutorial.
Interestingly I noticed a subtle folder name change in uncompressed versions; for completeness I have included uncompressing versions Wikka-1.1.6.2.zip and Wikka-1.1.6.4.zip. Installation remains unchanged.
Always download and install the latest version especially if it contain security fixes.
Preperation
Un-Zip Wikka-1.1.6.2.zip
Download and un-zip. (Note: This is an older version shown only for completeness)
|
Copy to Uniform Server Root
Copy to correct location. (Note: This is an older version shown only for completeness)
|
Un-Zip Wikka-1.1.6.4.zip
Download and un-zip.
|
Copy to Uniform Server Root
Copy to correct location.
|
Create a database for Wikka
Uniform Server lets you create any number of databases we need to create one named wikka.
Note: If you have closed apanel re-start by typing <nowiki>http://localhost/apanel/</nowiki> into your browser address bar.
From apanel click on phpMyAdmin (menu on left) this opens phpMyAdmin in a new browser window.
|
That completes the preparation.
Note: During installation I will assume you are using Uniform Server defaults for the database, User Name = root and Password = root.
Installing Wikka
Only two steps to go to complete installation:
- Start the Wikka installer by typing <nowiki>http://localhost/wikka/</nowiki> into your browser address bar.
- Follow the instructions of the installer.
Do not be surprised when you see a message similar to this:
Forbidden<br> You don't have permission to access /wikka/ on this server.<br> Apache/2.0.55 (Win32) DAV/2 PHP/5.1.1 Server at localhost Port 80 |
Open .htaccess
The forbidden error occurs because an additional two lines are required in Wikka .htaccess file.
Open file .htaccess located in folder W:\www\Wikka and add the lines shown highlighted in bold:
<IfModule mod_rewrite.c><br> Options +FollowSymLinks<br> RewriteEngine on<br> RewriteBase /wikka/<br> RewriteCond %{REQUEST_FILENAME} -d<br> RewriteRule ^(.*/[^\./]*[^/])$ $1/<br> RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]<br> </IfModule> |
First line informs Apache to follow the newly created link names. Second line forces a base address (strictly not be required).
Installation Single Page form
After making the above modification, refresh page or re-type <nowiki>http://localhost/wikka/</nowiki> into your browser address bar.
Installation consists of filling in a single form reproduced here with comments. The values highlighted either need entering or changing all other values leave as default.
Field Name | Values | Comments | |
---|---|---|---|
Database Configuration | |||
MySQL host: | localhost | ||
MySQL database: | wikka | ||
MySQL user name | root | ||
MySQL password: | root | Read this security check list before going live | |
Table prefix: | wikka_ | ||
Wikka Site Configuration | |||
Your Wikka site's name: | Max International | You can use spaces | |
Home page: | HomePage | No spaces use capitals as shown (Wiki convention) | |
Your Wiki suffix: | @wikka | ||
Meta Keywords: | test,suppot,pub | Used by search engines separate with commas | |
Meta Description: | My site is the best | Short description of your site | |
Syntax Highlighting | |||
GeSHi path: | 3rdparty/plugins/geshi | ||
GeSHi language files path: | 3rdparty/plugins/geshi/geshi | ||
Code wrapper (div or pre): | div | ||
Disable line numbers | 1 | ||
Tab width: | 4 | ||
Administrative Account Config | |||
Admin name: | JohnSmith | No spaces use capitals (Wiki convention) | |
Enter password: | abc123 | Use real password | |
Confirm password: | abc123 | ||
Email: | smith@fred.com | Use real email | |
Wikka URL Configuration | |||
Base URL: | <nowiki>http://localhost/wikka/</nowiki> | ||
Rewrite mode: | ticked [Enabled] |
During installation a checklist is displayed make sure OK is assigned to each result. On success you will be presented with the following message: <pre>
That's all! You can now return to your Wikka site. However, you are advised to remove write access to wikka.config.php again now that it's been written. Leaving the file writable can be a security risk!
</pre>
Running Wikka Wiki
Run Wikka Wiki by typing <nowiki>http://localhost/wikka/</nowiki> or <nowiki>localhost/wikka/</nowiki> into your browser address bar. Your site index page is displayed note the site title Max Internation.
|
<ol start="5"> <li> Type your page content and any special codes into this area. I am going to create two links that take you to MyPage1 or MyPage2. Note Wiki naming convention for the links it is important. <li> When you have finished adding your content click on Preview (7) to view the page. To save the page click on Stote (6). Doing this performs a number of function: </ol>
|
Note: Once a page is created (or already exists) clicking on it's link name opens it, you can then view the page or edit it's content.
Going Live
The above test installation allows you to test Wikka Wiki and become familiar with its operation. Putting it online from your home web server requires changing the base URL in the configuration file.
Suppose your web server URL is <nowiki>http://www.me.gotdns.com</nowiki> the Wikka base URL becomes <nowiki>http://www.me.gotdns.com/wikka/</nowiki>.
Open file wikka.config.php located in folder Wikka replace the highlighted line below with your own URL:
<?php // wikka.config.php written at 06/15/08 19:59:25<br> // do not change wikka_version manually! $wakkaConfig = array(<br> 'mysql_host' => 'localhost',<br> 'mysql_database' => 'wikka',<br> 'mysql_user' => 'root',<br> 'table_prefix' => 'wikka_',<br> 'root_page' => 'HomePage',<br> 'wakka_name' => 'Max International',<br> 'base_url' => '<nowiki>http://www.me.gotdns.com/wikka/</nowiki>',<br> 'rewrite_mode' => '1',<br> 'wiki_suffix' => '@wikka',<br> 'action_path' => 'actions',<br> ......<br> ...... |
Portability
Copy folder Uniform Server and all its content to a USB stick and your Wikka Wiki is ready to use.
Problems
Other than adding the two lines to .htaccess as explained above no other problem were encountered.
Conclusion
Nothing more to say other than enjoy.
Ric |