Previous page

Next page

Locate page in Contents

Print this page

Installing Application EZ Templates on the Server

The same way as you use an OS EZ template in a Virtuozzo system to create any number of Containers on its basis and share its resources, you can use application EZ templates to share application files among any number of Containers.

To install a new application EZ template on the server, you can use the vzpkg install template command. For example, to install the mysql EZ template intended for use on the CentOS 5 distribution, you can execute the following command:

# vzpkg install template mysql-centos-6-x86

Preparing... ################################## [100%]

1:mysql-centos-6-x86 ################################## [100%]

The mysql EZ template is installed into the /vz/template/centos/6/x86/config/app/mysql directory on the server. To check that the installation was successful, you can use the vzpkg list command:

# vzpkg list

centos-6-x86 2012-07-21 02:22:45

centos-6-x86 mysql

As you see, the mysql EZ template is now available on the server and can be added to Containers.