1GEOIPUPDATE(1) General Commands Manual GEOIPUPDATE(1)
2
3
4
6 geoipupdate - a program for updating the MaxMind GeoIP databases
7
9 geoipupdate [-v] [-f licensefile]
10
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
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
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 Wendes‐
37 day at noon:
38
39 # top of crontab
40
41 MAILTO=your@email.com
42
43 0 12 * * 3 /usr/local/bin/geoipupdate
44
45 # end of crontab
46
48 geoipupdate returns 0 on success, 1 on error.
49
51 /etc/GeoIP.conf
52
53 Configuration file for GeoIP, should contain license key.
54
56 Written by T.J. Mather
57
59 Report bugs to <support@maxmind.com>
60
62 Copyright © 2006 MaxMind LLC
63
64 This is free software; see the source for copying conditions. There is
65 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
66 PURPOSE.
67
69 Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP sub‐
70 scription.
71
72 geoiplookup(1), crontab(5)
73
74
75
764th Berkeley Distribution 14 May 2006 GEOIPUPDATE(1)