Changes

Jump to navigation Jump to search
How to update the GeoIP database
Line 504: Line 504:  
ln -s ./ Blogs
 
ln -s ./ Blogs
 
ln -s S
 
ln -s S
 +
 +
 +
=== Update IP to country GeoIP database ===
 +
 +
Product Opener uses the free legacy GeoIP Lite database from Maxmind:
 +
* http://search.cpan.org/~maxmind/Geo-IP-1.45/lib/Geo/IP.pm
 +
* http://dev.maxmind.com/geoip/legacy/geolite/
 +
 +
The database installed with apt-get install geoip-database can be very old.
 +
To update manually, download the new databases to:
 +
 +
<pre>
 +
/usr/share/GeoIP# ls -lrt
 +
total 7256
 +
-rw-r--r-- 1 root root 1103675  5 déc.  2013 GeoIPv6.dat
 +
-rw-r--r-- 1 root root  600352  5 déc.  2013 GeoIP.dat
 +
 +
 +
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
 +
gzip -d GeoIP.dat.gz
 +
</pre>

Navigation menu