Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User Guide/Installation and Preliminary Operations

921 bytes removed, 16:33, 27 April 2009
Installing OS Templates: simplify
=== Installing OS Templates ===
Template (or package set) is a set of package files to be installed into a VPSContainer. Operating system templates are used to create new Virtual Private Servers Containers with a pre-installed operating system. Therefore, you are bound to download at least one OS template from http:and put it into <code>/vz/openvz.orgtemplate/downloadcache/template</ and install it.OS template metadata contain the information needed to create a template cache. You have to specify an OS template code> directory on the VPS creation, so you need to install the metadata for at least one OS template and prepare the template cacheHardware Node.
Links to all available OS templates at listed at [[Download/template/precreated]]. For example, this is how to download the CentOS 5 OS template preparation for Fedora Core 3 will look like:
<pre>
# rpm –ihv vztmpl-fedora-core-3-1.0-2.noarch.rpmcd /vz/template/cachePreparing... ########################################### [100%] 1wget http: vztmpl-fedora-########################################### [100%]# vzpkgcacheCreating cache for fedora-core-3 OS templateSetting up install process<…some output skipped for clarity…>Packing cache file fedora-core-3//download.taropenvz.gz ...Cache file fedoraorg/template/precreated/centos-core5-3x86.tar.gz [130M] created.
</pre>
The first command installs the template metadata, while the second one creates the template cache. Note that this operation can take a considerable time (tens of minutes).
You can also use one of the already pre-cached OS templates available at http://openvz.org/download/template/cache/ for the VPS creation. To this effect, you should download the corresponding OS template and place it to the /vz/template/cache directory on the Node.
<noinclude>{{UG/Footer}}</noinclude>