Mediawiki
- Anleitung im Debian-Wiki
- Installation:
apt install --no-install-recommends nginx-light php-fpm mediawiki php-wikidiff2 php-sqlite3 imagemagick php-intl git
Nginx:
Nginx-Wiki TODO: noch weitere Einstellungen übernehmen
root /var/lib/mediawiki; index index.php; location ~ .php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.3-fpm.sock; } Konfiuration neu laden:
systemctl reload nginx
Datenbank einrichten:
mkdir -m750 /srv/wiki chown www-data:root /srv/wiki
- Mediawiki-Konfiguration unter http://localhost/, LocalSettings.php
anpassen:
$wgEnableUserEmail = false;
manual- Noch anpassen:
$wgServer
,$wgEmergencyContact
,$wgPasswordSender
cp ~/Downloads/LocalSettings.php /etc/mediawiki
Samba
- https://websiteforstudents.com/create-public-samba-share-ubuntu-17-04-17-10/
apt install --no-install-recommends samba
adduser --system --home /srv/file-share samba-guest
- smb.conf anpassen:
[public] path = /srv/file-share browsable = yes writable = yes guest ok = yes force user = samba-guest
- Samba-Dienst neustarten (reload reicht nicht):
systemctl restart smbd