Skip to content

Instantly share code, notes, and snippets.

@mathben
Last active February 14, 2021 16:45
Show Gist options
  • Save mathben/c7cbc68186fe23c2d48b2be10a54fa43 to your computer and use it in GitHub Desktop.
Save mathben/c7cbc68186fe23c2d48b2be10a54fa43 to your computer and use it in GitHub Desktop.
Help script to install mediawiki server
# Guide
# https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-debian-9
# apt install apache2
# Guide https://websiteforstudents.com/install-mediawiki-ubuntu-17-04-17-10-nginx-mariadb-php/
# Github mediawiki : https://github.com/wikimedia/mediawiki
git clone git@github.com:wikimedia/mediawiki.git
# Installation
https://www.mediawiki.org/wiki/Manual:Installation_guide
# Use instead nginx
# Guide : https://www.nginx.com/resources/wiki/start/topics/recipes/mediawiki/
# Guide : https://www.mediawiki.org/wiki/Manual:Short_URL/Nginx
apt install nginx
systemctl enable nginx.service
systemctl start nginx.service
# With postgreSQL 10
# Guide https://www.postgresql.org/download/linux/debian/
# Guide https://wiki.bibanon.org/PostgreSQL/MediaWiki
#apt install postgresql-10
apt install mariadb-server mariadb-client
systemctl enable mariadb.service
systemctl start mariadb.service
mysql_secure_installation
systemctl restart mariadb.service
apt install php-fpm php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-mcrypt php-ldap php-zip php-curl
systemctl disable apache2.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment