GEOIPUPDATE(1) General Commands Manual GEOIPUPDATE(1)
geoipupdate - a program for updating the MaxMind GeoIP databases
geoipupdate [-v] [-f licensefile]
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.
Performs the update in verbose mode.
-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/share/GeoIP
-f Specifies the configuration file that contains the license key. Defaults to /etc/GeoIP.conf
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
0 12 * * 3 BIN_DIR/geoipupdate
# end of crontab
To use with a proxy server, set the http_proxy environment variable. E.g.
geoipupdate returns 0 on success, 1 on error.
Configuration file for GeoIP, should contain license key.
Written by T.J. Mather
Report bugs to <firstname.lastname@example.org>
Copyright (C) 2011 MaxMind, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP subscription.
4th Berkeley Distribution 5 Oct 2010 GEOIPUPDATE(1)