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: gksudo 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 Apache HTTPD configuration file, entering server name (more here): Run in Terminal: gksudo 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: If this installation is for a pre-existing MediaWiki instance, use the same 'Wiki name'.

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

Create a MediaWiki User in MySQL Administrator and enter this, or use username of 'root' and password entered during MySQL installation; enter a desired database name for MySQL. Be sure to add a MediaWiki user in MySQL in the future and change the access password, since this is coded in plain-text in LocalSettings.php!

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)