Starting VirtualBox as a headless server

nohup VBoxHeadless --startvm <guestvmname> &

Explanation:

nohup – (NoHangups) Keep the process running, even when the terminal is closed
<guestvmname> – the name of the VM you wish to start
& – run the process in the background