The new VirtualBox virtual system is installed in CentOS. Today, we plan to download a Windows 7 in CentOS. The following is step 1. prepare windows 7 installation media 2. install virtualbox in centos 3. add Virtual Machine Shell code vboxmanage createvm -- name "w7" -- ostype Windows7 -- register # add storage file www.2cto.com VBoxManage createhd -- filename w7 -- size 20000 # Set system storage controller VBoxManage storagectl "w7 "-- name "IDE Controller" -- add ide -- controller PIIX4 VBoxManage storageattach "w7" -- storagectl "IDE Controller" -- port 0 -- device 0 -- type hdd -- medium "w7.vdi" 4. modify the virtual machine configuration Shell code # modify the memory vboxmanage modifyvm w7 -- memory 1024 -- acpi on vboxmanage modifyvm w7 -- vram 512 # Open the Remote Desktop, the extension package vboxmanage modifyvm w7 -- vrde on -- vrdeport 3390 # sets the Startup Device vboxmanage modifyvm w7 -- boot1 dvd # sets the network configuration vboxmanage modifyvm w7 -- nic1 nat www.2cto.com 5. load the iso image Shell code vboxmanage storageattach "w7" -- storagectl "IDE Controller" -- port 0 -- device 1 -- type dvddrive -- medium/path/to/windows7.iso 6. start the system Shell code vboxmanage startvm w7 -- type headless 7. enable the remote desktop tool to connect to the host where the VM is located