MediaWiki: Difference between revisions

From wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Warning|aa}}
{{Debian}}


install packages
== Install Mediawiki ==
{{Warning|Debian packages are currently unmaintained and outdated. This guide will install mediawiki fro source. For your security, don't forget to follow upstream releases and update your installation.}}


mediawiki
=== Get source ===
<syntaxhighlight lang="shell">
cd /var/www
curl https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz | tar xz
chown -R www-data: mediawiki*
</syntaxhighlight>


mediawiki-extensions-geshi
=== Configure Dns ===
This guide assume that you are using a dedicated subdomain for your wiki like https://wiki.example.com. Don't forget to point that domain to your webserver.


mediawiki-extensions-graphviz
=== Configure Nginx ===
 
=== nginx config ===
dns config


create certificate
create certificate

Revision as of 21:54, 30 December 2015

Warning Warning: These instructions were only tested on Debian. It will probably work for other Linux distributions, but you might need to adapt the provided instructions.

Install Mediawiki

Warning Warning: Debian packages are currently unmaintained and outdated. This guide will install mediawiki fro source. For your security, don't forget to follow upstream releases and update your installation.

Get source

cd /var/www
curl https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz | tar xz
chown -R www-data: mediawiki*

Configure Dns

This guide assume that you are using a dedicated subdomain for your wiki like https://wiki.example.com. Don't forget to point that domain to your webserver.

Configure Nginx

create certificate

update nginx config

/mw-config

chown root:www-data /etc/mediawiki/LocalSettings.php
chmod 640 /etc/mediawiki/LocalSettings.php