lost and found ( for me ? )

Fedora 18 : update GeoIP DB for geoiplookup

To update an GeoIP DB , I need to obtain a license key from www.maxmind.com , which is commercial.

Invalid UserID means that you don’t have a valid license key to get an update.

[root@f18 ~]# geoipupdate
MD5 Digest of installed database is cbf00b75a45aae54cd797ca4c07dbf1e
Invalid UserID

If you have a license key , configure /etc/GeoIP.conf and then issue “geoipupdte” command.

or

You can download Geo Lite DB free of charge.

download Geo Lite DB
[root@f18 hattori]# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
[root@f18 hattori]# gzip -d GeoIP.dat.gz

unzip
[root@f18 hattori]# gzip -d GeoIP.dat.gz

update DB
[root@f18 hattori]# mv GeoIP.dat /usr/share/GeoIP/GeoIP.dat

before updating DB
[root@f18 ~]# geoiplookup -v www.google.com
GeoIP Country Edition: GEO-106FREE 20110601 Build 1 Copyright (c) 2011 MaxMind Inc All Rights Reserved
GeoIP Large Country Edition: GEO-106FREE 20110601 Build 1 Copyright (c) 2011 MaxMind Inc All Rights Reserved

after
[root@f18 hattori]# geoiplookup www.google.com -v
GeoIP Country Edition: GEO-106FREE 20130305 Build 1 Copyright (c) 2012 MaxMind Inc All Rights Reserved
GeoIP Large Country Edition: GEO-106FREE 20130305 Build 1 Copyright (c) 2012 MaxMind Inc All Rights Reserved

[root@f18 hattori]# geoiplookup www.google.com
GeoIP Country Edition: US, United States



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.