OpenVZ Forum


Home » General » Support » *CLOSED* Problems with vzyum, vzpkg and templates in a x86_64 machine
Re: *CLOSED* Problems with vzyum, vzpkg and templates in a x86_64 machine [message #11881 is a reply to message #11007] Tue, 10 April 2007 19:46 Go to previous messageGo to previous message
stevier5000 is currently offline  stevier5000
Messages: 1
Registered: April 2007
Location: California
Junior Member
A couple notes on my install. I have a centos 4.4 x86_64 base system, now running openVZ. After the regular openVZ install, and before the specific instructions here, I had to do the following:

wget http://openvz-mirror1.rapidvps.com/template/utils/vzrpm43/cu rrent/vzrpm43-4.3.3-7_nonptl.6.i386.rpm
wget http://openvz-mirror1.rapidvps.com/template/utils/vzrpm43/cu rrent/vzrpm43-python-4.3.3-7_nonptl.6.i386.rpm
wget http://openvz-mirror1.rapidvps.com/template/utils/vzpkg/curr ent/vzpkg-2.7.0-18.noarch.rpm
wget http://openvz-mirror1.rapidvps.com/template/utils/vzyum/curr ent/vzyum-2.4.0-11.noarch.rpm
wget http://openvz-mirror1.rapidvps.com/template/utils/vzrpm44/cu rrent/vzrpm44-python-4.4.1-22.5.i386.rpm
wget http://openvz-mirror1.rapidvps.com/template/utils/vzrpm44/cu rrent/vzrpm44-4.4.1-22.5.i386.rpm
wget http://openvz-mirror1.rapidvps.com/template/metadata/centos- 4/vztmpl-centos-4-2.0-2.i386.rpm



rpm --nodeps -ivh vzyum-2.4.0-11.noarch.rpm
rpm --nodeps -ivh vztmpl-centos-4-2.0-2.i386.rpm
rpm --nodeps -ivh vzpkg-2.7.0-18.noarch.rpm
rpm --nodeps -ivh vzrpm4*



I was also able to create a template with Fedora Core 5, but it took a bit more to get going. I used yum to install the base template (vztmpl-fedora-core-5.i386), and used the same steps in the tutorial above to change i386 to x86_64.

Other necessary steps:

mv /usr/share/vzpkgtools/vzrpm44 /usr/share/vzpkgtools/vzrpm44.orig
ln -s /usr/share/vzpkgtools/vzrpm43 /usr/share/vzpkgtools/vzrpm44

And when creating the new template, it had trouble creating a couple files, so I had to help it out (while running/after starting vzpkgcache):

vzpkgcache -f fedora-core-5-x86_64-minimal
(and in another terminal)
mkdir /vz/root/10001/etc
mkdir -p /vz/root/10001/var/lock/rpm


(Note: afterwards, I am not able to use vzyum to update the fedora VE's. But I added yum to my minimal.list, so I'm find just installing from within the vz.)

Hopefully this helps someone.

[Updated on: Tue, 10 April 2007 19:48]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Different versions of MySQL
Next Topic: kernel ovzkernel-2.6.18_028stab023.1+31 for debian sarge doesn't boot
Goto Forum:
  


Current Time: Sun Sep 01 17:18:27 GMT 2024

Total time taken to generate the page: 0.05678 seconds