geoipupdate (1) - Linux Man Pages
geoipupdate: a program for updating the MaxMind GeoIP databases
geoipupdate - a program for updating the MaxMind GeoIP databases
SYNOPSISgeoipupdate [-v] [-f licensefile]
DESCRIPTIONgeoipupdate 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 firewall, it requires that the DNS and HTTP (80) ports be open.
Performs the update in verbose mode.
- Verbose mode, prints out the steps that geoipupdate takes.
- Specify a custom directory target to install the GeoIP datafile(s). By default geoipupdate installs to /usr/share/GeoIP
- Specifies the configuration file that contains the license key. Defaults to /etc/GeoIP.conf
USAGETypically you'll want to write a weekly crontab that will run geoipupdate. Below is a sample crontab that runs geoipupdate on each Wednesday at noon:
# top of crontab
MAILTO=your [at] email.com
0 12 * * 3 BIN_DIR/geoipupdate
# end of crontab
- export http_proxy="http://proxy-hostname:port"
RETURN CODESgeoipupdate returns 0 on success, 1 on error.
Configuration file for GeoIP, should contain license key.
AUTHORWritten by T.J. Mather
REPORTING BUGSReport bugs to <support [at] maxmind.com>
COPYRIGHTCopyright © 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 PARTICULAR PURPOSE.
SEE ALSOVisit <http://www.maxmind.com/app/products> to sign up for a GeoIP subscription.