MyCave

VirtualBox - headless

I don't have linux on my desktop machine but i do most of the work at home with it. But i don't like the windows solution for working with php and git so VirtualBox-Headless linux server.

Install a low resource linux( my case ubuntu-server) server on a new virtualbox image with name for example "ubuntu-server".

Then i created two shortcuts.


For ubuntu-server-start shortcut in Target put :

C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm ubuntu-server --type headless

For ubuntu-server-stop shortcut in Target put:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm ubuntu-server savestate

If you made the virtual image with different name just change it in:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm ubuntu-server --type headless

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm ubuntu-server savestate