Believe me or not, thats all it takes from an empty system with all the right software downloaded to a system running on Wiki.
So what do you need ?
- xampp -> http://www.apachefriends.org/download.php?xampp-win32-1.6.6a.zip
- mediawiki -> http://www.mediawiki.org/wiki/Download
So now that you have these, first step is to get xampp up and running…
Extract xampp to your favourite location.
Run ‘XAMPP Control Panel’.
Ensure that under Modules, ‘Apache’ and ‘MySql’ is clicked.This ensures that the apache and MySql is installed as service.
Now, click on “Service” button next “SCM”.
Tick Apache and MySql and clikc OK.
Now head straight to
to see the security status.
First step in this will be to lock down mysql. Head to http://localhost/security/xamppsecurity.php and enter a password for root user for mysql.
Ok now we are almost done with xampp. Now next step is prepare mysql for mediawiki.
Head to http://localhost/phpmyadmin , login with the newly set root password.
user name : wikiuser
Host : localhost
password : password
Leave everything else as default, and hit go at the bottom.
SO now we have added the user. We are almost there for getting the mediawiki ready.
This should cause a sql query window to popup.
Now copy paste this code, (change the password ofc)
CREATE DATABASE wikidb;
GRANT ALL ON wikidb.* to wikiuser@localhost IDENTIFIED BY ‘password’;
SET PASSWORD FOR wikiuser@localhost = OLD_PASSWORD(‘password’);
And hit go
you shouldnt see any errors here…
Now you are ready for putting mediawiki.
Extract the mediawiki.tar.gz to <xampp root>htdocs
So now you should have <xampp>htdocsmediawiki-1.19 (or some other version number)
Rename the <xampp>htdocsmediawiki-1.19 to <xampp>htdocsmediawiki ( Remove the version number)
Now fireup the browser and goto http://localhost/mediawiki
SO you should see a link asking you to setup mediawiki, click it.
These values need to be changed
Database name: <leave it as it is, unless you gave a different db name during ‘CREATE DATABASE wikidb’
DB username: <leave it as it is>
DB password: Must not be blank : password
DB password confirm : password
Tick the ‘Superuser Account’, and enter the password for root. This is the same password you set in xampp security page for mysql.
Leave everything as it is and hit “Install Mediawiki” and watch the fun.
Once this is successful. from windows explorer navigate to <xampp>/htdocs/mediawiki/config/LocalSettings.php to htdocs/mediawiki/LocalSettings.php
Now fire up the browser, and head to http://localhost/mediawiki . Tada! you should be looking at your own wiki.
Done, just one last step.
First head to htdocs folder. Edit the index.php.
replace the line
So there you go, your own Wiki.
A few things worth noting.
- Not the most secure setup.
- you maynot want to use “password” as the password for wikiuser.
- Always protect the MySql with root password.
- Dont forget to have fun 🙂
Detailed instructions for mediawiki –> http://www.mediawiki.org/wiki/Installation
Drop in a word, if you need any clarifiaction 🙂 Will try my best to help you out 😉