Difference between revisions of "Install Mediawiki"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  wget https://releases.wikimedia.org/mediawiki/1.36/mediawiki-1.36.1.tar.gz
 
  wget https://releases.wikimedia.org/mediawiki/1.36/mediawiki-1.36.1.tar.gz
 
  wget https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.1.tar.gz
 
  wget https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.1.tar.gz
 +
[[tar xvzf]] mediawiki-*.tar.gz
 +
apt install -y [[mariadb-server]]
 +
[[apt install nginx]]
 +
[[apt install php-fpm]]
 +
[[apt install]] [[php-readline]] [[php-mysql]] [[php-apcu]]
 +
[[apt install letsencrypt]]
  
 +
[[CREATE DATABASE]] wikidb;
 +
[[CREATE USER]] 'wikiuser'@'localhost' IDENTIFIED BY 'password';
 +
GRANT ALL PRIVILEGES ON wikidb.* TO 'wikiuser'@'localhost' WITH GRANT OPTION;
  
 
== Related articles ==
 
== Related articles ==
 
* [[Install Mediawiki using docker]]: [[Modified Mediawiki docker compose example using networks]]
 
* [[Install Mediawiki using docker]]: [[Modified Mediawiki docker compose example using networks]]
 +
* [[MariaDB]]: <code>[[mysqldump]]</code>
 +
* [[Restart mediawiki]]
  
 
== See also ==
 
== See also ==
 
* {{Mediawiki}}
 
* {{Mediawiki}}
 
  
 
[[Category:Mediawiki]]
 
[[Category:Mediawiki]]

Latest revision as of 06:21, 24 March 2022

Advertising: