Skip to main content
Skip table of contents

Setting Up The DATPROF VM (Oracle VirtualBox)

Virtualize’s core principles revolve around performing tasks within a virtual machine. Because there are a couple of technologies which we’re reliant on within this virtual machine, DATPROF distributes a VM image as a part of the software package. While creating and using your own virtual machine is technically possible, we don’t recommend or support this due to the inherent complexity of networking and software dependencies.

About the VM

The virtual machine image we supply is a .ova file. This is a file format for VM images that is natively supported by multiple different tools, and as such Oracle VirtualBox is only one of the possible tools you can use to deploy this.

Importing the image

Once you’ve obtained the VM image, open Oracle VirtualBox Manager. Then, follow these steps:

  1. In the top-right corner, press File → Import Appliance…

  2. In the subsequent menu, input the path to your .ova file under the File.. field.

You should now see the following configuration screen for the virtual machine image:


Virtual Appliance Settings

In general, common sense should be used when configuring the above, depending on how much load you assume your application will endure. For an initial setup we recommend two CPU cores, and a minimum RAM of 4GB. It’s important to confirm that Import hard drives as VDI is ticked under the Additional Options menu, as this enables us to resize them later.

These image parameters can be adjusted later during actual usage, so don’t worry too much about estimating actual CPU/RAM usage up-front!

Another thing we need to configure is the size of our virtual disks. To do this, press File → Tools.. → Virtual Media Manager. Here, you’ll see all your currently configured virtual disks.


Here, datprof-virtualize-1_disk1.vdi is the disk that actually contains our BTRFS filesystem, and is the disk where our database data will be stored. You can adjust this as needed to fit enough space for your databases. For an initial setup, we recommend setting this to 15GB by using the Size slider, and pressing Apply.

As your database grows, you’ll need to increase this disk size!

Additional Required Settings

Once a VM has been imported, select the VM in the main menu, and press Settings → System. Here, tick the “Enable EFI (special OSes only)“ option.

After this, press File → Tools.. → Network Manager in the main menu. In the subsequent networking menu, press Create to create a new Host-Only Ethernet Adapter.

Copy the following configuration:


Once the above has been configured, we can select our VM, and press Settings → Network. Here, change the adapter to a Host-only Adapter, and select the newly configured adapter from the drop-down box under the Name field.


Starting the VM

Once the above steps have been completed, you can select the VM image in the main menu of Oracle VirtualBox Manager, and press Start. The VM will now launch a new dialog screen, in which various settings will be set as part of a first time setup.

Once this is done, you’ll be granted with the following console line:

< VM_name > login:

datprof-virtualize-1 login:

Here, you can simply input datprof , followed by a password, which is also datprof. As soon as this is done, you’ll be greeted by the following:


From this point onwards, the VM is up and running. To make connecting to the VM more straightforward, we recommend editing the Windows host file to supply a DNS name for our locally hosted VM.

Setting a fixed IP

Now that the VM is running, we need to execute a script on the virtual machine. To do this, simply input the following command:

setup-fixed-ip script

After this, you’ll need to supply the following values:

    - Hostname: datprof-vm 
    - IP:
    - Gateway:
    - DNS: empty, press enter to pass.

You’ll now see the script set a number of environment settings. Once this is done, the user is prompted to restart the VM. You can do this by executing the following command:


Editing Host Directory

In order to give our VM a DNS name that we can use to connect, we need to edit the windows host file with a basic text editor. The hosts file is usually located in the following location:


Here, simply add the following line:

Example: datprof-vm

First Time Setup in Runtime

In runtime, open the Virtualize menu, and press Connect Container Host in the top-right corner. Then, you should see the following:


Here, supply the following:

  • Name: any name you prefer for the VM.

  • Host: datprof-vm

  • Port: 2376

  • Password: any password that is:

    • 8 characters long,

    • contains at least one uppercase letter,

    • and contains at least one special character.

Once this is done, press Save. If all the previous steps were correctly followed, you should see the following first-time setup being done:


From this point onwards, you should be able to connect to the Virtualize VM, and use Virtualize functionality.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.