Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to install GeoIP on my Redhat x86_64 es5 but im getting errors. The packages im trying to install is:

GeoIP-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm

GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm

And I get this warning: "warning: GeoIP-devel-1.4.7-0.2.20090931cvs.rhel5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID b56a8bac". I have done a google search and people say that I can install it with "yum install GeoIP GeoIP-devel GeoIP-data", but running that gives me a no package available notice.

Is there a kind soul out there that could assist? If you cant, please up vote this so that someone that might will see it!

share|improve this question
    
Guide for anyone in the same situation: –  Peter Johansson Nov 15 '10 at 12:51
    
Get EPEL installed. Then "yum install GeoIP-devel GeoIP-data", then go to WHM, Module Installer, Click on Pecl, search for GeoIP and install. Then install the C library by following this simply guide forum.tufat.com/showthread.php?t=60851 –  Peter Johansson Nov 15 '10 at 12:53

2 Answers 2

up vote 0 down vote accepted

I have previously used this for the same packages.. (EPEL)

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

To search for correct packages try..

yum search geoip

Then simply installing should be as you already have been answered..

Note: when installing the EPEL.. accept the GPG key ( so you dont need to do it on every install)

How do I know that a package is a EPEL package????

All EPEL packages are signed with the EPEL gpg-key. The public key with id 217521F6 is part of the epel-release package; yum will ask you to import it the first time you install a EPEL package.

share|improve this answer
    
Thank you for this helpful respond. Could you please elaborate on exactly how I accept the GPG key? –  Peter Johansson Nov 15 '10 at 11:47
    
It should be a yes or no question ??? are you not offered this choice? –  Arenstar Nov 15 '10 at 11:49
    
Just to note, these instructions helped me do a yum installation of GeoIP, cheers buddy. –  Peter Johansson Nov 15 '10 at 12:15
    
Yes I did get a Yes/No option, but it didnt save it thought. But that is fine, the only thing I got left to install is memcache so choosing Yes another time should not hurt ;) –  Peter Johansson Nov 15 '10 at 12:16
    
Great. so the problem is solved??? :D .. Glad to help... –  Arenstar Nov 15 '10 at 12:33

Those are warnings; receiving them does not indicate that the install failed.

Anyways, it's in EPEL.

share|improve this answer
    
Sorry could you elaborate on EPEL? –  Peter Johansson Nov 14 '10 at 20:06
    
Also, why didnt "yum install GeoIP GeoIP-devel GeoIP-data" work? –  Peter Johansson Nov 14 '10 at 20:06
    
Have you read the article behind the link yet? –  Ignacio Vazquez-Abrams Nov 14 '10 at 20:06
    
Because it's not in the RHEL repositories. –  Ignacio Vazquez-Abrams Nov 14 '10 at 20:07
    
I am trying to make sense of it. Appreciate that I am not that experienced with this, I have mainly followed tutorials to setup my server so my knowledge is limited. Could you please enlight me with what I would need to do? –  Peter Johansson Nov 14 '10 at 20:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.