Running Flow in a virtual machine

Installing prerequisites

There is a so-called vagrant file that is capable of automatically setting up a virtual environment available, but to make use of this file we first need to install Vagrant and some other prerequisites.

Vagrant

Open https://www.vagrantup.com/, download the most recent version of Vagrant, and install it.

On some linux distributions you can also get Vagrant through your package handler. For example on Ubuntu you should be able to type

sudo apt-get install vagrant

to get started.

Secure shell

On Windows, we also need to install some Linux tools, more specifically a secure shell client (SSH). The simplest way to do this is to install Git for Windows, which you can download and install from https://git-scm.com/download/win.

This will enable us to quickly enter the virtual box using command line tools.

On Linux, this should be installed already by your package manager.

Virtualbox

Vagrant uses a virtual machine behind the scenes, and the OPM vagrant file is based upon Virtualbox. Download and install Virtualbox from its webpages, https://www.virtualbox.org/.

On Linux, this should be installed already by your package manager.

Tip: you might need to enable VT-X in your BIOS, and you might need to turn off Hyper-V in Windows.

Note: You may  need to use the 5.1 version or less of VirtualBox to make it work with the most recent version of Vagrant.  https://www.virtualbox.org/wiki/Download_Old_Builds_5_1