Difference between revisions of "Install Mediawiki"
Jump to navigation
Jump to search
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | * https://www.mediawiki.org/wiki/Manual:Installation_guide | ||
+ | * https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki | ||
+ | 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 | ||
+ | [[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
This article is a Draft. Help us to complete it.
- https://www.mediawiki.org/wiki/Manual:Installation_guide
- https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki
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 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[edit]
- Install Mediawiki using docker: Modified Mediawiki docker compose example using networks
- MariaDB:
mysqldump
- Restart mediawiki
See also[edit]
Advertising: