How to install MediaWiki in Linux hosting?

Pre-installation Steps:

Set up MySQL database

Please refer following article to set up MySQL database from cPanel:
https://manage.accuwebhosting.com/knowledgebase/1996/How-to-create-a-MySQL-database-in-cPanel.html


Upload files

Please refer following article to upload files/folders using FTP in Linux Shared Hosting:
https://manage.accuwebhosting.com/knowledgebase/761/How-to-do-FTP-over-SSLorTLS-in-FileZilla.html


MediaWiki Installation Steps:

We want to install MediaWiki in "wiki" folder of website and hence we will extract the MediaWiki files/folders under this "wiki" folder. Once files/folders have been extracted, browse the wiki folder through browser as follows:

http://www.yourdomain.com/wiki

You will get prompted to setup MediaWiki. Click on "Set up the wiki link" to proceed with the installation page.

MediaWiki Set up

Step 1: Site config

In this section, you will have to choose a name for your wiki, contact email, language and license. You will also have to set an admin username, password and select a caching method.

Site Config Settings of MediaWiki

Step 2: E-mail, e-mail notification and authentication setup

In this step, you should configure email features for your wiki installation.

Email, Email Notification and Authentication Setup

Step 3: Database config

In this section, you will have to set up your MySQL database details:

  • Select MySQL for Database type.
  • Type "localhost" for Database host.
  • Enter database name, database username and password in MySQL database, username and password you created while you set up database from cPanel.
  • The option for Superuser account should be left unchecked.


Database Configurations for MediaWiki


Step 4: MySQL specific options

  • Database table prefix. You can leave this blank or type in a table prefix, for example mw_ or wiki_.
  • Storage Engine. We recommend using InnoDB as a storage engine for your database.
  • Database character set. Here, we recommend using Backwards-compatible UTF-8.


MySQL Specific Options

When you are ready, click on [Install MediaWiki!] button. 
If everything has been set up correctly, you should see the Installation successful message like below:

Installation Successful Message
  • 42 Users Found This Useful

Was this answer helpful?

Related Articles

Cpanel Email Account create Error: No specific error was returned with the failed API Call

Email account creation from Cpanel results in this error. Generally, this error is encountered...

What is the procedure to transfer my web hosting from other web hosting provider to AccuWebHosting.com?

Following article will assist you to transfer your websites to AccuWebHosting server. According...

When I connect to FTP account through filezilla it always says certificate is unknown. What am I missing here?

This error is common because FTP service of our shared server is bound with server's Self-Signed...

How to Repair MySQL Database from cPanel WHM and phpMyadmin

This article describes how to repair MySQL database using cPanel, WHM and phpMyAdmin. Repair...

What is Entry Process Limit in Linux Shared Hosting?

An Entry Process is the number of PHP scripts you can run at a time. Our Shared Hosting and...