Installing Wikka Wiki: Difference between revisions

Jump to navigation Jump to search
no edit summary
(New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Installing Wikka Wiki |} </div> {| cellpadding...)
 
No edit summary
Line 1: Line 1:
<span id="top"></span>
=[http://otyxemydu.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
<div style="padding:0;margin:0; border-bottom:3px inset #000000">
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
&lt;div style=&quot;padding:0;margin:0; border-bottom:3px inset #000000&quot;&gt;
{|  
{|  
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
Installing Wikka Wiki
Installing Wikka Wiki
|}
|}
</div>
&lt;/div&gt;
{| cellpadding="4"
{| cellpadding=&quot;4&quot;
|
|
__TOC__
__TOC__
Line 28: Line 29:


=== Un-Zip Wikka-1.1.6.2.zip ===
=== Un-Zip Wikka-1.1.6.2.zip ===
{|width="800"
{|width=&quot;800&quot;
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
Download and un-zip. ('''''Note'':''' This is an older version shown only for completeness)
Download and un-zip. ('''''Note'':''' This is an older version shown only for completeness)


{|
{|
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
1&nbsp;
1&amp;nbsp;
|
|
Create a folder named '''temp''', download file '''Wikka-1.1.6.2.zip''' and save it to this folder.
Create a folder named '''temp''', download file '''Wikka-1.1.6.2.zip''' and save it to this folder.
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
2&nbsp;
2&amp;nbsp;
|
|
In Windows XP double click on this file. Select '''Extract all files''' when the wizard starts click '''next''' and  '''next''' again and finally '''finish'''.
In Windows XP double click on this file. Select '''Extract all files''' when the wizard starts click '''next''' and  '''next''' again and finally '''finish'''.
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
3&nbsp;
3&amp;nbsp;
|
|
The process creates a new folder '''Wikka-1.1.6.2''' inside this you will find a folder named '''Wikka''' this contains the script folders and files.
The process creates a new folder '''Wikka-1.1.6.2''' inside this you will find a folder named '''Wikka''' this contains the script folders and files.
Line 57: Line 58:


=== Copy to Uniform Server Root ===
=== Copy to Uniform Server Root ===
{|width="800"
{|width=&quot;800&quot;
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
Copy to correct location. ('''''Note'':''' This is an older version shown only for completeness)
Copy to correct location. ('''''Note'':''' This is an older version shown only for completeness)


{|
{|
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
1&nbsp;
1&amp;nbsp;
|
|
Start Uniform Server. I assume you are using drive W (Substitute the letter you are using).
Start Uniform Server. I assume you are using drive W (Substitute the letter you are using).
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
2&nbsp;
2&amp;nbsp;
|
|
From the above step 3 copy the '''Wikka''' folder and all its contents into the Uniform Server root folder '''WWW'''.
From the above step 3 copy the '''Wikka''' folder and all its contents into the Uniform Server root folder '''WWW'''.
Line 81: Line 82:


=== Un-Zip Wikka-1.1.6.4.zip ===
=== Un-Zip Wikka-1.1.6.4.zip ===
{|width="800"
{|width=&quot;800&quot;
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
Download and un-zip.
Download and un-zip.


{|
{|
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
1&nbsp;
1&amp;nbsp;
|
|
Create a folder named '''temp''', download file '''Wikka-1.1.6.4.zip''' and save it to this folder.
Create a folder named '''temp''', download file '''Wikka-1.1.6.4.zip''' and save it to this folder.
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
2&nbsp;
2&amp;nbsp;
|
|
In Windows XP double click on this file. Select '''Extract all files''' when the wizard starts click '''next''' and  '''next''' again and finally '''finish'''.
In Windows XP double click on this file. Select '''Extract all files''' when the wizard starts click '''next''' and  '''next''' again and finally '''finish'''.
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
3&nbsp;
3&amp;nbsp;
|
|
The process creates a new folder '''Wikka-1.1.6.4''' inside this you will find another one again named '''Wikka-1.1.6.4''' its this folder that contains the script folders and files.
The process creates a new folder '''Wikka-1.1.6.4''' inside this you will find another one again named '''Wikka-1.1.6.4''' its this folder that contains the script folders and files.
Line 110: Line 111:


=== Copy to Uniform Server Root ===
=== Copy to Uniform Server Root ===
{|width="800"
{|width=&quot;800&quot;
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
Copy to correct location.
Copy to correct location.


{|
{|
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
1&nbsp;
1&amp;nbsp;
|
|
Start Uniform Server. I assume you are using drive W (Substitute the letter you are using).
Start Uniform Server. I assume you are using drive W (Substitute the letter you are using).
|-
|-
|valign="top"|
|valign=&quot;top&quot;|
2&nbsp;
2&amp;nbsp;
|
|
From the above step 3 copy the second  '''Wikka-1.1.6.4''' folder and all its contents to the Uniform Server root folder '''WWW'''.
From the above step 3 copy the second  '''Wikka-1.1.6.4''' folder and all its contents to the Uniform Server root folder '''WWW'''.
Line 138: Line 139:
Uniform Server lets you create any number of databases we need to create one named '''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.
'''''Note'':''' If you have closed apanel re-start by typing '''&lt;nowiki&gt;http://localhost/apanel/&lt;/nowiki&gt;''' into your browser address bar.
{|cellpadding="8"
{|cellpadding=&quot;8&quot;
|-
|-
|valign="top" style="background:#f5f5f5;"|
|valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;|
From apanel click on '''phpMyAdmin''' (menu on left) this opens phpMyAdmin in a new browser window.
From apanel click on '''phpMyAdmin''' (menu on left) this opens phpMyAdmin in a new browser window.


{|style="background:#f5f5f5 border:none" cellpadding="0" cellspacing="0"
{|style=&quot;background:#f5f5f5 border:none&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;
|-style="background:#f5f5f5;"
|-style=&quot;background:#f5f5f5;&quot;
|valign="top"|
|valign=&quot;top&quot;|
1&nbsp;
1&amp;nbsp;
|
|
Type the name of your database '''wikka'''
Type the name of your database '''wikka'''
|-style="background:#f5f5f5;"
|-style=&quot;background:#f5f5f5;&quot;
|valign="top"|
|valign=&quot;top&quot;|
2&nbsp;
2&amp;nbsp;
|
|
Click '''Create'''.
Click '''Create'''.
Line 168: Line 169:
Only two steps to go to complete installation:
Only two steps to go to complete installation:


# Start the Wikka installer by typing <nowiki>http://localhost/wikka/</nowiki> into your browser address bar.
# Start the Wikka installer by typing &lt;nowiki&gt;http://localhost/wikka/&lt;/nowiki&gt; into your browser address bar.
# Follow the instructions of the installer.
# Follow the instructions of the installer.


Do not be surprised when you see a message similar to this:
Do not be surprised when you see a message similar to this:


{| cellpadding="8" cellspacing="2" style="background:#ff0000;"
{| cellpadding=&quot;8&quot; cellspacing=&quot;2&quot; style=&quot;background:#ff0000;&quot;
|style="background:#f5f5f5;"|
|style=&quot;background:#f5f5f5;&quot;|
'''Forbidden'''<br>
'''Forbidden'''&lt;br&gt;
You don't have permission to access /wikka/ on this server.<br>
You don't have permission to access /wikka/ on this server.&lt;br&gt;
Apache/2.0.55 (Win32) DAV/2 PHP/5.1.1 Server at localhost Port 80
Apache/2.0.55 (Win32) DAV/2 PHP/5.1.1 Server at localhost Port 80
|}
|}
Line 186: Line 187:
Open file .htaccess located in folder W:\www\Wikka and add the lines shown highlighted in bold:
Open file .htaccess located in folder W:\www\Wikka and add the lines shown highlighted in bold:


{| cellpadding="8" cellspacing="1" style="background:#000000;"
{| cellpadding=&quot;8&quot; cellspacing=&quot;1&quot; style=&quot;background:#000000;&quot;
|style="background:#f5f5f5;"|
|style=&quot;background:#f5f5f5;&quot;|
<IfModule mod_rewrite.c><br>
&lt;IfModule mod_rewrite.c&gt;&lt;br&gt;
&nbsp;&nbsp;'''Options +FollowSymLinks'''<br>
&amp;nbsp;&amp;nbsp;'''Options +FollowSymLinks'''&lt;br&gt;
&nbsp;&nbsp;RewriteEngine on<br>
&amp;nbsp;&amp;nbsp;RewriteEngine on&lt;br&gt;
&nbsp;&nbsp;'''RewriteBase /wikka/'''<br>
&amp;nbsp;&amp;nbsp;'''RewriteBase /wikka/'''&lt;br&gt;
&nbsp;&nbsp;RewriteCond %{REQUEST_FILENAME} -d<br>
&amp;nbsp;&amp;nbsp;RewriteCond %{REQUEST_FILENAME} -d&lt;br&gt;
&nbsp;&nbsp;RewriteRule ^(.*/[^\./]*[^/])$ $1/<br>
&amp;nbsp;&amp;nbsp;RewriteRule ^(.*/[^\./]*[^/])$ $1/&lt;br&gt;
&nbsp;&nbsp;RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]<br>
&amp;nbsp;&amp;nbsp;RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]&lt;br&gt;
</IfModule>
&lt;/IfModule&gt;
|}
|}


Line 202: Line 203:
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
== Installation Single Page form ==
== Installation Single Page form ==
After making the above modification, refresh page or re-type '''<nowiki>http://localhost/wikka/</nowiki>''' into your browser address bar.
After making the above modification, refresh page or re-type '''&lt;nowiki&gt;http://localhost/wikka/&lt;/nowiki&gt;''' 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.
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.


{|cellpadding="2"
{|cellpadding=&quot;2&quot;
|-style="background:#cccccc"
|-style=&quot;background:#cccccc&quot;
!Field Name
!Field Name
!Values
!Values
!Comments
!Comments
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|'''Database Configuration'''|| ||
|'''Database Configuration'''|| ||
|-style="background:#f7f7f7"    
|-style=&quot;background:#f7f7f7&quot;    
|MySQL host:||localhost||   
|MySQL host:||localhost||   
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|MySQL database:||wikka|| 
|MySQL database:||wikka|| 
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|MySQL user name ||'''root'''||   
|MySQL user name ||'''root'''||   
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|MySQL password:||'''root''' || Read this [[Home Web Server: Security |security check list]] before going live
|MySQL password:||'''root''' || Read this [[Home Web Server: Security |security check list]] before going live
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Table prefix:||wikka_ ||
|Table prefix:||wikka_ ||
|-style="background:#e7e7e7"
|-style=&quot;background:#e7e7e7&quot;
|'''Wikka Site Configuration'''|| || 
|'''Wikka Site Configuration'''|| || 
|- style="background:#f7f7f7"  
|- style=&quot;background:#f7f7f7&quot;  
|Your Wikka site's name:||'''Max International'''||You can use spaces
|Your Wikka site's name:||'''Max International'''||You can use spaces
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Home page:||'''H'''ome'''P'''age||No spaces use capitals as shown (Wiki convention)
|Home page:||'''H'''ome'''P'''age||No spaces use capitals as shown (Wiki convention)
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Your Wiki suffix:||@wikka|| ||   
|Your Wiki suffix:||@wikka|| ||   
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Meta Keywords: ||'''test''','''suppot''','''pub'''||Used by search engines separate with commas
|Meta Keywords: ||'''test''','''suppot''','''pub'''||Used by search engines separate with commas
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Meta Description: ||'''My site is the best'''||Short description of your site
|Meta Description: ||'''My site is the best'''||Short description of your site
|-style="background:#e7e7e7"
|-style=&quot;background:#e7e7e7&quot;
|'''Syntax Highlighting'''|| ||
|'''Syntax Highlighting'''|| ||
|- style="background:#f7f7f7"  
|- style=&quot;background:#f7f7f7&quot;  
|GeSHi path:|| 3rdparty/plugins/geshi||
|GeSHi path:|| 3rdparty/plugins/geshi||
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|GeSHi language files path:||3rdparty/plugins/geshi/geshi||
|GeSHi language files path:||3rdparty/plugins/geshi/geshi||
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|Code wrapper (div or pre):||div|| 
|Code wrapper (div or pre):||div|| 
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|Disable line numbers|| 1 ||
|Disable line numbers|| 1 ||
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|Tab width: ||4 ||  
|Tab width: ||4 ||  
|-style="background:#e7e7e7"
|-style=&quot;background:#e7e7e7&quot;
|'''Administrative Account Config'''|| ||
|'''Administrative Account Config'''|| ||
|- style="background:#f7f7f7"  
|- style=&quot;background:#f7f7f7&quot;  
|Admin name:||'''JohnSmith'''||No spaces use capitals (Wiki convention)
|Admin name:||'''JohnSmith'''||No spaces use capitals (Wiki convention)
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Enter password:||'''abc123'''||Use real password
|Enter password:||'''abc123'''||Use real password
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Confirm password:||'''abc123'''||  
|Confirm password:||'''abc123'''||  
|-style="background:#f7f7f7"
|-style=&quot;background:#f7f7f7&quot;
|Email:||'''smith@fred.com'''||Use real email
|Email:||'''smith@fred.com'''||Use real email
|-style="background:#e7e7e7"
|-style=&quot;background:#e7e7e7&quot;
|'''Wikka URL Configuration'''|| ||  
|'''Wikka URL Configuration'''|| ||  
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|Base URL:||<nowiki>http://localhost/wikka/</nowiki>||
|Base URL:||&lt;nowiki&gt;http://localhost/wikka/&lt;/nowiki&gt;||
|- style="background:#f7f7f7"
|- style=&quot;background:#f7f7f7&quot;
|Rewrite mode:||ticked [Enabled]||   
|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:
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>
&lt;pre&gt;
  That's all! You can now return to your Wikka site. However, you are
  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
  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!  
  been written. Leaving the file writable can be a security risk!  
</pre>
&lt;/pre&gt;


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
== Running Wikka Wiki ==
== 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'''.
Run Wikka Wiki by typing '''&lt;nowiki&gt;http://localhost/wikka/&lt;/nowiki&gt;''' or '''&lt;nowiki&gt;localhost/wikka/&lt;/nowiki&gt;''' into your browser address bar. Your site index page is displayed note the site title '''Max Internation'''.
{|
{|
|-
|-
Line 288: Line 289:
|-
|-
|
|
<ol start="5">
&lt;ol start=&quot;5&quot;&gt;
<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.
&lt;li&gt; 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:
&lt;li&gt; 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>
&lt;/ol&gt;
::* The page is stored in MySQL database.
::* The page is stored in MySQL database.
::* The links (MyPage1 and MyPage2) are created.
::* The links (MyPage1 and MyPage2) are created.
Line 305: Line 306:
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.
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>'''.
Suppose your web server URL is '''&lt;nowiki&gt;http://www.me.gotdns.com&lt;/nowiki&gt;''' the Wikka base URL becomes '''&lt;nowiki&gt;http://www.me.gotdns.com/wikka/&lt;/nowiki&gt;'''.


Open file '''wikka.config.php''' located in folder '''Wikka''' replace the highlighted line below with your own URL:
Open file '''wikka.config.php''' located in folder '''Wikka''' replace the highlighted line below with your own URL:


{| cellpadding="8" cellspacing="1" style="background:#000000;"
{| cellpadding=&quot;8&quot; cellspacing=&quot;1&quot; style=&quot;background:#000000;&quot;
|style="background:#f5f5f5;"|
|style=&quot;background:#f5f5f5;&quot;|
<?php
&lt;?php
// wikka.config.php written at 06/15/08 19:59:25<br>
// wikka.config.php written at 06/15/08 19:59:25&lt;br&gt;
// do not change wikka_version manually!
// do not change wikka_version manually!


$wakkaConfig = array(<br>
$wakkaConfig = array(&lt;br&gt;
&nbsp;&nbsp;'mysql_host' => 'localhost',<br>
&amp;nbsp;&amp;nbsp;'mysql_host' =&gt; 'localhost',&lt;br&gt;
&nbsp;&nbsp;'mysql_database' => 'wikka',<br>
&amp;nbsp;&amp;nbsp;'mysql_database' =&gt; 'wikka',&lt;br&gt;
&nbsp;&nbsp;'mysql_user' => 'root',<br>
&amp;nbsp;&amp;nbsp;'mysql_user' =&gt; 'root',&lt;br&gt;
&nbsp;&nbsp;'table_prefix' => 'wikka_',<br>
&amp;nbsp;&amp;nbsp;'table_prefix' =&gt; 'wikka_',&lt;br&gt;
&nbsp;&nbsp;'root_page' => 'HomePage',<br>
&amp;nbsp;&amp;nbsp;'root_page' =&gt; 'HomePage',&lt;br&gt;
&nbsp;&nbsp;'wakka_name' => 'Max International',<br>
&amp;nbsp;&amp;nbsp;'wakka_name' =&gt; 'Max International',&lt;br&gt;
&nbsp;&nbsp;'base_url' => ''''<nowiki>http://www.me.gotdns.com/wikka/</nowiki>'''',<br>
&amp;nbsp;&amp;nbsp;'base_url' =&gt; ''''&lt;nowiki&gt;http://www.me.gotdns.com/wikka/&lt;/nowiki&gt;'''',&lt;br&gt;
&nbsp;&nbsp;'rewrite_mode' => '1',<br>
&amp;nbsp;&amp;nbsp;'rewrite_mode' =&gt; '1',&lt;br&gt;
&nbsp;&nbsp;'wiki_suffix' => '@wikka',<br>
&amp;nbsp;&amp;nbsp;'wiki_suffix' =&gt; '@wikka',&lt;br&gt;
&nbsp;&nbsp;'action_path' => 'actions',<br>
&amp;nbsp;&amp;nbsp;'action_path' =&gt; 'actions',&lt;br&gt;
......<br>
......&lt;br&gt;
......  
......  
|}
|}
322

edits

Navigation menu