How do I install MediaWiki?

Please visit How do I set up a wiki? to learn about other supported options before proceeding.

To install MediaWiki:

  1. Visit the CGI Request Form if CGI has not yet been enabled for the account installing MediaWiki.
  2. Once CGI is enabled, connect to the account on Eniac via the command line.
  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:

    If you have CGI activated on alliance, visit:

    (Where username is the SEAS account name where you are installing MediaWiki.)

  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) and put in a password for the database (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. If you have any questions, please contact CETS.


© Computing and Educational Technology Services | Contact CETS | 215.898.4707