1. Linux installation VBox, skip
2. View installed extensions
Vboxmanage List Extpacks
3. Create a VM:
Vboxmanage createvm--name "TESTVM"--register
4. Modify VM Properties:
Vboxmanage modifyvm "TESTVM"--memory 1024x768--acpi on--boot1 DVD--nic1 bridged--bridgeadapter1 eth0--ostype Ubuntu
5. Create a VM virtual hard disk:
Vboxmanage createvdi--filename ~/virtualbox\ VMS/TESTVM/TESTVM-DISK01.VDI--size 10000
6. Modify the virtual hard disk properties:
Vboxmanage storagectl "TESTVM"--name "IDE Controller"--add IDE
7. Link the ISO file:
Vboxmanage Storageattach "TESTVM"--storagectl "IDE Controller"--port 0--device 0--type HDD--medium ~/virtualbox\ VMs/ Testvm/testvm-disk01.vdi
Vboxmanage Storageattach "TESTVM"--storagectl "IDE Controller"--port 1--device 0--type dvddrive--medium/iso/ubuntu-1 2.04.1-server-i386.iso
8. Start the virtual machine:
Vboxheadless--STARTVM "TESTVM" &
Vboxheadless--STARTVM "TESTVM"-E "tcp/ports=4444" & # Vrde Port 4444
Vboxheadless--STARTVM "TESTVM"--vrde off & # force off Vrde default 3389 port
9. Link Vrde Server:
? rdesktop-a <IP_address_host_machine:port_number>
Reference Source: http://xmodulo.com/2013/05/how-to-create-and-start-virtualbox-vm-without-gui.html
〖linux〗 use pure command line to manipulate VBox (host does not need X11 Server)