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 110: |
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 132: |
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 535: |
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 633: |
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 === |