Server/MediaWiki: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (→VisualEditor) |
|||
Zeile 141: | Zeile 141: | ||
: <code>pkg install npm</code> | : <code>pkg install npm</code> | ||
<!-- | |||
<pre> | |||
Message for python27-2.7.8_6: | |||
===================================================================== | |||
Note that some standard Python modules are provided as separate ports | |||
as they require additional dependencies. They are available as: | |||
bsddb databases/py-bsddb | |||
gdbm databases/py-gdbm | |||
sqlite3 databases/py-sqlite3 | |||
tkinter x11-toolkits/py-tkinter | |||
===================================================================== | |||
Message for node-0.10.33: | |||
Note: If you need npm (Node Package Manager), please install www/npm. | |||
</pre> | |||
--> | |||
[[Kategorie:Server]] | [[Kategorie:Server]] | ||
[[Kategorie:Wiki]] | [[Kategorie:Wiki]] |
Version vom 17. Dezember 2014, 22:56 Uhr
- 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
vielleicht auch (notwendig?)
pkg install php5-xmlreader
pkg install php5-tidy
Erzeugen eines Accounts für MySQL und das Setzen des dazugehörigen Passwortes
mysqladmin --user=name-of-the-user-in-mysql password "password-of-the-user-in-mysql"
Anpassen der Datei für die Konfiguration von Apache
$EDITOR /usr/local/etc/apache24/httpd.conf
#DocumentRoot "/usr/local/www/apache24/data" DocumentRoot "/usr/local/www/mediawiki"
echo '<Directory "/usr/local/www/mediawiki">' >> /usr/local/etc/apache24/httpd.conf
echo 'Options Indexes FollowSymLinks' >> /usr/local/etc/apache24/httpd.conf
echo 'DirectoryIndex index.php index.html' >> /usr/local/etc/apache24/httpd.conf
echo 'AllowOverride None' >> /usr/local/etc/apache24/httpd.conf
echo 'Order allow,deny' >> /usr/local/etc/apache24/httpd.conf
echo 'Allow from all' >> /usr/local/etc/apache24/httpd.conf
echo '</Directory>' >> /usr/local/etc/apache24/httpd.conf
$EDITOR /usr/local/etc/apache24/httpd.conf
#<Directory /> # AllowOverride none # Require all denied #</Directory>
apachectl restart
tatsächliche Installation Siehe auch
ergänzende Installation
VisualEditor
pkg install npm