Saturday, May 25, 2013

About
 I was amazed when i was able to setup my on wiki server in couple of minutes. As a huge fan of wiki way of information exchange i am writing this blog to guide in you own wiki setup.

Why Wiki
How ofter you find Wikipedia in first few result while searching anything on internet.  You know how many server wiki has compare to Google ? its just 7-8 compare to thousands of Google.

You can write your won technical/non technical notes in wiki. you can share with you colleague over web. Multiple people can work on same pate. I guarantee you,  Wikipedia can be game changer for an individual or team if information is shared and updated in wiki style.You can read more about Wikipedia here


Software Required 
Download below installers for windows.

1. WAMP
2. MediaWiki

Installation & Configuration

Wamp
Install WAMP first. WAMP include apache,php and mysql. Wamp default directory in "C:\wamp"

MeidaWiki

Unzip mediawiki and copy files under "C:\wamp\www" for example "C:\wamp\www\mediawiki"
open"http://localhost:8080/mediawiki/index.php" in browser.Note port number 8080 is symbolic you need to give actual port where Apache listen.

Mediawiki will setup itself with few inputs from you when you browse it.

Troubleshooting

1. Apache not starting

Apache by default listen on port 80. If you have IIS on system both might try to use same port which results in failure in WAMP. You can change listen port in "C:\wamp\bin\apache\apache2.2.22\conf\httpd.conf"
search for Listen  keyword, If you find "Listen 80" , Make it something like "Listen 8080"

2. Media wiki Not accessible from network
open "C:\wamp\www\mediawiki\localsettings.php" & change below variable
$wgServer           = "http://computername:8080";

3. Tuning Performance
Usually we enables caching for better performance. There are a lot of article on web i leave this for you :)