GeoIP : Update the country database

By | April 7, 2011

There is the procedure to update the free MaxMind GeoIP database :

Go to temp directory and get the latest data :

cd /tmp
wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

Unpack the data file :

gzip -d GeoIP.dat.gz

Move the data to the appropriate directory :

mv -f GeoIP.dat /usr/share/GeoIP/GeoIP.dat