Changes

From SME Server
Jump to navigationJump to search
652 bytes added ,  20:18, 23 March 2013
Line 28: Line 28:     
- [[User:unnilennium|unnilennium]]
 
- [[User:unnilennium|unnilennium]]
 +
 +
 +
be aware that some versions of geoip will expect databases at another place, here is a modified version of  cron part to avoid this :
 +
 +
# Updating the GeoIP database monthly on the 5th at 0:00h.
 +
  0 0 5 * * root /usr/bin/wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O /var/lib/GeoIP/GeoIP.dat.gz; /bin/gunzip -f /var/lib/GeoIP/GeoIP.dat.gz; cp /var/lib/GeoIP/*.dat /usr/share/GeoIP/
 +
  0 0 5 * * root /usr/bin/wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -O /var/lib/GeoIP/GeoIPCity.dat.gz; /bin/gunzip -f /var/lib/GeoIP/GeoIPCity.dat.gz; cp /var/lib/GeoIP/*.dat /usr/share/GeoIP/
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,249

edits

Navigation menu