Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Using vzpkg and vzyum on x86 64

409 bytes added, 18:07, 30 January 2011
no edit summary
This is intended to work in a host with Centos-4, Centos-5, Fedora Core 5, Fedora Core 6, RHEL 4 or any other RPM based based system with python 2.2, 2.3 or 2.4 version.
Last Revision: 11[[User:55Mcarreira|Mcarreira]] 18:07, 5 Mar 2009 30 January 2011 (ESTUTC
== THE PROBLEM ==
* Read carefully the [[Quick installation]] page and install the openvz kernel, configure the bootloader, change sysctl.conf, and finally reboot your system the way it is described there.
* Download the file [http://linux.carreira.com.pt/ovzutils/setx86_64-0.56.tar.gz setx86_64-0.56] and then untar and run the script:
<pre>
tar xzvf setx86_64-0.56.tar.gz
sh setx86_64
</pre>
</code>
{{ Note: |In setx86-0.3 setx86_64 script, all the vztemplates available in openvz.org site are downloaded and used to build x86_64 templates, ready to be used.}}
In other Operating Systems or other versions, you must verify which python version is installed in the host system.
Depending on that, the 32 bit files to be replaced are different (read the setx86_64-0.3 script, line 320 334 to line 345358, to understand how it is done).
Change the next lines:
<b> -Line 97:</b>
{{Note| '''ve-vps.basic.conf-sample''' is now renamed '''ve-basic.conf-sample''' (see bug:[[ http://bugzilla.openvz.org/show_bug.cgi?id=1694 ]]) }}
 
<pre>
change: VECFGSAMPLE=$VECFGDIR/ve-vps.basic.conf-sample
to: VECFGSAMPLE=$VECFGDIR/ve-basic.conf-sample
append: if ! [ -f "$VECFGSAMPLE" ]; then VECFGSAMPLE="$VECGFDIR/ve-vps.basic.conf-sample"; fi
</pre>
<b> -Line 136:</b>
12
edits