MediaWiki-Vagrant/Installation details

Vagrant and VirtualBox are both prerequisite. Both are free and open-source and available on Mac, Windows, and GNU/Linux.

If you do not want your virtual machines stored under your user home directory, start VirtualBox and change it in the preferences. Moving existing virtual machines later is complicated. You may want to set the environment variable VAGRANT_HOME to the directory where you are going to keep your virtual boxes. If you don't, the Windows version will use drive C: for temporary stuff.
 * 1) Download and install VirtualBox.
 * 1) Download and install the latest version of Vagrant from vagrantup.com (v1.2.2 or higher).
 * 1) Download a copy of mediawiki-vagrant:
 * - Either -
 * Download one of the individual files:
 * tar.gz from GitHub
 * zip from GitHub
 * tar.gz from Gerrit
 * Extract the zip file or tarball to a directory of your choice.
 * Up a terminal or a command-prompt, and set your working directory to to the location of the extracted files.
 * - Or -
 * From a terminal or a command-prompt use Git:
 * Change your working directory to the git-cloned directory.
 * 1) From there, run  to provision and boot the virtual machine.

You'll now have to wait a bit, as Vagrant needs to retrieve the base image from Canonical, retrieve some additional packages, and install and configure each of them in turn. Our Vagrant configuration relies on Puppet to provision and configure software. See MediaWiki-Vagrant/Initial run for what an initial run should look like (the output you see may differ slightly).

Caution about download size
If your internet connection is slow or if you're doing this in a large group, you might want to change the source of the image file to something close by. Edit the file named  in your vagrant directory and change the config.vm.box_url variable to whatever URL is appropriate - a webserver on a local IP address with a copy of the file works particularly well.

Alternatively if you have the .box file you can do the following to make vagrant not download it again, due to the fact that a .box file is just a TAR file in disguise:

Windows

 * Go to the directory
 * Create the two nested directories
 * Extract the .box file to this new directory. The .box file is just a TAR file. If you don't have a tool to extract TAR files you can get a tar.exe here.
 * Create a text file with the line  and save it as