OpenVZ Forum


Home » General » Support » Install yum for centos-5-x86_64-minimal template
Install yum for centos-5-x86_64-minimal template [message #25671] Sun, 06 January 2008 23:06 Go to next message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
I'm trying to use this template (centos-5-x86_64-minimal), the VE works, but yum is not included. As I also didn't manage to put vzyum working in the hardware node (also Centos 5), I need to have yum in the VE, can you give any advice on how to do it?

Thanks!
Re: Install yum for centos-5-x86_64-minimal template [message #27320 is a reply to message #25671] Thu, 14 February 2008 16:28 Go to previous messageGo to next message
dnstevenson is currently offline  dnstevenson
Messages: 1
Registered: February 2007
Junior Member
Here's some steps I use for getting yum install on the Centos 5 template.

1. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/python-eleme nttree-1.2.6-5.i386.rpm
2. rpm -Uvh python-elementtree-1.2.6-5.i386.rpm
3. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/python-sqlit e-1.1.7-1.2.1.i386.rpm
4. rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm
5. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/rpm-python-4 .4.2-37.el5.i386.rpm
6. rpm -Uvh rpm-python-4.4.2-37.el5.i386.rpm
7. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/m2crypto-0.1 6-6.el5.1.i386.rpm
8. rpm -Uvh m2crypto-0.16-6.el5.1.i386.rpm
9. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/python-urlgr abber-3.1.0-2.noarch.rpm
10. rpm -Uvh python-urlgrabber-3.1.0-2.noarch.rpm
11. wget http://centos.mirror.nac.net/5.0/os/i386/CentOS/yum-3.0.5-1. el5.centos.2.noarch.rpm
12. rpm -Uvh yum-3.0.5-1.el5.centos.2.noarch.rpm


Hope it helps,
Dave
http://www.silverrack.com
Re: Install yum for centos-5-x86_64-minimal template [message #30235 is a reply to message #27320] Sat, 17 May 2008 21:22 Go to previous messageGo to next message
edramon is currently offline  edramon
Messages: 1
Registered: May 2008
Junior Member
Hi Dave,

I was wondering if you could give me a little help.

I was following your instructions as you wrote them down- thank you.

However when I get to rpm-python-4.4.2-37.el5.i386.rpm I get the following error

error: Failed dependencies:
rpm = 4.4.2-47.el5 is needed by rpm-python-4.4.2-47.el5.i386

Since I am a newbie I was hoping that you and or someone can tell me what i am missing.

- Ed
Re: Install yum for centos-5-x86_64-minimal template [message #30236 is a reply to message #30235] Sat, 17 May 2008 21:34 Go to previous messageGo to next message
mcarreira is currently offline  mcarreira
Messages: 30
Registered: February 2007
Member
This is a known issue in x86_64 systems.
Please read http://wiki.openvz.org/Install_OpenVZ_on_a_x86_64_system_Cen tos-Fedora

Re: Install yum for centos-5-x86_64-minimal template [message #35729 is a reply to message #25671] Sat, 18 April 2009 08:06 Go to previous message
viethungs is currently offline  viethungs
Messages: 1
Registered: April 2009
Junior Member
thank dnstevenson, it work for me. I use centos 5.2 so i change 5.0 in url mirror to 5.2 and everything working fine

Previous Topic: Unable to start VPS
Next Topic: TCP Buffers
Goto Forum:
  


Current Time: Mon Aug 05 18:32:37 GMT 2024

Total time taken to generate the page: 0.03208 seconds