[KnowledgeBase] Install & Configure Mediawiki

Prerequisites

  • create a new DB and DB user in mysql

  • give the user full rights on his db

Installation

  • Download the latest mediawiki release, unzip it and move it to webserver root

    wget  https://releases.wikimedia.org/mediawiki/1.XX/mediawiki-1.XX.X.tar.gz
    tar xvzf mediawiki-1.XX.X.tar.gz
    sudo mkdir /var/www/html/yourmedia
    sudo mv mediawiki-1.29.1/* /var/www/html/yourmedia
    
  • navigate to the path in the webbrowser and follow the installation steps

  • download the generated LocalSettings.php

  • Edit the file on your remote session

    sudo nano /var/www/html/yourmedia/LocalSettings.php
    
  • Copy the code from your local pc to LocalSettings.php

Useful Extensions

MobileFrontend