Manual:Installing MediaWiki on Ubuntu via GUI and Synaptic

Install packages: Menu: System&rarr;Administration&rarr;Synaptic Package Manager

Mark checkboxes next to: mediawiki (will automatically include Apache & PHP) mysql-admin mysql-server

Click 'Apply'

Choose and enter password for MySQL when prompted

Enter a URL alias in Apache configuration file: Menu: Applications&rarr;Accessories&rarr;Terminal

Run: sudo gedit /etc/mediawiki1.10/apache.conf (opens Apache configuration file for edit)

Remove the '#' on the third line so that line reads: 'Alias /mediawiki /var/lib/mediawiki1.10' (Note that '/mediawiki' may be replaced with any desired alias, such as '/mywiki')

Create another Apache configuration file, entering server name (more here): Run in Terminal: sudo gedit /etc/apache2/httpd.conf (Creates and opens file)

And add the line: 'ServerName localhost' (leave apostrophes off! These are for display purposes only)

Save and close file.

Restart Apache service: Run in Terminal: sudo /etc/init.d/apache2 restart

Or from Gnome Desktop GUI: Menu: System&rarr;Administration&rarr;Services, Web server (Apache2) (uncheck and re-check the checkbox)

Open wiki in browser for configuration: Open web browser and navigate to: http://localhost/mediawiki (or chosen alias)

Click 'set up the wiki' link.

Configure and apply changes: Leave all defaults on configuration page (except email - set to disabled, unless you are using this feature), entering only username and password.

Enter a desired database name for MySQL, with username of 'root' and password entered during installation.

Click 'Install MediaWiki!' button.

Move 'LocalSettings.php' as instructed by MediaWiki: Run in Terminal: sudo mv /var/lib/mediawiki1.10/config/LocalSettings.php /etc/mediawiki1.10/ (can also be done via a GUI file manager with root privileges)