Manual:Running MediaWiki on Ubuntu GNU/Linux

Mediawiki can be installed on Ubuntu using apt-get, aptitude, or synaptic. It requires the apache web server (Version 1.3 or 2), php5, and php5-mysql.