MediaWiki/Deployment

Now, the MediaWiki code itself can be set up. Download the MediaWiki code using the following command, then unzip and move to :

Configuration
Start the MediaWiki configuration by going to http://your-server-ip.org/mw-config/:

The installation will prompt you for your MySQL/MariaDB username and password, as well as the database name. Default extensions can then be enabled and disabled.

After the configuration is complete, you will receive a LocalSettings.php file with the configurations created. Upload this file to the server using sftp, replacing the placeholders with your username and your server domain:

sftp &lt;em&gt;your-username@your-server.org&lt;/em&gt; (your-username at your-server dot org)

Then move the LocalSettings.php file to the /var/www/mediawiki/ directory.

Finally, uncomment these two sections of LocalSettings.php:

And:

Restart the nginx server to load the new configuration. Your MediaWiki site is ready to use.