How to install a Wiki in less than 20 minutes: 12 Steps

Table of contents:

How to install a Wiki in less than 20 minutes: 12 Steps
How to install a Wiki in less than 20 minutes: 12 Steps
Anonim

Have you ever wanted to create your own wiki? This page will guide you through the process of installing the latest stable version of MediaWiki software, a very powerful and widely used wiki platform that powers Wikipedia, wikiHow, and many other wiki projects.

Steps

Method 1 of 2: Local Server

Install MediaWiki Step 1
Install MediaWiki Step 1

Step 1. If you have not already done so, install the necessary software to have your web server

Install MediaWiki Step 2
Install MediaWiki Step 2

Step 2. Download MediaWiki to your computer

Install MediaWiki Step 3
Install MediaWiki Step 3

Step 3. Unzip the files in the root directory of your website (not in a subdirectory)

Install MediaWiki Step 4
Install MediaWiki Step 4

Step 4. Rename the unzipped directory to whatever name you want it to appear in the URL (for example, name it "wiki" if you want the URL

Install MediaWiki Step 5
Install MediaWiki Step 5

Step 5. Change the access permissions of the "config" subdirectory to 770, so that the web server has write permissions (Linux only)

Install MediaWiki Step 6
Install MediaWiki Step 6

Step 6. Go to the directory in your web browser. (for example, http:// localhost / wiki /).

Install MediaWiki Step 7
Install MediaWiki Step 7

Step 7. Click on the link to start setting up the wiki

Install MediaWiki Step 8
Install MediaWiki Step 8

Step 8. Complete the form following the instructions

  • Enter a name, username and password for the database.

    Install MediaWiki Step 8
    Install MediaWiki Step 8
  • If the database and user do not exist yet, select the "use superuser account" option. You do not need to change the superuser name or password.
Install MediaWiki Step 9
Install MediaWiki Step 9

Step 9. Finish the installation

Install MediaWiki Step 10
Install MediaWiki Step 10

Step 10. Move the LocalSettings.php file from the "config" directory to the root directory of the wiki (eg wiki)

Method 2 of 2: External Hosting Service

Install MediaWiki Step 11
Install MediaWiki Step 11

Step 1. If you know the superuser password for your MySQL server, the MediaWiki setup script can automatically create a database and account to access it

Go directly to the "Run the installation script" section.

Install MediaWiki Step 12
Install MediaWiki Step 12

Step 2. If you do not know the superuser password for your MySQL server, you will need to create a MySQL database and user before installing MediaWiki

You can do it using different control panels, such as [1]. Read the corresponding documentation. Most web hosting services provide a MySQL database along with account details. If that's the case, use the MySQL credentials provided by your hosting service along with the database name and then specify something like mw_ for the tables prefix. This will let MediaWiki know which tables you own. Otherwise, ask your hosting service to create an account and follow the steps mentioned above.

Warnings

Popular by topic