For Debian 7 configure the location of the OpenVZ package repository by adding the following line to /etc/apt/sources.list
deb http://download.openvz.org/debian wheezy main
You will need to get and install the OpenVZ archive key to be able to verify packages from the OpenVZ archive:
wget http://ftp.openvz.org/debian/archive.key -q -O - | apt-key add -
For Debian 6 the OpenVZ kernel is available from the Debian archives and requires no additional preperation prior to the installation step below.
HUBzero makes extensive use of OpenVZ containers so it is recommended to use the OpenVZ enabled kernel on all HUBzero servers.
# apt-get install hubzero-openvz
# hzcms configure openvz --enable
If configuration is successful it should prompt you to reboot the server to activate the new kernel.
# vzlist Container(s) not found
Or it will list the containers currently running if you check this on a running hub. The salient point being that the command doesn't issue any kind of error message.