Changes

From SME Server
Jump to navigationJump to search
754 bytes added ,  15:47, 29 January 2020
Line 13: Line 13:  
Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases. We will continue to offer the GeoLite2 databases without charge, and with the ability to redistribute with proper attribution and in compliance with privacy regulations. In addition, we are introducing a new end-user license agreement to govern your use of the GeoLite2 databases. Previously, GeoLite2 databases were accessible for download to the public on our developer website and were licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
 
Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases. We will continue to offer the GeoLite2 databases without charge, and with the ability to redistribute with proper attribution and in compliance with privacy regulations. In addition, we are introducing a new end-user license agreement to govern your use of the GeoLite2 databases. Previously, GeoLite2 databases were accessible for download to the public on our developer website and were licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
   −
Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL. See the section below for steps on how to migrate to the new download mechanism.
+
Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL.
 
End Quote
 
End Quote
}}
+
 
 +
See the section below [[GeoIP#Installation_and_Updating_of_geoip_v2_db|Installation of V2 db ]] for steps on how to migrate to the new download mechanism.}}
    
===Description===
 
===Description===
Line 40: Line 41:  
Sign up for a MaxMind account (no purchase required) https://dev.maxmind.com/geoip/geoip2/geolite2/  
 
Sign up for a MaxMind account (no purchase required) https://dev.maxmind.com/geoip/geoip2/geolite2/  
   −
Important - Note your login details and in particular your AccountID  
+
Important - Note your login details and in particular your AccountID and LicenseKey
    
Go to Services My Licence key and generate a licence key, carefully note the key details, multiple keys may be created.
 
Go to Services My Licence key and generate a licence key, carefully note the key details, multiple keys may be created.
Line 47: Line 48:  
  AccountID #######
 
  AccountID #######
 
  LicenseKey xxxxxxxxxxxxxxx
 
  LicenseKey xxxxxxxxxxxxxxx
  EditionIDs GeoLite2-City,GeoLite2-Country
+
   
 
   
Because the databases have been updated new perl modules are required to support GeoIP v2. The core modules have a large number of dependencies and we have decided that it is not practical for the Koozali team to maintain them all.
 
Because the databases have been updated new perl modules are required to support GeoIP v2. The core modules have a large number of dependencies and we have decided that it is not practical for the Koozali team to maintain them all.
   Line 72: Line 72:  
     status=enabled
 
     status=enabled
   −
Now add Maxmind AccountID, LicenseKey and EditionIDs properties and keys to the geoip db config
+
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
   −
  db configuration setprop geoip EditionIDs GeoLite2-City,GeoLite2-Country LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
+
  db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
    
====Fresh Installation of geoip v2 DBs====
 
====Fresh Installation of geoip v2 DBs====
Line 84: Line 84:     
  yum install smeserver-geoip2 --enablerepo=smecontribs,openfusion
 
  yum install smeserver-geoip2 --enablerepo=smecontribs,openfusion
yum update --enablerepo=smecontribs,openfusion
   
  config set UnsavedChanges no
 
  config set UnsavedChanges no
   Line 92: Line 91:  
     status=enabled
 
     status=enabled
   −
Now add Maxmind AccountID, LicenseKey and EditionIDs properties and keys to the geoip db config
+
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
   −
  db configuration setprop geoip EditionIDs GeoLite2-City,GeoLite2-Country LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
+
  db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
    
==== I installed the beta versions of smeserver-geoip v2 ====
 
==== I installed the beta versions of smeserver-geoip v2 ====
Line 105: Line 104:  
  yum update --enablerepo=smecontribs,openfusion
 
  yum update --enablerepo=smecontribs,openfusion
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
 +
 +
A configuration db for geoip has been created as part of the install
 +
# config show geoip
 +
geoip=service
 +
    status=enabled
 +
 +
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config. To use the update feature, you need to register for a free Maxmind accoutn and register for a accoutn id and key : https://www.maxmind.com/en/account/login Register and get to "My License Key".    Generating a new license key will not disable existing keys. You can have a  maximum of 25 active license keys at one time.
 +
 +
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
    
==== Update the db ====
 
==== Update the db ====
Line 124: Line 132:     
==Testing==
 
==Testing==
 +
 +
{{Note box| These tests use the V1 DB which will be increasingly out of date.}}
    
Now that the package and database are installed, we can test it (refer to Country Code list at end of page as required).  
 
Now that the package and database are installed, we can test it (refer to Country Code list at end of page as required).  
Line 527: Line 537:  
|
 
|
 
|yes
 
|yes
|https://github.com/maxmind/mod_maxminddb NEED BUILD
+
|https://github.com/maxmind/mod_maxminddb available in smecontribs [[Mod maxminddb|smeserver-mod_maxminddb]]
 
|-
 
|-
 
|opensips-mmgeoip
 
|opensips-mmgeoip
Line 625: Line 635:  
|provided by libmaxminddb-devel (see https://bugzilla.redhat.com/show_bug.cgi?id=1663670)
 
|provided by libmaxminddb-devel (see https://bugzilla.redhat.com/show_bug.cgi?id=1663670)
 
|}
 
|}
 +
you might want to use legacy db updated with recent Maxmind geoilite2, see: https://www.miyuru.lk/geoiplegacy
    
=== Bugs ===
 
=== Bugs ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu