You are here

INSTALL.txt in GeoIP API 7

Same filename and directory in other branches
  1. 5 INSTALL.txt
  2. 6 INSTALL.txt
  3. 7.2 INSTALL.txt
Database Files
--------------------
Before using this module, you will need to:

1. Download one of the GeoLite database files:
   GeoLite Country binary format database
   - Information: http://www.maxmind.com/app/geolitecountry
   - Download: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
                 OR
   GeoLite City binary format database
   - Information: http://www.maxmind.com/app/geolitecity
   - Download: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

2. Use gunzip to uncompress the file:
     gunzip GeoIP.dat.gz

3. Create a 'sites/all/libraries/geoip' directory.

4. Move the uncompressed database to the 'sites/all/libraries/geoip' directory. 

5. Profit!

Updates
--------------------
Both of the Lite databases are updated monthly. The module will prompt 
administrators to update if the timestamp on the data file is older than one
month. Simply replace the database file(s) with the latest one from the MaxMind
site.

File

INSTALL.txt
View source
  1. Database Files
  2. --------------------
  3. Before using this module, you will need to:
  4. 1. Download one of the GeoLite database files:
  5. GeoLite Country binary format database
  6. - Information: http://www.maxmind.com/app/geolitecountry
  7. - Download: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
  8. OR
  9. GeoLite City binary format database
  10. - Information: http://www.maxmind.com/app/geolitecity
  11. - Download: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
  12. 2. Use gunzip to uncompress the file:
  13. gunzip GeoIP.dat.gz
  14. 3. Create a 'sites/all/libraries/geoip' directory.
  15. 4. Move the uncompressed database to the 'sites/all/libraries/geoip' directory.
  16. 5. Profit!
  17. Updates
  18. --------------------
  19. Both of the Lite databases are updated monthly. The module will prompt
  20. administrators to update if the timestamp on the data file is older than one
  21. month. Simply replace the database file(s) with the latest one from the MaxMind
  22. site.