File: geoipupdate.1.in

package info (click to toggle)
geoip 1.4.8+dfsg-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,272 kB
  • sloc: ansic: 19,471; sh: 10,137; cpp: 526; perl: 177; makefile: 133; awk: 13
file content (68 lines) | stat: -rw-r--r-- 1,880 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH GEOIPUPDATE 1 "5 Oct 2010"
.UC 4
.SH NAME
geoipupdate \- a program for updating the MaxMind GeoIP databases
.SH SYNOPSIS
geoipupdate [\-v] [\-f licensefile]
.SH 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 firewall, it requires that the DNS and
HTTP (80) ports be open.
.PP
For example
.PP
.I geoipupdate \-v
.PP
Performs the update in verbose mode.
.PP
.SH OPTIONS
.IP "\-v"
Verbose mode, prints out the steps that geoipupdate takes.
.IP "\-d"
Specify a custom directory target to install the GeoIP datafile(s).  By default geoipupdate installs to DATADIR
.IP "\-f"
Specifies the configuration file that contains the license key.
Defaults to CONF_DIR/GeoIP.conf
.SH USAGE
Typically 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:
.PP
.RS
# top of crontab
.PP
MAILTO=your@email.com
.PP
0 12 * * 3 BIN_DIR/geoipupdate
.PP
# end of crontab
.RE
To use with a proxy server, set the http_proxy environment variable.
E.g.
.RS
export http_proxy="http://proxy-hostname:port"
.RE
.SH RETURN CODES
geoipupdate returns 0 on success, 1 on error.
.SH FILES
.PP
.I CONF_DIR/GeoIP.conf
.PP
Configuration file for GeoIP, should contain license key.
.SH AUTHOR
Written by T.J. Mather
.SH "REPORTING BUGS"
Report bugs to <support@maxmind.com>
.SH COPYRIGHT
Copyright � 2011 MaxMind LLC

This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
Visit <http://www.maxmind.com/app/products> to
sign up for a GeoIP subscription.
.PP
geoiplookup(1), crontab(5)