Changes

From SME Server
Jump to navigationJump to search
1,047 bytes removed ,  22:57, 28 March 2021
no edit summary
Line 29: Line 29:  
===Installation===
 
===Installation===
   −
==== SME 10 ====
+
= SME 10 =
 
  yum install smeserver-geoip --enablerepo=smecontribs
 
  yum install smeserver-geoip --enablerepo=smecontribs
Then configure your update key, create a Maxmind account and retrieve an  AccountID and LicenseKey properties and keys to the geoip db config
+
Then configure your update key, create a Maxmind account and retrieve an  AccountID and LicenseKey properties and keys to the geoip db config.
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
  −
expand-template /etc/GeoIP.conf
   
You can also leave as is and just get the update from rpms every 2 months or so...
 
You can also leave as is and just get the update from rpms every 2 months or so...
 
<br />
 
<br />
====SME 9====
+
=SME 9=
    
====Installation of legacy geoip v1 db====
 
====Installation of legacy geoip v1 db====
Line 48: Line 46:  
if you have smeserver-geoip-1.1.2-7 already installed,  this will keep you on the legacy version, only change new plugin comaptible with v1 and removal of cron update.
 
if you have smeserver-geoip-1.1.2-7 already installed,  this will keep you on the legacy version, only change new plugin comaptible with v1 and removal of cron update.
 
  yum update --enablerepo=smecontribs
 
  yum update --enablerepo=smecontribs
 +
 +
This is not updated anymore since 2018, you do not need the update key if you want to only use this.
    
====Installation and Updating of geoip v2 db====
 
====Installation and Updating of geoip v2 db====
  −
{{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 and LicenseKey
  −
  −
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.
      
As a result you will now need the OpenFusion repo to install smeserver-geoip We will be syncing their mirror in due course to speed up installs and updates.
 
As a result you will now need the OpenFusion repo to install smeserver-geoip We will be syncing their mirror in due course to speed up installs and updates.
Line 85: Line 71:  
  geoip=service
 
  geoip=service
 
     status=enabled
 
     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 106: Line 88:     
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
 
+
<headertabs />
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
  −
<br />
  −
 
  −
== Configuration ==
      
==== Maxmind account to update db ====
 
==== Maxmind account to update db ====
  −
   
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/
  
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu