Changes

From SME Server
Jump to navigationJump to search
2,656 bytes added ,  09:28, 22 January 2020
Line 6: Line 6:  
=== Version ===
 
=== Version ===
 
{{#smeversion: smeserver-geoip }}
 
{{#smeversion: smeserver-geoip }}
 +
 +
{{Warning box|From MAXMIND site :
 +
"Due to upcoming data privacy regulations, we are making significant changes to how you access free GeoLite2 databases starting December 30, 2019. Learn more on our blog." https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
 +
 +
Quote
 +
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.
 +
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 28: Line 39:  
{{Note box| GeoIP2 will ONLY work on x64 CPU}}
 
{{Note box| GeoIP2 will ONLY work on x64 CPU}}
    +
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
 +
 +
Go to Services My Licence key and generate a licence key, carefully note the key details, multiple keys may be created.
 +
 +
The following config property keys and values will be used to set the geoip config db for ongoing updates see below
 +
AccountID #######
 +
LicenseKey xxxxxxxxxxxxxxx
 +
 
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 34: Line 55:  
  signal-event yum-modify  
 
  signal-event yum-modify  
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
 +
 
====Updating to v2 with v1 DBs installed====
 
====Updating to v2 with v1 DBs installed====
 
If you have the v1 DBs package smeserver-geoip-1.1.2-7 already installed and do not wish to update to v2 DBs you may perform updates safely, after making sure your smeserver-extrarepositories-openfusion is the latest, the following:
 
If you have the v1 DBs package smeserver-geoip-1.1.2-7 already installed and do not wish to update to v2 DBs you may perform updates safely, after making sure your smeserver-extrarepositories-openfusion is the latest, the following:
Line 44: Line 66:  
  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
 +
 +
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 55: Line 86:  
  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
 +
 +
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 65: Line 105:  
  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
 +
 +
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
    
==== Update the db ====
 
==== Update the db ====

Navigation menu