2 Simple Ways to Download and Install MediaWiki

Download ArticleDownload Article

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, How.com.vn, and many other wiki projects.

Method 1
Method 1 of 2:

Local Server

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

Hosted Server

Download Article
  1. How.com.vn English: Step 1 If you know...
    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. How.com.vn English: Step 2 If you don't...
    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 PhpMyAdmin. 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.
  3. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Localhost doesn't work for me, what should I do?
    How.com.vn English: Rupert
    Rupert
    Top Answerer
    Try using your localhost IP address instead, 127.0.0.1. If that doesn't work, make sure the password is the same as the password you set in your phpMyAdmin database.
  • Question
    How can I install VisualEditor on my wiki?
    How.com.vn English: Rupert
    Rupert
    Top Answerer
    MediaWiki comes preinstalled with VisualEditor. Just add 'wfLoadExtension( 'VisualEditor' );' to your LocalSettings.php to enable it. Go to MediaWiki's VisualEditor page for detailed instructions.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • Don't want to spend the time configuring MediaWiki? There are many sites that are willing to host your wiki, subject to their terms of use.
      • Customise your wiki to your liking with skins. Read Change Your MediaWiki Skin for help using pre-existing skins, or read Create a MediaWiki Skin from Scratch to make your own.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      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.


      Advertisement

      About This Article

      Tested by:
      How.com.vn Technology Team
      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 34 people, some anonymous, worked to edit and improve it over time. This article has been viewed 106,305 times.
      How helpful is this?
      Co-authors: 34
      Updated: March 28, 2024
      Views: 106,305
      Categories: Wikis
      Thanks to all authors for creating a page that has been read 106,305 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement