MediaWiki is an web based Wiki software written in the PHP language. It can either use MySQL or PostgreSQL Database Management System.


Before installing MediaWiki you should also install Apache2, the PHP5 scripting language and Database a Management System. MySQL or PostgreSQL are the most common, choose one depending on your need. Please refer to those sections in this manual for installation instructions.

To install MediaWiki, run the following command in the command prompt:

sudo apt-get install mediawiki php5-gd

For additional MediaWiki functionality see the mediawiki-extensions package.


Run the following commands to configure MediaWiki:

sudo ln -s /var/lib/mediawiki /var/www/mediawiki

Point your web browser to the following URL for MediaWiki setup:


Please read the “Checking environment...” section in this page. You should be able to fix many issues by carefully reading this section.