2016年1月30日星期六

VirtualBox_009:Oracle VM VirtualBox使用指南之九:如何从后台启动虚机?

环境:MAC OS X EI Capitan 10.11.3(主机)+ VirtualBox 5.0.14

1. 查看都有哪些虚机
$ VBoxManage list vms
"Windows 7 (64 bit)" {474a3c6e-4c41-4f7d-ab8f-7e42341f6b1c}
"Database (Oralce MySQL PostgreSQL)" {5f3e2c1d-631e-4fcc-974a-6e312d0fe6e0}
"JB421 Student" {c5c10223-f192-4b91-ba5f-671f96ad3db9}

2. 启动虚机
$ VBoxManage startvm "JB421 Student" --type headless

3. 停止虚机
$ VBoxManage controlvm "JB421 Student" poweroff

参考文献:
1. https://blogs.oracle.com/virtualization/entry/oracle_vm_virtualbox_5_07
2. https://blogs.oracle.com/fatbloke/entry/what_s_new_in_oracle
3. http://superuser.com/questions/135498/run-virtualbox-in-background-without-a-window
4. http://unix.stackexchange.com/questions/128086/how-do-i-start-a-virtual-machine-in-background-upon-osx-system-start

没有评论: