Last active
February 14, 2021 16:45
-
-
Save mathben/c7cbc68186fe23c2d48b2be10a54fa43 to your computer and use it in GitHub Desktop.
Help script to install mediawiki server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 [email protected]: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