Server/MediaWiki

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Achtung

Dieser Artikel ist ein exemplarischer Artikel.

Es handelt sich hierbei nicht um die Instanz MediWiki als Wiki vom StuRa. Dazu dienen die Artikel:

Installation

Randbedingungen

OS
FreeBSD 10.1
Paketverwaltung
freebsd-man:pkgng (statt freebsd-man:make)

tatsächliche Installation

pkg
pkg install mysql55-server
/usr/local/bin/mysql_upgrade
echo 'mysql_enable="yes"' >> /etc/rc.conf
pkg install apache24
echo 'apache24_enable="yes"' >> /etc/rc.conf
pkg install mod_php5
echo '<FilesMatch "\.php$">' >> /usr/local/etc/apache24/httpd.conf
echo 'SetHandler application/x-httpd-php' >> /usr/local/etc/apache24/httpd.conf
echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf
echo '<FilesMatch "\.phps$">' >> /usr/local/etc/apache24/httpd.conf
echo 'SetHandler application/x-httpd-php-source' >> /usr/local/etc/apache24/httpd.conf
echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf
pkg install mediawiki123
mysqladmin --user=name-of-the-user-in-mysql password "password-of-the-user-in-mysql"

tatsächliche Installation Siehe auch