Install Mediawiki - banica/mediawiki GitHub Wiki

Installing MediaWiki 1.42.3 with XAMPP on Windows and Linux Mint

This guide explains how to set up MediaWiki 1.42.3 using XAMPP on both Windows and Linux Mint.

Prerequisites

  1. Download XAMPP and install it on your system.
  2. Download MediaWiki 1.42.3 and extract it to a folder.

Instructions for Windows

Step 1: Install XAMPP

  1. Run the XAMPP installer.
  2. Select Apache and MySQL components during installation.
  3. Launch XAMPP Control Panel and start Apache and MySQL services.

Step 2: Set Up Database

  1. Open your browser and go to http://localhost/phpmyadmin.
  2. Click on the Databases tab.
  3. Create a new database, e.g., mediawiki_db.

Step 3: Deploy MediaWiki Files

  1. Extract the MediaWiki .tar.gz file.
  2. Copy the extracted mediawiki-1.42.3 folder to C:\xampp\htdocs.
  3. Rename the folder to mediawiki.

Step 4: Configure MediaWiki

  1. Open your browser and go to http://localhost/mediawiki.
  2. Follow the on-screen setup wizard:
    • Enter database name: mediawiki_db.
    • Use root as the username (leave the password blank by default for XAMPP).
    • Complete the wizard and download the LocalSettings.php file.
  3. Place LocalSettings.php in C:\xampp\htdocs\mediawiki.

Instructions for Linux Mint

Step 1: Install XAMPP

  1. Download the XAMPP installer for Linux.
  2. Open a terminal and run:
    sudo chmod +x xampp-linux-x64-*.run
    sudo ./xampp-linux-x64-*.run