Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As this file is also sometimes updated by MaxMind.com, you may also wish to update it on occasion.

You have two three options to install/update this file:

  1. Attempt to re-run the automatic installer from your DSpace Source Directory ([dspace-source]). This will attempt to automatically download the database file, unzip it and install it into the proper location:

    Code Block
    ant update_geolite
    • NOTE: If the location of the GeoLite Database file is known to have changed, you can also run this auto-installer by passing it the new URL of the GeoLite Database File: ant -Dgeolite=[full-URL-of-geolite] update_geolite
  2. OR, you can manually install the file by performing these steps yourself:
  3. OR, you can combine the two alternatives above, by first downloading the GeoLiteCity.dat.gz file to a location accessible to you, and then configure a .dspace.properties file in your home folder. For example, create a .dspace.properties file in the home folder of the user who is running ant to deploy dspace, and add the following line to it:
Code Block
languagetext
title.dspace.properties
geolite=file:///path/to/your/downloaded/GeoLiteCity.dat.gz

This leaves the original downloading behavior intact, but overrides the URL for the GeoLite Database file from the mamind.com site to your own location. This typically speeds up the "download" step to about 1 second.