Shell Script To Update MaxMind GeoIP Database

Posted on in Categories Web Server last updated April 6, 2012

First, you need to install MaxMind C Api including geoipupdate utility.

Second, configure /usr/local/etc/GeoIP.conf file with your LicenseKey, UserId and ProductIds. A sample config file:

Put the following script at – /etc/cron.monthly/updategeoip.sh (cron job)

4 comment

Leave a Comment