This document describes how to configure a wiki on Elemental Linux Server (ELS) using MediaWiki wiki software with a SQLite3 database.
These instructions assume that you have a working PHP-enabled web server and a working email system. If you do not, see the ELS Howto: Apache and PHP and the ELS Howto: Remote Mail before beginning this document.
You may also want to install the imagemagick package from the 'Additional Applications' CD-ROM.
Installation instructions for MediaWiki are available on the MediaWiki web site. This document will guide you through the specifics of installing it with the SQLite3 database tools bundled with ELS.
The following example shows how you would install MediaWiki if your web server document root were /home/httpd and your SQLite databases were stored in /home/sqlite.
cd /home/httpd wget http://download.wikimedia.org/mediawiki/1.19/mediawiki-1.19.2.tar.gz tar --no-same-owner -zxf mediawiki-1.19.2.tar.gz ln -s mediawiki-1.19.2 wiki mkdir /home/sqlite chown daemon /home/sqlite
Configuration of MediaWiki is done through a web browser interface and is most easily performed from a client workstation with a graphical browser.
The following example show the settings for a database called 'mediawiki' that is stored in the /home/sqlite directory.
SQLite data directory: /home/sqlite Database name: mediawiki
Testing of the configuration is done as you follow the web-based install procedure and possible remedies to common errors are displayed in the browser. However there are a few things that can be checked if you cannot access the MediaWiki configuration page.
For additional help with installation and configuration, please refer to the MediaWiki home page.