

Grab phpVirtualBox from and extract it to your preferred location (you should already have a webserver on the system running and serving content). PhpVirtualBox requires the php-soap module, so make sure to install it: Set up VirtualBox’s web service by creating the /etc/default/virtualbox file with the following content: VBOXWEB_USER=user1Ĭhkconfig vboxweb-service on Set up phpVirtualBox Starting VirtualBox kernel modules Īdd all users which will be using VirtualBox to the vboxusers group:

Trying to register the VirtualBox kernel modules using DKMS Once done, double check that you did not get any module compilation errors these steps should return OKs: If you’re reading this far into the future, you’ll most likely install a newer version… You can now move on with the installation To solve this, either reboot the server to activate the latest kernel or, if some weird instance compels you to use the older kernel, manually download and install it’s headers from the CentOS Vault (replace the version in the link with your own release and architecture):

In some weird instances (you haven’t updated in a long while and a new kernel has been released in the meantime), you will get a different kernel-devel version than the running one, causing VirtualBox installation to fail at compiling the needed modules. Make sure dkms and kernel-devel are installed (as they will be needed for module compilation): Start by adding the VirtualBox repositories in CentOS: VirtualBox seems the best solution for the task so far, as it is capable of running headless on Linux and has an (unofficial but good) web interface to manage it. Unfortunately it was discontinued and I’ve been searching for a headless VM manager for running and remotely managing virtual machines on Linux ever since. VMware Server for Linux was great back in the day.
