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

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

Step 2. Download MediaWiki to your computer

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

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

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

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

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

Step 8. Complete the form following the instructions
- Enter a name, username and password for the database.
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.

Step 9. Finish the installation

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

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.

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.