As we needed a server where everything that has to do with our development team would be centered I decided to create a neat server where we have all the tools we need.

If you need anything on this list you might be able to use my step-by-step tutorials to arrange this :)

Jira + Jira Agile

I might be upgrading the server later with more tools, will update this tools then. If you have any hints what tools we ABSOLUTLY need, let me know!

I assume you have a server already live with Ubuntu 14.04, cause that is what I’m using. This might also work for Debian or other distro’s but I’m not sure.

Followed Jira tutorial?

If you did follow the Jira tutorial you don’t need to install apache2 again. If you didn’t you might have obtained it already. If not you should execute the following command in your terminal

sudo apt-get install apache2

Let’s go Media Wiki

To let mediawiki work perfectly we first need to install some packets, the mysql packet will ask for a password for the “root” user. Remember this one! Execute the following command to install

sudo apt-get install mysql-server php5 php5-mysql libapache2-mod-php5

Then we have the following optional packages. You don’t need them, but they might come in handy.
For PhpMyadmin, choose apache2 as a webserver. You can just use the common-db config. The password here is the same as you had to remember ;-)

 sudo apt-get install php-apc php5-intl imagemagick phpmyadmin vsftpd php5-cli

Now we want to install Mediawiki itself. Don’t use apt-get for this, the version on apt-get is outdated!


Now unpack,  and move the package contents.

tar -xvzf /pathtofile/mediawiki-*.tar.gz
sudo mkdir /var/lib/mediawiki
sudo mv mediawiki-*/* /var/lib/mediawiki

Let us tweak our PHP.ini a little bit for MediaWiki to run smoother. Open PHP.ini

sudo nano /etc/php5/apache2/php.ini


memory_limit = 8M
 upload_max_filesize = 2M


memory_limit = 128M
upload_max_filesize = 20M

Restart your apache2 server

sudo service apache2 restart

Hang on, we’re almost there!

Create a symlink for apache to understand

cd /var/www/html
sudo ln -s /var/lib/mediawiki mediawiki

If you navigate to it should work.

Last configuration

Navigate to and follow the steps on the screen.

At the end the browser gives you a LocalSettings.php. Open this file on your local machine, copy the contents. On the server open a new file:

nano /var/lib/mediawiki/LocalSettings.php

And paste the copied contents in this file. Save it and then remove the config folder for security reasons!

sudo rm -rf config

Voila, you’re mediawiki instance works ;-)