Installing YUM on a VPS Server [Network Solutions]

- Fedora -

After an extremely frustrating day yesterday, I finally slowed down long enough this morning to successfully get YUM installed on my Fedora Core 6 Network Solutions VPS server. Here’s how I did it:

BACKUP YOUR SERVER FIRST. NO WARRANTY ON THIS FIX.

Step 1: Find out info about your server.

  • Is it 32 bit or 64bit? Source

    Type:

    uname -a

    It will return something like this:

    Linux example.com 2.6.17.8-node22 #2 SMI Tue Aug 11 19:14:36 UTC 2009 i686 GNU/Linux

    If it’s i686, i586, etc., it’s 32 bit. If it’s x86_64, it’s 64 bit architecture.

  • What distro are you using? Look for release file in /etc/

    For example:

    vi /etc/fedora-release

    Fedora Core release 6 (Zod)

In our case it’s 64bit FC6 with Network Solutions.

Step 2: Figure out which RPMS you want:

32 bit RPMS: http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/i386/os/Fedora/RPMS/
64 bit RPMS: http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/

Step 3: Downloading and installing RPMS:

Here are the commands I used to download each RPM and install it. I used trial and error, but this will keep you from having to do that.

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/yum-3.0-6.noarch.rpm

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/python-elementtree-1.2.6-5.x86_64.rpm

#rpm -ivh python-elementtree-1.2.6-5.x86_64.rpm

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/python-sqlite-1.1.7-1.2.1.x86_64.rpm

#rpm -ivh python-sqlite-1.1.7-1.2.1.x86_64.rpm

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/rpm-python-4.4.2-32.x86_64.rpm

#rpm -ivh rpm-python-4.4.2-32.x86_64.rpm

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/python-urlgrabber-2.9.9-2.noarch.rpm

#rpm -ivh python-urlgrabber-2.9.9-2.noarch.rpm

#wget http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/x86_64/os/Fedora/RPMS/yum-metadata-parser-1.0-8.fc6.x86_64.rpm

#rpm -ivh yum-metadata-parser-1.0-8.fc6.x86_64.rpm

#rpm -Uvh yum-3.0-6.noarch.rpm

I hope this helps someone out there!

Author:  Crimm

Software engineer (PHP, Bat, VBS), Sr. Systems Admin, Techie, Father, Gamer, Anime watcher (Wannabe Otaku), & full of geek!

  • Nat

    Awesome!!! Thank you!

    I am so disappointed in Network Solutions for not helping me with this via their free support. I knew this was a 2 minute problem that they generated. You’d think with the price jump from a shared site to a vps they’d at least give you what you had before. These bozos turned me back to the stone age and now they want to charge me $50 per 1/2 hour to get me back where I started from. I’m still working my way towards full restoration but this definitely solved the yum stuff and I’ve been googling for hours, filtering dead-end solutions. Why Network Solutions would handicap me like this I have no idea but if I notice it’s a habit I’ll be calling up their competition asap.

    I’m very gracious for your post. Thank you so much for sharing! As your salutation states “I hope this helps someone out there!” It definite helped me and I’m sure others too but I needed to respond not only thank you but also to vent a little about Network Solutions entrapment issues. I’m a web designer. I want to spend time working on my site, not doing their job, that’s what I’m paying for in the first place. Now they want you to pay extra cause they gave you an empty server. Whoever thought that up needs to get corrected. Seriously hurt my loyalty and whether I would recommend them to others.

    Thanks again