Mediawiki

From gr0x0rd
Jump to navigation Jump to search

If you want to run a wiki like this one, you'll need to emerge the mediawiki package.

Before you get started, you may want to check your /etc/portage/package.use file to make sure the xmlreader USE flag is set for the php package, and that the mysql USE flag is set for the mediawiki package. Once you're ready, emerge the package.

$ sudo emerge -av mediawiki

If you've installed mediawiki with the vhosts USE flag, portage will prompt you to run the webapp-config tool to complete the installation.

* To install mediawiki-1.18.2 into a virtual host, run the following command:
* 
*     webapp-config -I -h <host> -d mediawiki mediawiki 1.18.2

The next step is to create a mysql database for your wiki. If you can't remember how to do this, visit the MySQL section.