3.2. Running OpenVZ in Virtual Machines

Installing OpenVZ in virtual machines may prove useful if you want to evaluate OpenVZ.

To run virtual machines with OpenVZ, the physical server’s procesor(s) must support either of these architectures: Intel VT-x (with "unrestricted guest") and EPT, or AMD-V and RVI. The following hypervisors are supported: Parallels Desktop for Mac, VMware Fusion, VMware Workstation, and VMware ESXi. Make sure that nested virtualization support is enabled in your hypervisor.

The following virtual hardware is recommended for virtual machines with OpenVZ:

  • vCPU: 2 or more
  • RAM: 2 GB or more
  • HDD: 64 GB or more

To install OpenVZ in a VM, copy the distribution ISO image to a local drive and create a new VM from it according to your virtualization software documentation. Start the VM, boot to the OpenVZ installer, and follow the instructions in Section 2.2, “Installing OpenVZ in Graphics Mode”.