MediaWiki (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
== Installation ==
== Installation ==
=== Download ===


<pre>
<pre>
Zeile 7: Zeile 9:
sudo mv mediawiki-1.26.2 /var/www/wiki/
sudo mv mediawiki-1.26.2 /var/www/wiki/
sudo chown -R www-data:www-data /var/www/wiki/
sudo chown -R www-data:www-data /var/www/wiki/
</pre>
=== MySQL-Datenbank anlegen ===
<pre>
mysql -u root -p
mysql> create database if not exists wiki;
mysql> create user 'wikiuser'@'%' identified by '<password>';
mysql> grant all on wiki.* to 'wikiuser'@'%';
mysql> create user 'wikiuser'@'localhost' identified by '<password>';
mysql> grant all on wiki.* to 'wikiuser'@'localhost';
mysql> flush privileges;
mysql> exit
</pre>
</pre>



Version vom 8. Mai 2016, 09:19 Uhr

Installation

Download

cd ~/Downloads
wget https://releases.wikimedia.org/mediawiki/1.26/mediawiki-1.26.2.tar.gz
tar -xzvf mediawiki-*.tar.gz
sudo mv mediawiki-1.26.2 /var/www/wiki/
sudo chown -R www-data:www-data /var/www/wiki/

MySQL-Datenbank anlegen

mysql -u root -p
mysql> create database if not exists wiki;
mysql> create user 'wikiuser'@'%' identified by '<password>';
mysql> grant all on wiki.* to 'wikiuser'@'%';
mysql> create user 'wikiuser'@'localhost' identified by '<password>';
mysql> grant all on wiki.* to 'wikiuser'@'localhost';
mysql> flush privileges;
mysql> exit

Links

https://www.mediawiki.org/wiki/Download


Zurück zu Ubuntu