Editing User Guide/Installation and Preliminary Operations
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 167: | Line 167: | ||
=== Installing OS Templates === | === Installing OS Templates === | ||
− | Template is a set of package files to be installed into a | + | Template (or package set) is a set of package files to be installed into a VPS. Operating system templates are used to create new Virtual Private Servers with a pre-installed operating system. Therefore, you are bound to download at least one OS template from http://openvz.org/download/template/ and install it. |
+ | OS template metadata contain the information needed to create a template cache. You have to specify an OS template on the VPS creation, so you need to install the metadata for at least one OS template and prepare the template cache. | ||
− | + | For example, this is how the template preparation for Fedora Core 3 will look like: | |
− | |||
− | For example, this is how | ||
<pre> | <pre> | ||
− | # | + | # rpm –ihv vztmpl-fedora-core-3-1.0-2.noarch.rpm |
− | # | + | Preparing... ########################################### [100%] |
+ | 1: vztmpl-fedora-########################################### [100%] | ||
+ | # vzpkgcache | ||
+ | Creating cache for fedora-core-3 OS template | ||
+ | Setting up install process | ||
+ | <…some output skipped for clarity…> | ||
+ | Packing cache file fedora-core-3.tar.gz ... | ||
+ | Cache file fedora-core-3.tar.gz [130M] created. | ||
</pre> | </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> | <noinclude>{{UG/Footer}}</noinclude> |