From MediaWiki site: MediaWiki is a free software open source wiki package written in PHP, originally for use on Wikipedia.

I decided to give MediaWiki a try as a scripts repository so I thought I’d write a quick guide of how to install it on a Linux/Apache/mySQL server.

Assumptions

  • A fully qualified domain name with a host record pointing to a internet facing server
  • A fully working Linux server (my example is a Debian server)
  • Apache installed on the Linux server and listening on port 80
  • A preconfigured vhost
  • PHP installed
  • mySQL server installed

Installation

1. Download the compressed installation file

2. Extract the compressed archive

3. Copy files from mediawiki-1.23.5 folder to the root folder

4. Create mySQL Database

5.  Create mySQL Database user

6. Grant database permissions to database

7. Flush mySQL privileges

8. Log into the site eg:

http://wiki.example.com

Click on “Complete the installation”

9. Select the language

10. Click continue

11. Input all database information

12. Change settings to suit your database requirements

13. Input name of MediaWiki and desired credentials

14. Configure options for your MediaWiki

15. Install MediaWiki

16. Installation complete

17. Download and copy the LocalSettings.php file to the root of the MediaWiki installation

18. Browse to your MediaWiki installation and log in

Example: http://wiki.example.com

Should you have any questions, comments or suggestions, please don’t hesitate to comment below. If you like what you have read, please share it on your favourite social media medium.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.