MediaWiki (Linux)
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
Apache
cd /etc/apache2/conf-available/ sudo nano wiki.conf
Alias /wiki "/var/www/wiki/" <Directory "/var/www/wiki"> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/wiki SetEnv HTTP_HOME /var/www/wiki </Directory>
sudo a2enconf wiki sudo service apache2 reload
Links
https://www.mediawiki.org/wiki/Download
Zurück zu Ubuntu