On Sat, Mar 07, 2020 at 01:25:40PM +0530, Ashim Kapoor wrote:
> I have some more queries.
> 
> I am not sure as to what is happening on this page:-
> 
> https://github.com/DSpace/DSpace/pull/2632
> 
> Looks like they have removed the ant update_geolite for Dspace 7.

Correct.  MaxMind provide their own tool (geoipupdate) which
implements their new requirement for authentication when downloading.
The tool may already be available in your OS' package manager.  CentOS
has it (so presumably Red Hat does also.)  Debian has it (and thus
Ubuntu does).  Gentoo has it.

> I am on Dspace 6.3. Is it enough for me to download manually the
> Geolite2-city.mmdb file and place it in this path :-
> [dspace]/config/GeoLite2-City.mmdb

Yes.  Do note that, when you signed up for a MaxMind account, you
agreed to keep your copy of the database updated.

An alternative would be to let 'geoipupdate' download a copy of the
database where it will, and configure DSpace to use that copy by
setting the value of 'usage-statistics.dbfile' in config/local.cfg to
point to that copy.  'geoipupdate' stores the local database copy at
the path indicated by 'DatabaseDirectory' in '/etc/GeoIP.conf'.

I have a 'cron' job set up to run 'geoipupdate' twice a month, to keep
the database updated.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/20200309145945.GC20427%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to