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
- Download XAMPP and install it on your system.
- Download MediaWiki 1.42.3 and extract it to a folder.
Instructions for Windows
Step 1: Install XAMPP
- Run the XAMPP installer.
- Select
Apache
andMySQL
components during installation. - Launch XAMPP Control Panel and start
Apache
andMySQL
services.
Step 2: Set Up Database
- Open your browser and go to http://localhost/phpmyadmin.
- Click on the Databases tab.
- Create a new database, e.g.,
mediawiki_db
.
Step 3: Deploy MediaWiki Files
- Extract the MediaWiki
.tar.gz
file. - Copy the extracted
mediawiki-1.42.3
folder toC:\xampp\htdocs
. - Rename the folder to
mediawiki
.
Step 4: Configure MediaWiki
- Open your browser and go to http://localhost/mediawiki.
- 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.
- Enter database name:
- Place
LocalSettings.php
inC:\xampp\htdocs\mediawiki
.
Instructions for Linux Mint
Step 1: Install XAMPP
- Download the XAMPP installer for Linux.
- Open a terminal and run:
sudo chmod +x xampp-linux-x64-*.run sudo ./xampp-linux-x64-*.run