vbox

授权协议 MIT License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 干永丰
操作系统 跨平台
开源组织
适用人群 未知
 软件概览
       _
__   _| |__   _____  __
\ \ / / '_ \ / _ \ \/ /
 \ V /| |_) | (_) >  <
  \_/ |_.__/ \___/_/\_\

vbox

A streamlined interface forVBoxManage, theVirtualBox command line tool.

vbox wraps VBoxManage, providing a simpler UI with a focus on frequentlyused commands.

Installation

Homebrew

To install with Homebrew:

brew tap xwmx/taps
brew install vbox

npm

To install with npm:

npm install --global vbox.sh

bpkg

To install with bpkg:

bpkg install xwmx/vbox

Manual

To install manually, simply add the vbox script to your $PATH. Ifyou already have a ~/bin directory, you can use the following command:

curl -L https://raw.github.com/xwmx/vbox/master/vbox \
  -o ~/bin/vbox && chmod +x ~/bin/vbox

Usage

Usage:
  vbox commands [--raw]
  vbox config [--path]
  vbox forwarding add <vm-name> <rule-name> <port>
  vbox forwarding list <vm-name>
  vbox forwarding delete <vm-name> <rule-name>
  vbox (help [<command>] | -h | --help)
  vbox kill   (<name> | <uuid>)
  vbox list   [running | status]
  vbox manage [<general option>] <command>
  vbox pause  (<name> | <uuid>)
  vbox reset  (<name> | <uuid>)
  vbox resume (<name> | <uuid>)
  vbox show   (<name> | <uuid>)
  vbox start  (<name> | <uuid>) [--headless]
  vbox status [(<name> | <uuid>) [--long|-l]]
  vbox stop   (<name> | <uuid>)
  vbox (version | --version)

Global Options:
  -h --help  Display this help information.
  --version  Display version information.

Help:
  vbox help [<command>]

Subcommands

commands

Usage:
  vbox commands [--raw]

Options:
  --raw  Display the command list without formatting.

Description:
  Display the list of available commands.

config

Usage:
  vbox config [--path]

Options:
  --path  Print the path to the configuration file, 'VirtualBox.xml'.

Description:
  When no argument has been passed, open the 'VirtualBox.xml' configuration
  file in `$EDITOR`, which is currently set to ''. When the
  `--path` option is specified, the path to 'VirtualBox.xml' is printed.

forwarding

Usage:
  vbox forwarding add <vm-name> <rule-name> <port>
  vbox forwarding list <vm-name>
  vbox forwarding delete <vm-name> <rule-name>

Subcommands:
  add     Add a new port forwarding rule.
  list    List forwarding rules.
  delete  Delete the specified rule.

Description:
  Manage port forwarding.

Example:
  vbox forwarding add "ubuntu-vm" "tcp5000" "5000"

  Equivalent of:
    VBoxManage controlvm ubuntu-vm \
      natpf1 "tcp5000,tcp,127.0.0.1,5000,,5000"

help

Usage:
  vbox help [<command>]

Description:
  Display help information for vbox or a specified command.

kill

Usage:
  vbox kill (<name> | <uuid>)

Description:
  Command: `VBoxManage controlvm <vm> poweroff`

  Has the same effect on a virtual machine as pulling the power cable on a real
  computer. The state of the VM is not saved beforehand, and data may be lost.
  (This is equivalent to selecting the "Close" item in the "Machine" menu of
  the GUI or pressing the window's close button, and then selecting "Power off
  the machine" in the dialog.)

list

Usage:
  vbox list [running | status]

Arguments:
  running  List all running VMs.
  status   Display all VMs with basic status information.

Description:
  List VirtualBox VMs.

manage

Usage:
  vbox manage [<general option>] <command>

Description:
  Alias for `VBoxManage`.

  VBoxManage Documentation:
    https://www.virtualbox.org/manual/ch08.html

pause

Usage:
  vbox pause (<name> | <uuid>)

Description:
  Command: `VBoxManage controlvm <vm> pause`

  Temporarily puts a virtual machine on hold, without changing its state for
  good. The VM window will be painted in gray to indicate that the VM is
  currently paused. (This is equivalent to selecting the "Pause" item in the
  "Machine" menu of the GUI.)

reset

Usage:
  vbox reset (<name> | <uuid>)

Description:
  Command: `VBoxManage controlvm <vm> reset`

  Has the same effect on a virtual machine as pressing the "Reset" button on a
  real computer: a cold reboot of the virtual machine, which will restart and
  boot the guest operating system again immediately. The state of the VM is not
  saved beforehand, and data may be lost. (This is equivalent to selecting the
  "Reset" item in the "Machine" menu of the GUI.)

resume

Usage:
  vbox resume (<name> | <uuid>)

Description:
  Command: `VBoxManage controlvm <vm> resume`

  Undo a previous pause command. (This is equivalent to selecting the "Resume"
  item in the "Machine" menu of the GUI.)

show

Usage:
  vbox show (<name> | <uuid>)

Description:
  Command: `VBoxManage showvminfo <vm>`

  Show information about a particular virtual machine.

start

Usage:
  vbox start (<name> | <uuid>) [--headless]

Description:
  Start the VM with the given name or UUID.

status

Usage:
  vbox status [(<name> | <uuid>) [--long|-l]]

Options:
  -l --long  Display long-form status information for the specified VM.

Description:
  When no argument has been passed, this acts as an alias for
  `vbox list status` and displays the status for all of the VMs. When
  passed a VM name or UUID, the status aka state of that VM is displayed.

stop

Usage:
  vbox stop (<name> | <uuid>)

Description:
  Command: `VBoxManage controlvm <vm> savestate`

  Save the current state of the VM to disk and then stop the VM. (This is
  equivalent to selecting the "Close" item in the "Machine" menu of the GUI or
  pressing the window's close button, and then selecting "Save the machine
  state" in the dialog.)

version

Usage:
  vbox (version | --version)

Description:
  Display the current program version.
  • a)Right click on the Windows button and select ‘Apps and Features’. b)Select Programs and Features on the right under related settings. c)Select Turn Windows Features on or off. d)Select Hyper-V and d

  • 要想放虚拟机自动启动需要使用到VBoxHeadless.exe 文件,按照下面两种方法在vbox3.x下面试验成功。 a. 使用下面脚本能让vbox中的虚拟机自动启动。 建一个叫vbox.bat的文件,填入内容: @ECHO OFF "D:\VirtualBox\VBoxHeadless.exe" -startvm centos5.5 上面的centos5.5是虚拟机的名字。 把这个vbox.ba

  • sudo dpkg -i virtualbox-6.1_6.1.14-140239_Ubuntu_xenial_amd64.deb (正在读取数据库 ... 系统当前共安装有 214443 个文件和目录。) 正准备解包 virtualbox-6.1_6.1.14-140239_Ubuntu_xenial_amd64.deb ... 正在将 virtualbox-6.1 (6.1.14-14023

  • #首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。 #安装linux-headers。 $sudo apt-get install linux-headers-$(uname -r) #安装build-essential(编译环境套件:g++,dpkg-dev,libc6-dev,make) $sudo apt-get install bui

  •       相比于VM那庞大的体积,还是青睐于Vbox那苗条的身材:D 1.不安装X,安装Vbox增强功能(Guest  slackware 13.37,Host  win7) 安装Vbox需要kernel源码包,slackpkg  install kernel 。 点击安装增强功能后,进入虚拟机环境, mount  /dev/sr0 /mnt cd /mnt ./VBoxLinuxAdditio

  • vbox 是由 qemu 改写而成,包含大量 qemu 代码。 可以使用于"不支持"虚拟化技术的cpu。 值得说的一点:vbox 在图形方面比较好,能进行2D 3D加速。 但cpu控制不理想(估计是因为图形支持的缘故)。 操作上有独立的图形界面,易于上手。 kvm 是linux内核包含的东西,使用qemu作为上层管理(命令行)。 要求cpu 必须支持虚拟化。 性能:作为服务器很好,可是图形能力十分

  • 新建好虚拟机(如虚拟机名:mac10.13),启动安装引导程序前关闭并执行以下命令(cmd管理员权限),执行前关闭vbox: cd "C:\Program Files\Oracle\VirtualBox" VBoxManage.exe modifyvm "mac10.13" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxMa

 相关资料
  • 问题内容: 是一个Oracle VirtualBox配套实用程序,它允许通过命令行控制VM。它可以执行许多操作,包括启动/停止和屏幕捕获。 我有兴趣,它使用哪个API? 没有此繁重的命令行实用程序,如何捕获VM屏幕或在那里发送键盘或鼠标命令?哪种语言更好?是否可以使用Java访问此API? 问题答案: 使用开放源代码项目的优点之一是可以通过查看源代码来回答此类问题。 VBoxManage位于/ s

  • 我需要限制节点的子级大小。我的父节点是一个VBox。我试图设置maxWidth,但它不起作用(wide子级不在VBox范围内) 如何将孩子的大小限制在父母的范围内?除了绑定还有别的办法吗? 预期行为:Children maxWidth自动与VBox相同(无需手动设置) 我的代码(fxml):

  • 我正在设计一个javafx应用程序,使用BorderPane作为Rootlayout。单击它时,我需要将borderpane(rootlayout)中心设置为不同的。我想在BorderPane中心点击插入按钮添加一个vbox。 是的,我知道同样的问题已经被问过了,但我执行了给出的解决方案,对我的问题没有帮助。在borderpane中心加载新的fxml JavaFX:如何用新值更新borderpan

  • 主要内容:示例,VBox间距,设置填充和间距VBox布局将子节点堆叠在垂直列中。新添加的子节点被放置在上一个子节点的下面。默认情况下,VBox尊重子节点的首选宽度和高度。 当父节点不可调整大小时,例如节点,最大垂直列的宽度基于具有最大优选宽度的节点。 默认情况下,每个子节点与左上()位置对齐。 示例 以下代码将控件设置为在调整父的高度时垂直增长: 完整的代码如下所示- 上面的代码生成以下结果。 下面的代码使用四个矩形来演示的使用。 上面的代

  • 我在将带有3个按钮的VBox放在BorderPane右侧部分的中心时遇到问题。有没有办法在FXML或CSS中实现这一点? 更新: 这是FXML中的代码 这是CSS文件 以及应用程序的屏幕截图。我希望Vbox位于BorderPate右侧部分的中心。非常感谢您的回复!

  • 我是javafx和fxml的新手,我无法在边框窗格中居中我的项目。 我的fxml如下: 问题似乎是vbox有整个屏幕,里面的项目在top_left。我知道我需要将vbox的宽度设置为最小值,而不是让它在边框中扩展,但是怎么做?? 非常感谢。

  • 我对拉拉维尔真的很陌生,我只是在修复环境。我已经按照本手册中的说明进行了操作https://laravel.com/docs/5.1/homestead直到“启动流浪者箱” 当我运行“流浪者向上”或“家园向上”时,我遇到了这个错误: 我的家园。yaml是: 我试过git方法和composer方法。我已经干了一个星期了。我的电脑支持虚拟机。我查过了。帮助谢谢

  • 我有以下问题。我把这个VBox包装在一个锚窗格中: 我想得到这个vbox的显示高度(即使在例如调整它周围的锚面板大小之后)。) 所以我尝试了以下方法: 但是由于某些原因,getHeight()只返回0。所以我如何得到那个vbox的高度?