naslondon.blogg.se

Geoip maxmind
Geoip maxmind




  1. #Geoip maxmind update#
  2. #Geoip maxmind free#

UNZIP=/usr/bin/unzip # change me if you're on Darwin or FreeBSD TAR=/bin/tar # change me if you're on Darwin or FreeBSD

LICENSE= # <<= from ĬURL=/usr/bin/curl # change me if you're on Darwin or FreeBSD

I have a cron job that downloads the MaxMind databases. I don't use the Debian package…rolled my own app. I do remember that it was pretty frustrating. The website is kind of unclear on this and I don't remember what exact steps I took to accomplish this. sw I had this problem too… You have to have an account and a "license key". There's enough here to facilitate adaptation for your own needs. It retrieves all the compressed *tar*s of the **.mmdb** & **.csv** files into **/tmp/GeoLite2** for processing by later stages of the script (I build an SQLite database from the CSV files).

#Geoip maxmind free#

The name of my script is **/srv/geoip/bin/cron/geoipupdate** and it runs at 2am local time every Wednesday (I believe the free databases are updated on Tuesdays).

#Geoip maxmind update#

# update the geoip databases (every Wednesday) I have a *cron* job that downloads the MaxMind databases. I don't use the Debian package.rolled my own app. You have to have an account and a "license key". There's enough here to facilitate adaptation for your own needs.ĭescription I had this problem too. csv files into /tmp/GeoLite2 for processing by later stages of the script (I build an SQLite database from the CSV files). This is the bare bones… It retrieves all the compressed tars of the. The name of my script is /srv/geoip/bin/cron/geoipupdate and it runs at 2am local time every Wednesday (I believe the free databases are updated on Tuesdays). Here's the crontab entry: # update the geoip databases (every Wednesday)Ġ 2 * * 3 nice -n 19 /srv/geoip/bin/cron/geoipupdate I had this problem too… You have to have an account and a "license key".






Geoip maxmind