VirtualBox admin using phpvirtualbox (2017)

IT Tips
Following on from my previous guide VirtualBox admin using phpVirtualBox, Smart Guide Pty Ltd have taken over support and released a new version :) This guide explains how you can run administer VirtualBox 5.2 on a headless Ubuntu server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. 1. Preliminary: - Install your server environment (I chose Ubuntu) - Install VirtualBox 5.2 (VirtualBox 5.2 on Ubuntu 17.10) 2 Start VirtualBox Web Services Create the file /etc/default/virtualbox and put the line VBOXWEB_USER=vbox in it (so that the VirtualBox SOAP API which is called vboxwebsrv runs as the user vbox): echo '# virtualbox defaults file' | sudo tee /etc/default/virtualbox echo 'VBOXWEB_USER=vbox' | sudo tee -a /etc/default/virtualbox Next create the system startup…
Read More

VirtualBox 5.2 headless on Ubuntu 17.10

IT Tips
Following on from my previous guide VirtualBox Headless on Ubuntu 16.04 I have now updated this for Ubuntu 17.10 as I got a new server :) This guide explains how you can run virtual machines with VirtualBox 5.2 on a headless Ubuntu 17.10 server. Normally you use the VirtualBox GUI to manage your virtual machines, but a server does not have a desktop environment. Fortunately, VirtualBox comes with a tool called VBoxHeadless that allows you to connect to the virtual machines over a remote desktop connection, so there's no need for the VirtualBox GUI. 1 Preliminary Note I have tested this on a freshly installed Ubuntu 17.10 server (host system) where I'm logged in as a normal user. The only option chosen during the install was SSHD Server. After initial…
Read More