<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Maxmind&#8217;s GeoIP.dat.gz location change</title>
	<atom:link href="http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/</link>
	<description>An open-source software and technology related journal</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:35:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Oliver Schad</title>
		<link>http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/#comment-18953</link>
		<dc:creator>Oliver Schad</dc:creator>
		<pubDate>Fri, 30 Sep 2011 01:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=670#comment-18953</guid>
		<description>Small enhancements for the script (untested)
----------------------------------
#! /bin/sh
# download data rate limit
LIMIT=&quot;100k&quot;
# tmp file for storing downloads
OUTPUT=$(mktemp)
# delete tmp output
function cleanup {
   rm &quot;$OUTPUT&quot;
}
function download {
   # download and uncompress with one command
   wget --limit-rate=$LIMIT &quot;$1&quot; -O /dev/stdout &#124; zcat &gt; &quot;$OUTPUT&quot;
   # do update atomically
   mv &quot;$OUTPUT&quot; &quot;$2&quot;
}
# cleanup after ctrl+c and kill
trap cleanup SIGINT SIGTERM
# Update GeoLite Country (GeoIP default), uncompress directly
update http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz \
/usr/share/GeoIP/GeoIP.dat
# Update GeoLite City
update http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz \
/usr/share/GeoIP/GeoLiteCity.dat
cleanup
----------------------------------------------------------------</description>
		<content:encoded><![CDATA[<p>Small enhancements for the script (untested)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#! /bin/sh</p>
<p># download data rate limit<br />
LIMIT=&#8221;100k&#8221;</p>
<p># tmp file for storing downloads<br />
OUTPUT=$(mktemp)</p>
<p># delete tmp output<br />
function cleanup {<br />
   rm &#8220;$OUTPUT&#8221;<br />
}</p>
<p>function download {<br />
   # download and uncompress with one command<br />
   wget &#8211;limit-rate=$LIMIT &#8220;$1&#8243; -O /dev/stdout | zcat &gt; &#8220;$OUTPUT&#8221;<br />
   # do update atomically<br />
   mv &#8220;$OUTPUT&#8221; &#8220;$2&#8243;<br />
}</p>
<p># cleanup after ctrl+c and kill<br />
trap cleanup SIGINT SIGTERM</p>
<p># Update GeoLite Country (GeoIP default), uncompress directly<br />
update <a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz" rel="nofollow">http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz</a> \<br />
/usr/share/GeoIP/GeoIP.dat</p>
<p># Update GeoLite City<br />
update <a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz" rel="nofollow">http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz</a> \<br />
/usr/share/GeoIP/GeoLiteCity.dat</p>
<p>cleanup<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Notaras</title>
		<link>http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/#comment-11563</link>
		<dc:creator>George Notaras</dc:creator>
		<pubDate>Thu, 27 Nov 2008 13:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=670#comment-11563</guid>
		<description>@BOK: You are right. I added the script, which shows the URLs
@joost: Exactly
Thanks for the feedback</description>
		<content:encoded><![CDATA[<p>@BOK: You are right. I added the script, which shows the URLs<br />
@joost: Exactly</p>
<p>Thanks for the feedback</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/#comment-11561</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Thu, 27 Nov 2008 10:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=670#comment-11561</guid>
		<description>i think this is the new one:
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/</description>
		<content:encoded><![CDATA[<p>i think this is the new one:<br />
<a href="http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/" rel="nofollow">http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BOK</title>
		<link>http://www.g-loaded.eu/2008/11/27/maxminds-geoip-dat-gz-location-change/#comment-11559</link>
		<dc:creator>BOK</dc:creator>
		<pubDate>Thu, 27 Nov 2008 10:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.g-loaded.eu/?p=670#comment-11559</guid>
		<description>It would be appreciated if you could give your readers the correct URL to the new GeoIP.dat.gz! ;-)</description>
		<content:encoded><![CDATA[<p>It would be appreciated if you could give your readers the correct URL to the new GeoIP.dat.gz! ;-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

