Previous page

Next page

Locate page in Contents

Print this page

Adding Application EZ Templates to Containers

To add an application EZ template to an existing Container, you should use the vzpkg install command. To successfully add an application EZ template to a Container, this Container must be running. Otherwise, it is impossible to run the installation process in the Container context.

In the example below, the mysql application EZ template meant for the usage with Red Hat Enterprise Linux 5 and already installed on the host is added to Container 101:

# prlctl status 101

CTID 101 exists mounted running

# vzpkg list

redhat-el6-x86 2012-05-21 02:21:56

redhat-el6-x86 mysql

# vzpkg install 101 mysql

Installed:

mysql i386 0:4.1.12-3.RHEL5.1

mysql-bench i386 0:4.1.12-3.RHEL5.1

mysql-devel i386 0:4.1.12-3.RHEL5.1

...