MediaWiki-Vagrant/Hyper-V


 * work in progress

MediaWiki-Vagrant uses a 64-bit virtual machine, which requires hardware virtualization (VT-X) support to run.

On Windows, VirtualBox and Hyper-V cannot both make use of VT-X at the same time. Even if no Hyper-V virtual machines are running, if Hyper-V is installed and enabled VirtualBox will fail to run 64-bit VMs.

If you need Hyper-V to be enabled for Visual Studio mobile emulators or other needs, you can use Hyper-V as a VM provider for Vagrant... however it is experimental, and may be unstable.

Disabling Hyper-V to use VirtualBox

 * open 'Turn Windows features on and off' from start menu search
 * Turn off 'Hyper-V'
 * reboot when done
 * go back to MediaWiki-Vagrant page and follow VirtualBox directions

Using Hyper-V provider
Currently seems to fail running bsdtar.exe ... if not prepared to help fix it, try VirtualBox above. :)

Setting up networking
Networking must be manually configured in the Hyper-V Manager. Create a virtual switch and set it up with a NAT configuration.

Using the provider
To use Hyper-V providers, you will have to run Vagrant from an Administrator console.

Hit 'Windows' key, type 'PowerShell', right-click on 'Windows PowerShell' and select 'Run as Administrator'. Click through UAC dialog if necessary.

Now check out MediaWiki-Vagrant if necessary, go to the directory and:

vagrant up --provider=hyperv

'''Currently this will fail? Need to check the upstream box...'''