How do I install MediaWiki?

  1. Complete the CGI Request Form for the account installing MediaWiki, if CGI is not already enabled.

  2. Once CGI is enabled, log into the account on

  3. Note: If you already have a wiki directory in your html directory, rename or delete it before installing MediaWiki.

  4. Run the following command to install MediaWiki (please wait patiently for the script to finish):

  5. Continue the installation by visiting your wiki in a web browser.

    If you have CGI activated on fling, visit (where username is the SEAS account name where you are installing MediaWiki):

    If you have CGI activated on alliance, visit:

  6. Enter the "Site Config" fields as you see fit.

  7. Under "Database Config" choose SQLite as your Database Type (skip the MySQL and Postgres sections). You can leave the name as-is. In the "SQLite data directory" field put:

    /home1/<first inital>/<username>/html/wiki/data

    This example is for the username of victor:

  8. After submitting this information, follow any remaining instructions. At the end, the installer will provide a link to download the "LocalSettings.php" file to your local computer with instructions to "put it in the base of your wiki installation (the same directory as index.php)." You must copy this file to the appropriate location:

    /home1/<first initial>/<username>/html/wiki/LocalSettings.php
  9. Run the following command:

    chmod 700 ~/html/wiki/LocalSettings.php

Your wiki should now be installed. Note that you will need to create accounts for your users before they can edit pages.

© Computing and Educational Technology Services | Contact CETS | 215.898.4707