| |||||||||||
|
Setting up a Headless Virtual Machine on a Linux Server Using VirtualBoxThis shows you how to set up a VirtualBox VM on a linux server that has no X Windows installed. This is handy if you have a Linux server but require a Windows one for some reason, and don't want to pay for another server.
# Register the vm's name VBoxManage createvm --name "Windows XP" --register # setup the memory/acpi and boot device for the VM VBoxManage modifyvm "Windows XP" --memory 512 --acpi on --boot1 dvd # This command will make a brided NIC to the real network eth0 # you can then dedicated IP address for the VM VBoxManage modifyvm "Windows XP" --nic1 bridged --bridgeadapter1 eth0 # OR This will make a NATed NIC, to which you will have to forward ports VBoxManage modifyvm "Windows XP" --nic1 nat # give the vm a hard disk VBoxManage storagectl "Windows XP" --name="IDE Controller" --add ide VBoxManage createvdi --filename "WindowsXP-disk01.vdi" --size 10000 --register # and a dvd drive containg the install media VBoxManage modifyvm "Windows XP" --hda "WindowsXP-disk01.vdi" VBoxManage modifyvm "Windows XP" --dvd /path/to/windows_cd.iso # display some info about he vm VBoxManage showvminfo "Windows XP" --details |
|||||||||||
|
Email: info@akm.com.au
© Copyright 2012 AKM Computer Services.
|