{"id":2023,"date":"2011-09-16T16:53:15","date_gmt":"2011-09-16T16:53:15","guid":{"rendered":"https:\/\/supportex.net\/?p=2023"},"modified":"2019-05-10T18:22:50","modified_gmt":"2019-05-10T16:22:50","slug":"automatic-geoip-database-update","status":"publish","type":"post","link":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/","title":{"rendered":"Automatic GeoIP database update"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3020\" src=\"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\" alt=\"MaxMind database update\" width=\"206\" height=\"80\" \/>Free binary <a href=\"http:\/\/www.maxmind.com\/app\/geolitecountry\">GeoLite Country<\/a> database by MaxMind is being \u00a0updated every month. To update it automatically you can\u00a0 put this script to cron at the beginning of a month.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#!\/bin\/sh\ncd \/usr\/share\/GeoIP\nwget -q http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCountry\/GeoIP.dat.gz\ngzip -d -f GeoIP.dat.gz\n\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@playground ~]# sh -x \/usr\/local\/sbin\/geoip-update.sh + cd \/usr\/share\/GeoIP + wget -q http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCountry\/GeoIP.dat.gz + gzip -d -f GeoIP.dat.gz \n[root@playground ~]#<\/pre>\n<p>That&#8217;s it.<\/p>\n<p><strong>Didn&#8217;t find the answer to your question? <a href=\"\/contacts\/\">Ask it<\/a> our administrators to reply we will publish on website.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Free binary GeoLite Country database by MaxMind is being \u00a0updated every month. To update it automatically you can\u00a0 put this script to cron at the beginning of a month. #!\/bin\/sh cd \/usr\/share\/GeoIP wget -q http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCountry\/GeoIP.dat.gz gzip -d -f GeoIP.dat.gz [root@playground ~]# sh -x \/usr\/local\/sbin\/geoip-update.sh + cd \/usr\/share\/GeoIP + wget -q http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCountry\/GeoIP.dat.gz + gzip -d -f&hellip; <\/p>\n<div class=\"readmore-wrapper\"><a href=\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\" class=\"more-link\">Read <\/a><\/div>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[152],"tags":[275,175],"class_list":["post-2023","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-maxmind"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Automatic GeoIP database update &#8211; Supportex.NET blog<\/title>\n<meta name=\"description\" content=\"How to automatic maxmind geoip database update in Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatic GeoIP database update &#8211; Supportex.NET blog\" \/>\n<meta property=\"og:description\" content=\"How to automatic maxmind geoip database update in Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\" \/>\n<meta property=\"og:site_name\" content=\"Supportex.NET blog\" \/>\n<meta property=\"article:published_time\" content=\"2011-09-16T16:53:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-10T16:22:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"206\" \/>\n\t<meta property=\"og:image:height\" content=\"80\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Oleksii Tykhonov\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oleksii Tykhonov\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\"},\"author\":{\"name\":\"Oleksii Tykhonov\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\"},\"headline\":\"Automatic GeoIP database update\",\"datePublished\":\"2011-09-16T16:53:15+00:00\",\"dateModified\":\"2019-05-10T16:22:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\"},\"wordCount\":55,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\",\"keywords\":[\"linux\",\"MaxMind\"],\"articleSection\":[\"linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\",\"url\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\",\"name\":\"Automatic GeoIP database update &#8211; Supportex.NET blog\",\"isPartOf\":{\"@id\":\"https:\/\/supportex.net\/blog\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\",\"datePublished\":\"2011-09-16T16:53:15+00:00\",\"dateModified\":\"2019-05-10T16:22:50+00:00\",\"author\":{\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\"},\"description\":\"How to automatic maxmind geoip database update in Linux.\",\"breadcrumb\":{\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage\",\"url\":\"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\",\"contentUrl\":\"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/supportex.net\/blog\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic GeoIP database update\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#website\",\"url\":\"https:\/\/supportex.net\/blog\/en\/\",\"name\":\"Supportex.NET blog\",\"description\":\"Server and network management company\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/supportex.net\/blog\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251\",\"name\":\"Oleksii Tykhonov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g\",\"caption\":\"Oleksii Tykhonov\"},\"url\":\"https:\/\/supportex.net\/blog\/author\/oleksiitykhonov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automatic GeoIP database update &#8211; Supportex.NET blog","description":"How to automatic maxmind geoip database update in Linux.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/","og_locale":"en_US","og_type":"article","og_title":"Automatic GeoIP database update &#8211; Supportex.NET blog","og_description":"How to automatic maxmind geoip database update in Linux.","og_url":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/","og_site_name":"Supportex.NET blog","article_published_time":"2011-09-16T16:53:15+00:00","article_modified_time":"2019-05-10T16:22:50+00:00","og_image":[{"width":206,"height":80,"url":"https:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif","type":"image\/gif"}],"author":"Oleksii Tykhonov","twitter_misc":{"Written by":"Oleksii Tykhonov","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#article","isPartOf":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/"},"author":{"name":"Oleksii Tykhonov","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251"},"headline":"Automatic GeoIP database update","datePublished":"2011-09-16T16:53:15+00:00","dateModified":"2019-05-10T16:22:50+00:00","mainEntityOfPage":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/"},"wordCount":55,"commentCount":0,"image":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage"},"thumbnailUrl":"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif","keywords":["linux","MaxMind"],"articleSection":["linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/","url":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/","name":"Automatic GeoIP database update &#8211; Supportex.NET blog","isPartOf":{"@id":"https:\/\/supportex.net\/blog\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage"},"image":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage"},"thumbnailUrl":"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif","datePublished":"2011-09-16T16:53:15+00:00","dateModified":"2019-05-10T16:22:50+00:00","author":{"@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251"},"description":"How to automatic maxmind geoip database update in Linux.","breadcrumb":{"@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#primaryimage","url":"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif","contentUrl":"http:\/\/supportex.net\/blog\/wp-content\/uploads\/2011\/09\/maxmind-logo.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/supportex.net\/blog\/2011\/09\/automatic-geoip-database-update\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/supportex.net\/blog\/en\/"},{"@type":"ListItem","position":2,"name":"Automatic GeoIP database update"}]},{"@type":"WebSite","@id":"https:\/\/supportex.net\/blog\/en\/#website","url":"https:\/\/supportex.net\/blog\/en\/","name":"Supportex.NET blog","description":"Server and network management company","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/supportex.net\/blog\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/0690c26a0266603129fc15eae6243251","name":"Oleksii Tykhonov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/supportex.net\/blog\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4fd5f58002717075c88963469b9babef?s=96&d=mm&r=g","caption":"Oleksii Tykhonov"},"url":"https:\/\/supportex.net\/blog\/author\/oleksiitykhonov\/"}]}},"_links":{"self":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/comments?post=2023"}],"version-history":[{"count":8,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2023\/revisions"}],"predecessor-version":[{"id":3193,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/posts\/2023\/revisions\/3193"}],"wp:attachment":[{"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/media?parent=2023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/categories?post=2023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/supportex.net\/blog\/wp-json\/wp\/v2\/tags?post=2023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}