Changes

From SME Server
Jump to navigationJump to search
536 bytes added ,  15:47, 29 January 2020
Line 41: 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 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 111: Line 110:  
     status=enabled
 
     status=enabled
   −
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
+
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"
 
  db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
Line 133: 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 536: 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 634: 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