To manually install MediaWiki on your hosting, follow these steps:
Step-1 Download MediaWiki
Visit the official MediaWiki website and download the latest stable version of the software. After downloading, extract the .tar.gz
or .zip
file on your local computer to prepare it for uploading to your server.
Step-2 Upload MediaWiki to Your Server
Log in to your hosting account’s cPanel or an alternative control panel. From there, access the ‘Public HTML’ or sub-directory (wherever you want to install the wiki) on File Manager.
Alternatively, you may use an FTP client such as FileZilla to upload the extracted MediaWiki files to your server. Choose the directory where you want MediaWiki to be installed (such as the public_html
folder if it will be on your main domain).
Step-3 Create a Database
In cPanel, locate the section labeled MySQL Databases or something similar. Create a new database, and remember the database name. Then, create a new MySQL user and assign it to the database with full privileges. Make sure to save the database name, username, and password for later use in the installation process. You may use ‘MySQL Wizard’ option on your cPanel.
Step-4 Run the MediaWiki Installer
Open a web browser and visit the URL where you uploaded the MediaWiki files, for example, yourdomain.com
. This will lead you to the MediaWiki installation wizard. Select your preferred language and proceed by clicking Continue.
Step-5 Database Configuration
When you reach the database configuration page, enter the required details. Choose MySQL as the database type, provide the name of the database you created earlier, and input the username and password associated with it. Typically, the database host is localhost
, but you should confirm this with your hosting provider.
Step-6 Configure Wiki Settings
At this stage, name your wiki, as this will be the title that appears on your site. You will also need to create an administrative account by specifying the admin username, password, and email. Adjust other settings like email notifications or file uploads as needed.
Step-7 Complete Installation
Once the installation finishes, you will be prompted to download the LocalSettings.php
file. Upload this file back to the root directory of your MediaWiki installation, which is the same location where you uploaded the MediaWiki files earlier.
Step-8 Verify Installation
Finally, visit your site’s URL to check your newly installed MediaWiki. You can log in using the admin credentials that you created during the setup process, allowing you to start customizing your wiki by adding content, extensions, and themes.
By following these steps, your MediaWiki installation will be fully functional and ready for use.
Automatic Installation of Mediawiki
Installing MediaWiki via Installatron on cPanel hosting is an easy process. Installatron is a popular auto-installer available in cPanel hosting, that simplifies the installation of web applications like MediaWiki and WordPress. Here’s a step-by-step guide to help you through the process.
Step 1. Log in to cPanel
Begin by logging into your cPanel account, To log into your Sangkrit account, visit System.Sangkrit.net and click the Sign In button in the top-right corner. From the dropdown, select Sign In again, then enter your email or username and password in the login fields.
If you’ve enabled two-step verification, you’ll need to enter the code sent to your phone or email.
Once signed in, you’ll be directed to your account dashboard where you can manage your domains and other services.
Step 2. Access Installatron
Once you’re logged into cPanel, scroll down to the Software or Web Applications section. Here, you’ll find Installatron, click its icon.
Step 3. Search for MediaWiki
In the Installatron dashboard, you’ll see a variety of applications that can be installed. Either search for MediaWiki in the search bar or scroll down until you find it listed under the Content Management section. Once you locate MediaWiki, click on it.
Step 4. Start the Installation
On the MediaWiki page in Installatron, click the Install this application button. This will open the installation configuration options.
Step 5. Configure the Installation
You will now be presented with several configuration options for your MediaWiki installation:
- Domain: Choose the domain or subdomain where you want MediaWiki installed. You can select a subfolder if you want to install it at
yourdomain.com/wiki
, for example.
- Version: Ensure the latest version of MediaWiki is selected.
- Directory: If you want to install MediaWiki in a specific directory (e.g.,
yourdomain.com/wiki
), enter the directory name here. If you leave it blank, MediaWiki will be installed on the root domain (e.g., yourdomain.com
).
- Administrator Username & Password: Set the username, password, and email address for the admin account of your MediaWiki site.
- Website Title: Enter the name of your wiki.
- Database Settings: You don’t need to worry about creating the database manually unless you prefer to do so, Installatron will handle this automatically.
Step 6. Advanced Settings (Optional)
If you want more control, you can expand the Advanced settings to configure things like automatic updates, backups, and language preferences. However, the default settings should work for most users.
Step 7. Process the Installation
After filling in the required details, click the Install button at the bottom of the page. Installatron will begin the installation process, which may take a few minutes.
Step 8. Access Your MediaWiki Website
Once the installation is complete, Installatron will provide a link to your new MediaWiki site, along with login details for the admin account. You can now visit your site and start customizing your wiki.
This way, you can manage and update your MediaWiki installation easily through Installatron, including setting up automatic backups and updates.
By following these steps, you’ll have MediaWiki installed and running on your cPanel hosting account in no time. Comment below if you need any additional help.