VirtualBox Commands List

Valic —  February 14, 2013 — 1 Comment

If you installed VirtualBox following this guide Run Virtual Machines and you are new to VirtualBox, then the following commands will help you to gather information and control your Virtual machines:

1. How to show the VirtualBox VM info:

[email protected]:~# VBoxManage showvminfo

Where <vmname> is the name of your Virtual Machine

2. How to show the VM Harddrive info:

[email protected]:~# VBoxManage showhdinfo

<filename> is the name of your .vdi file

3. How to list running VM:

[email protected]:~# VBoxManage list runningvms

4. How to list available VM:

[email protected]:~# VBoxManage list vms

5. How to list available VM Harddrives:

[email protected]:~# VBoxManage list hdds

6. How to list all available ISO images:

[email protected]:~# VBoxManage list dvds

7. How to Start a Virtual Machine:

Here you need to use the nohup command and add & to the end of command to run process in background so Virtual Machine will continue to run if you are closing the console. Continue Reading…

In this post I will show you how to manage your VE memory on OpenVZ VPS.

Here are some example commands that will help you to adjust the RAM for  OpenVZ:

256MB Guaranteed, 512MB Burstable
vzctl set 101 --vmguarpages 256M --save
vzctl set 101 --oomguarpages 256M --save
vzctl set 101 --privvmpages 256M:512M --save

512MB Guaranteed, 1024MB Burstable
vzctl set 101 --vmguarpages 512M --save
vzctl set 101 --oomguarpages 512M --save
vzctl set 101 --privvmpages 512M:1024M --save

1024MB Guaranteed, 2048MB Burstable
vzctl set 101 --vmguarpages 1024M --save
vzctl set 101 --oomguarpages 1024M --save
vzctl set 101 --privvmpages 1024M:2048M --save

NOTE: 101 is your VPS veid.

In this tutorial I will show you how you can run virtual machines with VirtualBox  on a Debian Squeeze server and how to manage your virtual machines with phpvirtualbox.
Phpvirtualbox is a web based VirtualBox front-end written in PHP that allows you to access and control remote VirtualBox machines.

Step1. First we need to create an user called Administrator and group with the same name.

[email protected]:~# groupadd administrator
[email protected]:~# useradd -d /home/administrator -m -g administrator -s /bin/bash administrator
[email protected]:~# passwd administrator
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Step2. Install VirtualBox
Add the VirtualBox repository in your sources.list file and download the VirtualBox public key:

echo “deb squeeze contrib non-free” >> /etc/apt/sources.list
wget -q -O- | apt-key add -

Now install VirtualBox using the following command: Continue Reading…

OpenVZ Web Panel is a GUI web-based frontend for controlling of the hardware and virtual servers with the OpenVZ.

 Install OpenVZ Web Panel  on Debian:

chmod +x

Now the web panel will install automatically on your server:

Installation finished.
Product was installed into: /opt/ovz-web-panel/
Starting services…
Starting OpenVZ Web Panel
Starting watchdog daemon…
=> Booting WEBrick…
=> Rails 2.2.2 application started on
[2012-03-02 17:57:30] INFO  WEBrick 1.3.1
[2012-03-02 17:57:30] INFO  ruby 1.8.7 (2010-08-16) [i486-linux]
Syncing physical servers state…
Place hardware daemon on machine with OpenVZ.
To start hardware daemon run:
sudo ruby /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb start
Panel should be available at:


Default credentials: admin/admin
———————————– Continue Reading…

Vzdump is a utility to make consistent snapshots of OpenVZ containers (and KVM virtual machines in case you are using Proxmox VE).

It fundamentally creates a tar archive of the container’s private area which also includes the CT configuration files.

The following steps are for Debian Squeeze Linux but vzdump can be used on all other linux distributions

1. Install Vzdump on Deian Squeeze:

apt-get install vzdump

You can also download and install vzdump from the follwing link:


Continue Reading…

Page 1 of 41234