{"id":1886,"date":"2013-05-17T10:10:11","date_gmt":"2013-05-17T09:10:11","guid":{"rendered":"http:\/\/www.jmarior.net\/itank\/?p=1886"},"modified":"2013-05-17T12:10:46","modified_gmt":"2013-05-17T11:10:46","slug":"como-actualizar-la-base-de-datos-de-geoip-en-debianubuntu","status":"publish","type":"post","link":"https:\/\/www.jmarior.net\/itank\/como-actualizar-la-base-de-datos-de-geoip-en-debianubuntu\/","title":{"rendered":"C\u00f3mo actualizar la base de datos de GeoIP en Debian\/Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/www.jmarior.net\/itank\/files\/piwik-1.11.1-geoip-real-time-map.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1889\" alt=\"piwik-1.11.1 geoip real-time map\" src=\"https:\/\/www.jmarior.net\/itank\/files\/piwik-1.11.1-geoip-real-time-map.png\" width=\"536\" height=\"298\" srcset=\"https:\/\/www.jmarior.net\/itank\/files\/piwik-1.11.1-geoip-real-time-map.png 1894w, https:\/\/www.jmarior.net\/itank\/files\/piwik-1.11.1-geoip-real-time-map-300x167.png 300w, https:\/\/www.jmarior.net\/itank\/files\/piwik-1.11.1-geoip-real-time-map-1024x570.png 1024w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/a><br \/>\nCada vez utilizo m\u00e1s <a title=\"Piwik anal\u00edtica web\" href=\"http:\/\/piwik.org\/\">Piwik como entorno de anal\u00edtica web<\/a>. Una de sus caracter\u00edsticas m\u00e1s recientes es la geolocalizaci\u00f3n en tiempo real de los visitantes mediante la base de datos de direcciones IP GeoIP con el m\u00f3dulo PHP\u00a0php5-geoip o el m\u00f3dulo PECL de Apache2. <!--more--><\/p>\n<p>Asumiendo que teneis instalado GeoIP por alguno de los m\u00e9todos anteriores (ver enlaces al pie), os apunto <strong>c\u00f3mo actualizar la base de datos de GeoIP en sistemas GNU\/Linux Debian o Ubuntu<\/strong>.<\/p>\n<p><code># cd \/usr\/share\/GeoIP<br \/>\n#\u00a0wget -q http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCountry\/GeoIP.dat.gz<br \/>\n# mv GeoIP.dat GeoIP.dat.old<br \/>\n#\u00a0gzip -d GeoIP.dat.gz<\/code><\/p>\n<p>V\u00eda <a title=\"www.electrictoolbox.com\" href=\"http:\/\/www.electrictoolbox.com\/update-geoip-dat-debian-5\/\">www.electrictoolbox.com<\/a><br \/>\n<a title=\"How to Install, Setup and Test GeOIP support in PHP on Apache2 in Debian Lenny Linux\" href=\"http:\/\/pc-freak.net\/blog\/how-to-install-and-setup-and-test-geoip-support-in-php-on-apache2-in-debian-lenny-linux\/\"><br \/>\nHow to Install, Setup and Test GeOIP support in PHP on Apache2 in Debian Lenny Linux<\/a><br \/>\n<a title=\"How to install PHP Pecl GeoIP on Linux\" href=\"http:\/\/www.webnol.org\/how-to-install-php-pecl-geoip-on-linux\/\">How to install PHP Pecl GeoIP on Linux<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cada vez utilizo m\u00e1s Piwik como entorno de anal\u00edtica web. Una de sus caracter\u00edsticas m\u00e1s recientes es la geolocalizaci\u00f3n en tiempo real de los visitantes mediante la base de datos de direcciones IP GeoIP con el m\u00f3dulo PHP\u00a0php5-geoip o el m\u00f3dulo PECL de Apache2.<\/p>\n","protected":false},"author":2,"featured_media":1889,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1880,1881,123,1620,88,41],"class_list":["post-1886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-itank-ideas","tag-geoip","tag-geolocalizacion","tag-gnu-linux","tag-piwik","tag-tiempo-real","tag-ubuntu"],"views":1861,"_links":{"self":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts\/1886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/comments?post=1886"}],"version-history":[{"count":0,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/posts\/1886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/media\/1889"}],"wp:attachment":[{"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/media?parent=1886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/categories?post=1886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmarior.net\/itank\/wp-json\/wp\/v2\/tags?post=1886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}