Guide – How To Start – MediaWiki – Wikipedia Server on Debian 11

Connection and configuration of MediaWiki – Wikipedia Server on Debian 11

Creating DNS name through Azure Portal

  1. The first step is to create a DNS name that will be used for the further connection. You can specify your DNS name (for which an SSL certificate has been already purchased) and skip this step. 
  1. To create a DNS name through Azure Portal, go to the VM settings in the “Overview” section.
  1. Go to “DNS name” settings
  1. Fill in the “DNS name label” field and click <Save> at the top.

Server connection and configuration through the PuTTY SSH client

  1. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at the following link – Download
  1. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console you will need to enter a username and password that were specified when creating the virtual machine. The next window is displayed
  1. Enter the following command.

> sudo nano /var/www/html/mediawiki/LocalSettings.php

  1. Find the line $wgServer = (if you do not see it, make the puTTY application window larger)
  1. Indicate your DNS name or DNS previously created through the Azure PortaIn the in line In order to go to the desired line, use the arrows on the keyboard. To paste the copied text, use the right mouse button
  1. Press Ctrl + X on the keyboard to exit the file. Then, you will be asked to save the changes to the file – press Y on the keyboard to confirm, and then “Enter” to overwrite to the same file.
  1. Now you can go to your DNS name specified in the file when configuring via PuTTY. If an error occurs during the transition, try again in a couple of minutes.

Changing user password and language interface 

To connect to the VM, you need to open TCP port 80 in the Azure firewall.

  1. First of all, you need to log in through the administrator account. To do this, click on “Log in” at the top right of the page.
  1. Use the “mediaadmin” login and the “adminmediawiki” password to authorize
  1. Now go to the settings by clicking “Preferences” in the upper right
  1. Change the “Language” field to your preferred language.
  1. Also on this page you can change the password for the account. To do this, click the “Change password” button
  1. Enter the new password in the “New password” and “Retype new password” fields. Then click on the “Change credentials” button to complete the password change.

Now you can use MediaWiki – Wikipedia Server on Debian 11 adapted for Azure.

Get more information –

FAQ – Manual:FAQ – MediaWiki

Website Built with

Up ↑

%d bloggers like this: