Changes

Jump to: navigation, search

Using vzpkg and vzyum on x86 64

41 bytes added, 18:12, 25 February 2008
m
Setup glossary link for "container"
There is a known problem with <b>vzpkg-2.7.0</b> and <b>vzyum-2.4.0</b> in x86_64 computers:
Vzyum, vzpkgcache and vzrpm are broken in 64 bit systems, so we are unable to create new cache templates in a x86_64 computer or update each [[container ]] using vzyum or vzrpm.
This text describes a work around and a few hacks to get it work flawless.
Until now there is only one <i>side effect</i> detected in this solution:
* The yum cache is not common to all containers[[container]]s. Instead, each [[container ]] has it's own yum cache in the directory <code>/var/cache/yum-cache</code>.
This is a consequence from using the modified vzyum.
<code>cachedir=/var/cache/yum-cache</code>
{{Note| With this changes, vzyum is not going to be able to use a common cache directory to all containers [[container]]s as it was used to do. Each [[container ]] will have it's own cache directory.To avoid to have a directory named /vz/template/centos/4/x86_64/yum-cache in each [[container]], it is preferable to use the correct cache directory /var/cache/yum-cache.}}
===== STEP 10 =====
If you want your containers [[container]]s to have other country locales
edit <code>/vz/template/centos/4/x86_64/config/.rpmmacros</code> and change the line <b>%_install_langs C</b>
to the language you want, for example:
If you see the cache list, then you can create your first [[container]]:
To change the <i>locales</i>, copy <code>/etc/sysconfig/i18n</code> to <code>/vz/private/200/etc/sysconfig</code>, if you wish to use another language and have done STEP 10 previously.
Now start [[container 20 ]] 200 previously created:
vzctl start 200
Try to use vzrpm, to list all rpm's installed in [[container ]] 200:
13
edits

Navigation menu