Automatic Updates for MaxMind GeoIP free Databases (GeoIP Legacy Databases):
1. Use official MaxMind GeoIP Update program. GeoIP updates require an active GeoIP subscription.
Can find more information at http://dev.maxmind.com/geoip/geoipupdate/
2. Manual download of free (*lite* in terms of MaxMind) databases:
geoipupdate.sh:
#!/bin/sh
GEOIP_MIRROR="https://mailfud.org/geoip-legacy"
GEOIPDIR=/usr/share/GeoIP
TMPDIR=
DATABASES="GeoIP GeoIPv6 GeoIPCity GeoIPCityv6 GeoIPASNum GeoIPASNumv6 GeoIPISP GeoIPOrg"
if [ "${1}" = -f ] || [ "${1}" = --force ]; then
force=true
fi
if [ -d "${GEOIPDIR}" ]; then ...