Basic MediaWiki Setup

From Zanecorpwiki

Jump to: navigation, search
  1. determine where the wiki is to be deployed; set up a host, a webserver, and domain as necessary (TODO: provide references)
  2. for many reasons, one really should set up HTTPS access for the domain (TODO: provide reference)
  3. download the latest version, get a previous version, or grab a copy from your third party repository
  4. move the tar ball to the installation directory in the site's physical hierarchy, untar and move everything; this will create a 'mediawiki-X.X' directory, 'mv mediawiki-*/* .' to get the files in the install location
  5. make the configuration directory writable with 'chmod a+w config/'
  6. hit the wiki through a web browser, this will bring up a page with a link to the configuration
  7. go through and answer the questions (TODO: provide more guidance)
    1. WikiSysop is the standard administrator account for wikis, it is recommended to either keep this or establish a clear policy of what the admin for your wikis is called; in any case, use a strong password for this account
    2. even though wiki and PHP has traditionally been associated with MySQL, it is highly recommended that you use postgres if at all possible (TODO: provide references for why and cookbooks for both)
  8. submit and verify that everything goes okay
  9. back on the host and from the wiki install directory, 'mv config/LocalSettings.php .; rm -rf config/'

You now have a basic wiki. Anyone can edit any page or create an account on the system.

Note, at the point that the config directory is made writable, it becomes possible that an attacker who knew you might be setting up a wiki could cause problems. If this is a concern, you can lock down access to the virtual host to IPs or employ HTTP authentication. (TODO: provide references)

For standard/useful extensions, see:

Personal tools