1GEOIPUPDATE(1)              General Commands Manual             GEOIPUPDATE(1)
2
3
4

NAME

6       geoipupdate - a program for updating the MaxMind GeoIP databases
7

SYNOPSIS

9       geoipupdate [-v] [-f licensefile]
10

DESCRIPTION

12       geoipupdate  automatically  updates  the  GeoIP database for GeoIP sub‐
13       scribers.  It connects to the MaxMind GeoIP Update  server  and  checks
14       for  an  updated  database.   If  it finds an updated database, then it
15       downloads it, uncompresses it, and installs it.  If you are  running  a
16       firewall, it requires that the DNS and HTTP (80) ports be open.
17
18       For example
19
20       geoipupdate -v
21
22       Performs the update in verbose mode.
23

OPTIONS

25       -v     Verbose mode, prints out the steps that geoipupdate takes.
26
27       -d     Specify   a   custom  directory  target  to  install  the  GeoIP
28              datafile(s).     By    default    geoipupdate    installs     to
29              /usr/share/GeoIP
30
31       -f     Specifies  the configuration file that contains the license key.
32              Defaults to /etc/GeoIP.conf
33

USAGE

35       Typically you'll want to write a weekly crontab that will run  geoipup‐
36       date.   Below is a sample crontab that runs geoipupdate on each Wednes‐
37       day at noon:
38
39              # top of crontab
40
41              MAILTO=your@email.com
42
43              0 12 * * 3 BIN_DIR/geoipupdate
44
45              # end of crontab
46       To use with a proxy server, set the  http_proxy  environment  variable.
47       E.g.
48              export http_proxy="http://proxy-hostname:port"
49

RETURN CODES

51       geoipupdate returns 0 on success, 1 on error.
52

FILES

54       /etc/GeoIP.conf
55
56       Configuration file for GeoIP, should contain license key.
57

AUTHOR

59       Written by T.J. Mather
60

REPORTING BUGS

62       Report bugs to <support@maxmind.com>
63
65       Copyright © 2011 MaxMind, Inc.
66
67       This is free software; see the source for copying conditions.  There is
68       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR
69       PURPOSE.
70

SEE ALSO

72       Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP sub‐
73       scription.
74
75       geoiplookup(1), crontab(5)
76
77
78
794th Berkeley Distribution         5 Oct 2010                    GEOIPUPDATE(1)
Impressum