Shell Script To Update MaxMind GeoIP Database

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/ (cron job)

Share this on:

4 comment

    Have a question? Post it on our forum!