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.

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…

Create a Virtual Server:
Once you have OpenVZ installed you will be able to begin the process of installing individual containers.

Using the vzctl command you will be able to create a virtual server.

vzctl create 102 –ostemplate debian-6.0-x86 –config basic
Creating container private area (debian-6.0-x86)
Performing postcreate actions
Container private area was created

The following setting provides for the VE to start on boot:

vzctl set 102 –onboot yes –save

vzctl set 102 –hostname  debian-tutorials –save
Continue Reading…

Installing WebVZ

Step 1. First we need some prerequisites:

apt-get install  irb1.8 libopenssl-ruby1.8 libreadline-ruby1.8 rdoc1.8 ruby rubygems libsqlite3-ruby sqlite3

Step 2. Next we will download and install WebVZ in the directory /usr/local/webvz:

cd /usr/local
tar xvfz webvz.2.0.tar.gz
mv webvz.2.0 webvz
cd webvz

Step 3. We need to create some symlinks for webvz to work

ln -s /var/lib/vz /vz
ln -s /usr/bin/irb1.8 /usr/bin/irb
mkdir /etc/sysconfig
ln -s /etc/vz/conf /etc/sysconfig/vz-scripts

Step 4. Now we can install WebVZ as follows:

Continue Reading…

Page 1 of 212