〖linux〗 using pure command line to operate VBox (host does not need X11 Server)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.