Automatic GeoIP database update

MaxMind database updateFree binary GeoLite Country database by MaxMind is being  updated every month. To update it automatically you can  put this script to cron at the beginning of a month.

cd /usr/share/GeoIP
wget -q
gzip -d -f GeoIP.dat.gz

[root@playground ~]# sh -x /usr/local/sbin/ + cd /usr/share/GeoIP + wget -q + gzip -d -f GeoIP.dat.gz 
[root@playground ~]#

That’s it.

Didn’t find the answer to your question? Ask it our administrators to reply we will publish on website.

Leave a Reply

Your email address will not be published. Required fields are marked *