Install MediaWiki

Revision as of 03:16, 18 January 2017 by Kipkis (Kipkis | contribs) (importing article from wikihow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Ever wanted to start your own wiki? This page guides you through the process of installing the latest stable version of MediaWiki software, the powerful, widely used wiki platform that powers Wikipedia, wikiHow, and many other wiki projects.

Steps

Local Server

  1. Install web server software, if you haven't already.
  2. Download MediaWiki to your local computer.
  3. Uncompress the files into the root directory of your website (not in a subdirectory).
  4. Rename the unzipped directory to the name you want to appear in the URL (for example, name it "wiki" if you want the URL http://example.com/wiki/).
  5. CHMOD the permission settings for the "config" subdirectory to 770, so that it is writable by the web server (Linux only).
  6. Go to the the directory in your web browser (e.g. http://localhost/wiki/).
  7. Click the link to begin configuring.
  8. Fill out the form, following the instructions.
    • Enter a name for the database, database user and password.
    • Select "use superuser account" if the database and database user do not already exist (no need to change superuser name or password).
  9. Complete the installation.
  10. Move the LocalSettings.php from the config directory to the wiki's root directory (e.g. wiki).

Hosted Server

  1. If you know the root password for your MySQL server, the MediaWiki setup script can automatically create a database and an account to access it. Skip to the "Run the installation script" section below.
  2. If you don't know the root password for your MySQL server, you need to create a MySQL database and a user before installing MediaWiki. You can do this using various control panels such as [1]. See the corresponding documentation. Most web hosting services provide a MySQL database along with your hosting account. If that is the case, use the MySQL credentials provided by your host along with the database name, and then specify something like mw_ as table prefix. This will allow MediaWiki to tell what tables belong to it. Alternatively, ask your hosting service to create an account for, then proceed as above.

Warnings

  • Trying to install some software may be in violation of your host's terms of service. Read your agreement with the hosting service, and ask your system administrator for permission before you install software on the server.

Sources and Citations

Related Articles

  • Persuade Someone to Write on wikiHow
  • Add to an Existing Wikipedia Article
  • Get More out of wikiHow
  • Add wikiHow to Your MySpace Friends List

You may like