<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>media wiki Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/media-wiki/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 11 Oct 2019 16:42:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install MediaWiki on Debian 10?</title>
		<link>https://www.osradar.com/install-mediawiki-debian-10/</link>
					<comments>https://www.osradar.com/install-mediawiki-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 15 Oct 2019 23:11:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[media wiki]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14499</guid>

					<description><![CDATA[<p>Nowadays it is quite common to come across projects that have a wiki. This model presents the information in a pleasant way for the view and above all in a functional way. And thanks to the open-source development we have a tool that will allow us to create one on our server quickly and easily. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mediawiki-debian-10/">How to install MediaWiki on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Nowadays it is quite common to come across projects that have a wiki. This model presents the information in a pleasant way for the view and above all in a functional way. And thanks to the open-source development we have a tool that will allow us to create one on our server quickly and easily. Well, in this post we will show you how to install MediaWiki on Debian 10. With MediaWiki we will be able to deploy a wiki for our projects or website.</p>
<p><a href="https://www.mediawiki.org" target="_blank" rel="noopener noreferrer">MediaWiki</a> is a web-based tool that allows you to deploy a collaborative project in the form of a Wiki. According to the project website, it is used by many companies and websites to present their content in a dynamic and fast way.</p>
<p>It has support for extensions that allow you to extend the functionality of the application. Like almost all quality applications there are, it is open source. Therefore, we can examine the source code for bugs or vulnerabilities.</p>
<p>Of course, it supports many different languages including the most spoken worldwide.</p>
<p>So let&#8217;s get started.</p>
<h2>Install MediaWiki on Debian 10</h2>
<h3>1) Install LAMP on Debian 10</h3>
<p>Since this is a web application that requires a database manager, we need LAMP on our server. So that&#8217;s the first step.</p>
<p><a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noopener noreferrer">How to install LAMP on Debian 10?</a></p>
<p>However, make sure you have these PHP modules installed. This will ensure that the functioning of the application is as expected.</p>
<pre>php7.3 php7.3-mysql libapache2-mod-php7.3 php7.3-xml php7.3-mbstring php7.3-apcu php7.3-intl php7.3-gd php7.3-cli php7.3-curl</pre>
<p>Anyway, as you can see, they are basic modules that probably any server would already have installed.</p>
<h3>2) Create a new database and user for MediaWiki</h3>
<p>MediaWiki stores data in a relational database management system such as MariaDB or MySQL. It is already installed and configured as part of the LAMP stack. However, for security reasons, it&#8217;s a good idea to create a new user that has exclusive permissions on the database we&#8217;re going to create for MediaWiki.</p>
<p>So let&#8217;s go to the MariaDB console and get started:</p>
<pre>:~$ sudo mysql -u root -p<br />&gt; CREATE DATABASE mediawikidb;<br />&gt; GRANT ALL PRIVILEGES ON mediawikidb.* TO mediawikiuser'@'localhost' IDENTIFIED BY 'mediawikipss';<br />&gt; FLUSH PRIVILEGES;<br />&gt; exit;</pre>
<p>With this, we will be able to continue.</p>
<h3>3) Download and install MediaWiki on Debian 10</h3>
<p>We have already prepared our server to install MediaWiki. Then, we will be able to download it and start with the installation. To do this, we are going to go to the root folder of apache and from there we proceed to download it.</p>
<pre>:~$ cd /var/www/html/ <br />:~$ sudo wget -c https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.1.tar.gz</pre>
<p>Next, decompress the folder.</p>
<pre>:~$ sudo tar -xzvf mediawiki-1.33.1.tar.gz</pre>
<p>Then, I will rename the folder to make it more accessible.</p>
<pre>:~$ sudo mv mediawiki-1.33.1 mediawiki</pre>
<p>Finally, enable the apache rewrite module and restart it.</p>
<pre>:~$ sudo a2enmod rewrite<br />:~$ sudo systemctl restart apache2</pre>
<p>Now, we can complete the installation using the web browser.</p>
<h3>4) Install MediaWiki on Debian 10 (II)</h3>
<p>Once you have prepared everything, just complete the installation using your web browser. To do this, go to <code>http://your-server/mediawiki/mw-config/</code> to start.</p>
<figure id="attachment_14540" aria-describedby="caption-attachment-14540" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14540" src="https://www.osradar.com/wp-content/uploads/2019/10/4-6.png" alt="4.- Starting the installation" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/10/4-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/4-6-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14540" class="wp-caption-text">4.- Starting the installation</figcaption></figure>
<p>Press continue.</p>
<p>On the next screen, you will have to accept the license terms.</p>
<figure id="attachment_14541" aria-describedby="caption-attachment-14541" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14541" src="https://www.osradar.com/wp-content/uploads/2019/10/5-7.png" alt="5.- terms of license" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/10/5-7.png 1354w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/5-7-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-14541" class="wp-caption-text">5.- terms of the license</figcaption></figure>
<p>Then, you have to write the credentials of the database you just defined.</p>
<figure id="attachment_14542" aria-describedby="caption-attachment-14542" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14542" src="https://www.osradar.com/wp-content/uploads/2019/10/6-6.png" alt="6.- Database parameters" width="1354" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/10/6-6.png 1354w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/6-6-851x420.png 851w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-14542" class="wp-caption-text">6.- Database parameters</figcaption></figure>
<p>Then, you will have to configure some database settings.</p>
<figure id="attachment_14543" aria-describedby="caption-attachment-14543" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14543" src="https://www.osradar.com/wp-content/uploads/2019/10/7-3.png" alt="7.- Database settings" width="1366" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/10/7-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/7-3-859x420.png 859w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14543" class="wp-caption-text">7.- Database settings</figcaption></figure>
<p>Next, type the wiki name. There, you have to create the admin account.</p>
<figure id="attachment_14544" aria-describedby="caption-attachment-14544" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14544" src="https://www.osradar.com/wp-content/uploads/2019/10/8-2.png" alt="8.- Creating  the admin account" width="1354" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/10/8-2.png 1354w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/8-2-851x420.png 851w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-14544" class="wp-caption-text">8.- Creating the admin account</figcaption></figure>
<p>After that, start the installation.</p>
<figure id="attachment_14545" aria-describedby="caption-attachment-14545" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14545" src="https://www.osradar.com/wp-content/uploads/2019/10/9.png" alt="9.- Installing MediaWiki on Debian 10" width="1366" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/10/9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/9-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/9-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/9-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/9-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/9-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/9-859x420.png 859w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14545" class="wp-caption-text">9.- Installing MediaWiki on Debian 10</figcaption></figure>
<p>If everything went well, you will see the following screen. It tells us that everything went well and that there is a file called <code>LocalSettings.php</code> to download and copy into the installation directory.</p>
<figure id="attachment_14546" aria-describedby="caption-attachment-14546" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14546" src="https://www.osradar.com/wp-content/uploads/2019/10/10.png" alt="10.- Installtion successfully completed" width="1366" height="668" srcset="https://www.osradar.com/wp-content/uploads/2019/10/10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/10-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/10-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/10-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/10-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/10-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/10-859x420.png 859w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14546" class="wp-caption-text">10.- Installation successfully completed</figcaption></figure>
<p>If you are working with a remote server, then we will have to copy the downloaded file to the MediaWiki installation directory.</p>
<p>It&#8217;s simple thanks to the scp command.</p>
<pre>:~$ scp Path_file your-server:/home/your-home/</pre>
<p>For example:</p>
<pre>:~$ scp ~/Downloads/LocalSettings.php 192.168.250.15:/home/your-home/</pre>
<p>You will have to enter the user key of the server and then it will remain on the server.</p>
<p>On the server, move it to the MediaWiki installation directory.</p>
<pre>:~$ mv /home/your-home/LocalSettings.php /var/www/html/mediawiki/</pre>
<p>Finally, go back to your web browser and go to <code>http://your-server/mediawiki</code> and start enjoying the installation.</p>
<figure id="attachment_14547" aria-describedby="caption-attachment-14547" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14547" src="https://www.osradar.com/wp-content/uploads/2019/10/11.png" alt="11.- MediaWiki on Debian 10" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2019/10/11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/11-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/11-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/11-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/11-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/11-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/11-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/11-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/11-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14547" class="wp-caption-text">11.- MediaWiki on Debian 10</figcaption></figure>
<h2>Conclusion</h2>
<p>Having a wiki available for your projects is a great way to present your information in a well-known collaborative format. Thanks to this installation it is possible to do it without many problems in a server with Debian 10.</p>
<p>Also the interesting thing about these projects are their reliability and ease of installation that allows many to enjoy it for free without sacrificing quality.</p>
<p> </p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mediawiki-debian-10/">How to install MediaWiki on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-mediawiki-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
