Install Mediawiki

From XPUB & Lens-Based wiki

Settings up your own mediawiki

Database

It's a *good idea* to create a dedicated database + database user for your wiki. In this way you can easily back it up (and eventually restore it) with a simple mysqldump command. Also, it helps to keep different projects separate from each other. See the Mysql page on how to do this. Once you do this add the database name, user name, and password to the Mediawiki setup page when requested.

Uploads

https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads