Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP Database download doesn't work #62

Open
alexwmaustin opened this issue Apr 3, 2024 · 2 comments
Open

GeoIP Database download doesn't work #62

alexwmaustin opened this issue Apr 3, 2024 · 2 comments

Comments

@alexwmaustin
Copy link

The GeoIP curl command to download the database wasn't working for me at all.

I did some looking and found the solution. Looking here the curl command has to look like curl -O -J -L -u YOUR_ACCOUNT_ID:YOUR_LICENSE_KEY 'https://download.maxmind.com/geoip/databases/GeoLite2-Country/download?suffix=tar.gz' -o GeoLite2-Country.tar.gz

With your account_id being available at MaxMind, Login click the "My Account" button at the top and "Account ID" will be in the drop down.

This allowed me to curl the database properly, hope this helps.

@MrFinchMkV
Copy link

Nice that you figured that out.
I downloaded it on my personal computer and copied it over.

@FeRChImoNdE
Copy link

FeRChImoNdE commented Apr 27, 2024

Switched curl for wget

wget -O GeoLite2-Country.tar.gz "https://download.maxmind.com/..." <- the same URL that's on the tutorial, including your LICENSE_KEY

Lot easier than curl IMHO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants