0

I've got a VPS with CentOS 5 where my company hosts a subversion repo. My problem is I want to install more software on there (like Trac) but I'm having a hard time.

Most tutorials tell me to use yum to install packages, but it has been disabled by the hosting company. They have also disabled compilers, so downloading source and installing that with make is no option either.

I got subversion running after using rpm to install loads of stuff, but now I want to install Trac I can't find the packages I need. It needs python, which needs other libraries, which all seem to require each other...

Am I missing something here? Is there a (easy) way to find and install rpm-packages and all their dependencies?

avdgaag
  • 103
  • 4
  • 5
    so your host disabled yum and compilers on VPS? Seems like a good reason to look for a new host! – Chris_K Aug 07 '09 at 14:35
  • I see my confusion is not that misplaced. I contacted the host earlier and they told me yum was disabled so I could not do stupid things, but I was free to install any software I'd like using rpm. Does that excluse malware or something? I'm thinking I should switch hosts... – avdgaag Aug 07 '09 at 14:38
  • yeah, that's crazy. You're much more likely to screw up the machine with RPM alone than with Yum. I think it's time to find a new host. – user5336 Aug 07 '09 at 15:06
  • so why does the hosting company not want you to retrieve updates, including security updates... my advice: move hosts. – gbjbaanb Aug 07 '09 at 15:37

4 Answers4

1

Yes, it's called Yum :) So why did the hosting company disable yum? The only reason I can think is that they do not want you install software. Maybe the proper course of action is to work with them to get trac installed on your VPS?

Chad Huneycutt
  • 2,116
  • 1
  • 16
  • 14
1

The easy way is called yum :).

Why would yum be disabled on a VPS especially when rpm isn't? Sounds like a recipe to screw up a machine and end up in rpm dependency hell real quick. Are you sure it's a VPS b/c that should be your virtual machine to do what you wish with it.

3dinfluence
  • 12,449
  • 2
  • 28
  • 41
1

How much RAM does your VPS have? Yum is known to puke itself trying to use under 200MB RAM. Seconding 3dinfluence, are you sure this is a VPS? Most VPS providers allow full root access to allow you to install almost any kind of software. A workaround may be to find an RPM for Yum and its dependencies. If you can get that installed you may be able to use Yum. But right now it sounds like you're on the fast track to RPM Hell :)

Boohbah
  • 134
  • 5
  • I did manage to install yum via RPM and it did puke. I guess that is why they made it so hard to get it. Went through RPM hell indeed, but got what I wanted in the end. – avdgaag Aug 12 '09 at 10:41
0

I would try to install yum throught rpm. If this doesn't work try to install CentOS in a local machine and put keepcache=1 in /etc/yum.conf. After "yum install trac", trac and all the dependencies are saved in /var/cache/yum . Upload the rpms to your server and install them with the rpm command.

hdanniel
  • 4,293
  • 23
  • 25