MediaWiki is the engine that is used for Wikipedia. See MediaWiki for more information. Beware: apt-get installs old versions of mediawiki, which is no longer supported by upstream. Install pre-requisites The easiest method is to first install a full LAMP (Linux, Apache2, MySQL, PHP) server: sudo apt-get install tasksel sudo tasksel install lamp-serverMake sure you record your MySQL root superuser