MediaWiki is a popular free web-based wiki software application developed by and used on all projects of the Wikimedia Foundation, as well as on many other wiki websites worldwide. It is written in the PHP programming language with a backend database.
Install lighttpd, PHP, and postgresql
Install extra packages
Installing and configuring MediaWiki
Create a folder named mediawiki
Download the latest version. At the time of writing it is 1.35.1
Unpack the archive, rename the folder and delete the tarball afterwards
Change the folder permissions
Crate a symlink to the mediawiki folder
Edit lighttpd.conf and uncomment include "mod_fastcgi.conf"
Config your wiki
Install the wiki accessing
When you finish, press "Install MediaWiki" button, and that's all. :) You have MediaWiki working. To access go to http://WEBSERVER_IP_ADDRESS/mediawiki and enjoy!