Changes

From SME Server
Jump to navigationJump to search
98 bytes added ,  00:41, 5 January 2019
Line 10: Line 10:     
{{Note box|Maxmind have removed support for their legacy v1 DBs and an update to v2 DBs is required. Please see the bugtracker link to bug #9033 below for more information }}
 
{{Note box|Maxmind have removed support for their legacy v1 DBs and an update to v2 DBs is required. Please see the bugtracker link to bug #9033 below for more information }}
 +
 +
 +
 +
===Installation and Updating===
    
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.
    
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.
 
+
  yum  --enablerepo=smeaddons install smeserver-extrarepositories-openfusion  
  yum  --enablerepo=smeaddons install smeserver-extrarepositories-openfusion
+
  signal-event yum-modify  
  signal-event yum-modify
   
  config set UnsavedChanges no
 
  config set UnsavedChanges no
  −
The openfusion repo now includes a number of packages as includes and Excludes, this is to prevent inadvertent system updates occurring when updating the old v1 DB package resulting in unstable or inaccessible systems, this is all they are for. These can be seen here:
  −
  −
db yum_repositories show openfusion
  −
  −
===Installation and Updating===
      
=====Updating with v1 DBs installed=====
 
=====Updating with v1 DBs installed=====
Line 47: Line 44:  
  yum update smeserver-geoip --enablerepo=smecontribs,openfusion (preferred method)
 
  yum update smeserver-geoip --enablerepo=smecontribs,openfusion (preferred method)
 
  yum update --enablerepo=smecontribs,openfusion
 
  yum update --enablerepo=smecontribs,openfusion
 +
config set UnsavedChanges no
   −
then
+
==== Update the db ====
 
  signal-event geoip-update
 
  signal-event geoip-update
   Line 58: Line 56:     
This contrib adds a template to /etc/crontab to automatically update the database once a month. It's set to do so at midnight on the 5th of each month. If you have a paid subscription through the maintainer of this database (http://dev.maxmind.com/geoip/geoipupdate/) you can update more often. If you do want to update more often, you will have to create a custom template to handle the change. In addition, you will be supplied login credentials that have to be inserted into the file /etc/GeoIP.conf for the update to complete. The file is not templated so it will survive reboots. Use your favorite text editor to insert the information into this file.
 
This contrib adds a template to /etc/crontab to automatically update the database once a month. It's set to do so at midnight on the 5th of each month. If you have a paid subscription through the maintainer of this database (http://dev.maxmind.com/geoip/geoipupdate/) you can update more often. If you do want to update more often, you will have to create a custom template to handle the change. In addition, you will be supplied login credentials that have to be inserted into the file /etc/GeoIP.conf for the update to complete. The file is not templated so it will survive reboots. Use your favorite text editor to insert the information into this file.
 +
 +
==== More info on openfusion repo config ====
 +
 +
The openfusion repo now includes a number of packages as includes and Excludes, this is to prevent inadvertent system updates occurring when updating the old v1 DB package resulting in unstable or inaccessible systems, this is all they are for. These can be seen here:
 +
db yum_repositories show openfusion
    
==Testing==
 
==Testing==
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu