Learn about Centmin Mod LEMP Stack today
Become a Member

Master Branch part 4 update Centmin Mod's Maxmind GeoLite2 database routines in 123…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 6, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    60,092
    12,584
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,238
    Local Time:
    3:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    part 4 update Centmin Mod's Maxmind GeoLite2 database routines in 123.09beta01

    Add maxmind geolite2 database API download routine.

    When MM_LICENSE_KEY is set in persistent config file at /etc/centminmod/custom_config.inc, download urls will be set to following variables

    maxmind_city_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$MM_LICENSE_KEY&suffix=tar.gz"
    maxmind_country_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=$MM_LICENSE_KEY&suffix=tar.gz"
    maxmind_asn_url="https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=$MM_LICENSE_KEY&suffix=tar.gz"

    When MM_LICENSE_KEY is not set, download urls will be set to following variables using last publicly available Dec 23, 2109 version until you set MM_LICENSE_KEY that is

    maxmind_city_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-City.tar.gz'
    maxmind_country_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-Country.tar.gz'
    maxmind_asn_url='https://centminmod.com/centminmodparts/geoip2-lite/GeoLite2-ASN.tar.gz'

    Continue reading...

    Centmin Mod Github Master branch


    Master branch is where most recent commits are made as at May 24, 2015.