2 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everybody, I'm new to these forums and this is my first post. A couple days ago I was trying to find a simple script that would return an individual's local weather conditions using I.P. based geolocation. After many failed search attempts, I began my quest to create this for myself. I have to... (0 Replies)
Discussion started by: o0110o
0 Replies
2. Post Here to Contact Site Administrators and Moderators
In case you have not noticed, we added GEOIP_COUNTRY_NAME in your navbar welcome message.
So, you should see
"Welcome from Your_Country, Member_Name"
in your top navbar, just for fun :D (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT LINUX
geoipupdate
GEOIPUPDATE(1) General Commands Manual GEOIPUPDATE(1)
NAME
geoipupdate - a program for updating the MaxMind GeoIP databases
SYNOPSIS
geoipupdate [-v] [-f licensefile]
DESCRIPTION
geoipupdate automatically updates the GeoIP database for GeoIP subscribers. It connects to the MaxMind GeoIP Update server and checks for
an updated database. If it finds an updated database, then it downloads it, uncompresses it, and installs it. If you are running a fire-
wall, it requires that the DNS and HTTP (80) ports be open.
For example
geoipupdate -v
Performs the update in verbose mode.
OPTIONS
-v Verbose mode, prints out the steps that geoipupdate takes.
-d Specify a custom directory target to install the GeoIP datafile(s). By default geoipupdate installs to /usr/local/share/GeoIP
-f Specifies the configuration file that contains the license key. Defaults to /usr/local/etc/GeoIP.conf
USAGE
Typically you'll want to write a weekly crontab that will run geoipupdate. Below is a sample crontab that runs geoipupdate on each Wednes-
day at noon:
# top of crontab
MAILTO=your@email.com
0 12 * * 3 BIN_DIR/geoipupdate
# end of crontab
RETURN CODES
geoipupdate returns 0 on success, 1 on error.
FILES
/usr/local/etc/GeoIP.conf
Configuration file for GeoIP, should contain license key.
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2006 MaxMind LLC
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP subscription.
geoiplookup(1), crontab(5)
4th Berkeley Distribution 14 May 2006 GEOIPUPDATE(1)