VirtualBox虚拟机后台运行方法
How do you use VirtualBox to run in the background?
VirtualBox is the virtual machine I used for t port Numbers to specify a range
"TCP/Address" - interface IP the VRDE s erver
Will bind to
-capture Record the VM screen output to a file
-w, -width Frame width when recording
-h, 一 height Frame height when recording
-r, bitrate Recording bit rate when Recording
-f, - filename File name when recording. The codec
Used will be chosen based on the
The file extension
It' s true that he has the same startvm as VBoxManage to understand! ~ ha ha
So I modify the VBS
DIM objShell
Set objShell = wscript. createobject (" wscri. shell ")
Content from dedeems
IReturn = objShell. Run "VBoxHeadless - startvm hadoop”, 0, TRUE (Windows 7)
Save, run start. VBS! There is nothing to reflect that the process has a VBoxHeadless
Ping the virtual machine
C: \ Users \ IXR > ping 10. 0. 0. 100
Ping with 32-byte data:
Reply from 10. 0. 0. 100: byte = 32 time
Reply from 10. 0. 0. 100: byte = 32 time
Reply from 10. 0. 0. 100: byte = 32 time
Start, hehe SSH connection! '
VirtualBox virtual machine background method to August 31, 2010 for KVM is the default virtual machine runs in the background, even close the window won' t shut down the virtual machine, this feature is very good, but VirtualBox default cannot, sometimes we may restart X, had to shut down the virtual machine at this moment, if you can let the VirtualBox also runs in the background, will be convenient for many, the following simple introduce VBoxManage simple commands to implement this feature First, create a virtual machine using graphics, and, of course, you can create a virtual machine using VBoxManage, but it's relatively tedious and unadvised.
After you have created, start the virtual machine using the following command
Code: VBoxManage startvm < vm_name > - type VRDP
If you want to connect to the virtual machine, you only need to enter
Code: rdesktop 127. 0. 0. 1:338
VirtualBox虚拟机后台运行方法 来自淘豆网www.taodocs.com转载请标明出处.