<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>George TasioulisGeorge Tasioulis - How To guides and other interesting stuff from my everyday work</title>
	<atom:link href="http://georgetasioulis.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://georgetasioulis.com</link>
	<description>How To guides and other interesting stuff from my everyday work</description>
	<lastBuildDate>Sat, 14 Apr 2012 11:34:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Setup WordPress CDN with Dediserve</title>
		<link>http://georgetasioulis.com/setup-wordpress-cdn-on-dediserve-or-onapp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setup-wordpress-cdn-on-dediserve-or-onapp</link>
		<comments>http://georgetasioulis.com/setup-wordpress-cdn-on-dediserve-or-onapp/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 10:45:36 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[dediserve]]></category>
		<category><![CDATA[onapp]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1180</guid>
		<description><![CDATA[My blog is running on a blazing fast Litespeed-powered server which is located in London, but because most of my visitors are from the US (check out this cool infographic!), I always wanted to setup CDN to speed things up for them too. A CDN can offer tremendous WordPress performance improvements and by utilizing the [...]]]></description>
			<content:encoded><![CDATA[<p>My blog is running on a blazing fast <a href="http://georgetasioulis.com/recommends/fusionednet/" target="_blank">Litespeed-powered server</a> which is located in London, but because most of my visitors are from the US (check out this cool <a href="http://media1.georgetasioulis.com/wp-content/uploads/2012/04/2012-04-13-10.24.35.jpg">infographic</a>!), I always wanted to setup CDN to speed things up for them too. A CDN can offer tremendous <a href="http://georgetasioulis.com/tag/wordpress/" target="_blank">WordPress performance</a> improvements and by utilizing the W3 Total Cache plugin you <a href="http://georgetasioulis.com/tag/wordpress/" target="_blank">optimize WordPress</a> from it&#8217;s core.<br />
Since there wasn&#8217;t any related documentation available, <a href="http://georgetasioulis.com/recommends/dediserve/" target="_blank">Dediserve</a> was very kind to offer me a free first month on their CDN service to test things out.</p>
<h2>What is a CDN</h2>
<p>A <a href="http://en.wikipedia.org/wiki/Content_delivery_network" target="_blank">CDN</a> is a global network of caching servers and smart DNS routing that delivers your content and media to your users from the closest possible location. The result is the fastest possible load times, better Google rankings and less load on your servers!<br />
When US visitors view my blog, images are served from the UK, making it a long way from the visitor to the server. By implementing a CDN, edge servers located all around the world serve those images from the nearest location to the visitor. Dediserve is running on the <a href="http://onapp.com/cdn/" target="_blank">OnApp CDN</a> engine, and has over 60 locations all around the world at the time of writing.<br />
<a href="http://cdn.georgetasioulis.com/wp-content/uploads/2012/04/onapp-cdn-pop-map-29-03-12x.png"><img src="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/onapp-cdn-pop-map-29-03-12x-584x435.png" alt="" title="OnApp CDN Network" width="584" height="435" class="aligncenter size-large wp-image-1185" /></a> <span id="more-1180"></span></p>
<h2>Let&#8217;s get started &#8211; Setup the WordPress CDN resource</h2>
<p>First of all, in order to setup CDN for your website, you&#8217;ll need access to your DNS records. I&#8217;ll cover the process with cPanel, but it should be as easy with any other hosting control panel, otherwise just ask your host to add the records to your zone.</p>
<p>I&#8217;m assuming you&#8217;ve already ordered your <a href="http://georgetasioulis.com/recommends/dediserve/" target="_blank">Dediserve CDN</a> service so from within the <em>Client Area</em>, navigate to <em>CDN</em>, and click on <em>Add new resource</em>.<br />
<a href="http://cdn.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve.png"><img src="http://media1.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve-584x370.png" alt="" title="Dediserve - Add new resource" width="584" height="370" class="aligncenter size-large wp-image-1187" /></a></p>
<p>On the next page, specify the WordPress CDN hostname (eg. cdn.yourdomain.com), the origin domain (eg. www.yourdomain.com), select the Edge Groups which you want to cache your data and click on <em>Create CDN Resource</em>. I&#8217;m just using the <em>Global</em> option there, but you can select anything according to your needs. For example if you only have visitors from the US, and your server is located in LA, you can create a CDN resource for USA Central, and another one for USA East Coast.<br />
<a href="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve-1.png"><img src="http://cdn.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve-1-584x444.png" alt="" title="Dediserve - Add CDN Service" width="584" height="444" class="aligncenter size-large wp-image-1189" /></a></p>
<p>Now note the CNAME, we&#8217;ll going to add it to our DNS Zone settings.<br />
<a href="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve-2.png"><img src="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Service-Details-Dediserve-2-584x363.png" alt="" title="Dediserve - Service Details" width="584" height="363" class="aligncenter size-large wp-image-1188" /></a></p>
<p>I&#8217;ve repeated the same steps 2 times more, to create media1.georgetasioulis.com and media2.georgetasioulis.com to better <a href="https://developers.google.com/speed/docs/best-practices/rtt?hl=sv#ParallelizeDownloads" target="_blank">parallelize downloads across hostnames</a>.</p>
<h2>Add the CNAME records</h2>
<p><em>If you&#8217;ve got cPanel just continue reading, otherwise skip this part and either use your control panel&#8217;s DNS functionality, or contact your host to add the CNAME for you.</em></p>
<p>Login into cPanel and click on Simple DNS Zone Editor.<br />
<a href="http://cdn2.georgetasioulis.com/wp-content/uploads/2012/04/cPanel-X.png"><img src="http://cdn2.georgetasioulis.com/wp-content/uploads/2012/04/cPanel-X-584x594.png" alt="" title="cPanel - Simple DNS Zone Editor" width="584" height="594" class="aligncenter size-large wp-image-1190" /></a></p>
<p>On the <em>Add a CNAME section</em>, type the name (in my case cdn.georgetasioulis.com.) and CNAME from Dediserve. Here&#8217;s the complete list of my CNAMEs.<br />
<a href="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-10.14.12-AM.png"><img src="http://cdn2.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-10.14.12-AM-584x593.png" alt="" title="cPanel - DNS Management" width="584" height="593" class="aligncenter size-large wp-image-1191" /></a></p>
<h2>Wait!</h2>
<p>Now we&#8217;ll just wait for the DNS changes to propagate around the web. This can take anywhere from a few minutes to 12-24 hours, depending on the TTL configuration of your DNS records.</p>
<h2>Configure W3 Total Cache</h2>
<p>I assume you&#8217;ve already have W3 Total Cache installed and configured for Page/DB Caching, so now just enable <strong>CDN</strong> and check the <em>Generic Mirror</em> option.<br />
<a href="http://media1.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.00.08-PM.png"><img src="http://media1.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.00.08-PM-584x391.png" alt="" title="W3 Total Cache - CDN" width="584" height="391" class="aligncenter size-large wp-image-1193" /></a></p>
<p>Next, click on the CDN tab, and configure the General settings as below (or you can make your own adjustments of course)<br />
<a href="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.05.57-PM.png"><img src="http://cdn.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.05.57-PM-584x343.png" alt="" title="W3 Total Cache - CDN General Settings" width="584" height="343" class="aligncenter size-large wp-image-1195" /></a></p>
<p>&#8230;and add the CNAME(s) you created on the previous steps.<br />
<a href="http://media1.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.04.27-PM.png"><img src="http://media2.georgetasioulis.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-13-at-12.04.27-PM-584x234.png" alt="" title="W3 Total Cache - CDN CNAME" width="584" height="234" class="aligncenter size-large wp-image-1194" /></a></p>
<p>Click on <em>Save all changes</em>, head over to the <strong>General</strong> tab and click on <em>Empty all caches</em> and you&#8217;re done!</p>
<h2>Final thoughts</h2>
<p>Implementing a WordPress CDN solution is very easy, and offers a huge speed improvement especially on users on different continents than the one your webserver is located. My front page now loads in 2s (from all 3 checkpoints) according to <a href="http://tools.pingdom.com/fpt/" target="_blank">Pingdom Tools Full Page Test</a> compared to 4s (from Amsterdam) and 5-6s (from the two USA checkpoints) before.<br />
<a href="http://georgetasioulis.com/recommends/dediserve/" target="_blank">Dediserve</a> also offers very competitive CDN pricing, charging a flat monthly fee of 4,95EUR plus 0,05EUR per GB. That&#8217;s 3-4 times cheaper than other Pay as you Go CDN providers like MediaTemple or SoftLayer (0.15/GB and 0.20/GB respectively).</p>
<p>Thanks for reading, if you were looking for a CDN solution for your WordPress blog, I highly recommend Dediserve, and in case you come up with any issues feel free to post a comment here (or you can always contact Dediserve&#8217;s top notch Support department <img src='http://media2.georgetasioulis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/setup-wordpress-cdn-on-dediserve-or-onapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centova Cast: Upgrade from Trial to Monthly/Owned License</title>
		<link>http://georgetasioulis.com/centova-cast-upgrade-from-trial-to-monthly-or-owned-license/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centova-cast-upgrade-from-trial-to-monthly-or-owned-license</link>
		<comments>http://georgetasioulis.com/centova-cast-upgrade-from-trial-to-monthly-or-owned-license/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 10:44:16 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[centova cast]]></category>
		<category><![CDATA[shoutcast]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1153</guid>
		<description><![CDATA[After trialing Centova Cast v2.2.6 for a few days, I decided to move on and purchase a paid monthly license. Since a new license key needed to be purchased, I started searching about a way to replace my license key on my current installation, but unfortunately I couldn&#8217;t find any clear instructions. By combining information [...]]]></description>
			<content:encoded><![CDATA[<p>After trialing <a href="http://www.centova.com/" target="_blank">Centova Cast</a> v2.2.6 for a few days, I decided to move on and purchase a paid monthly license. Since a new license key needed to be purchased, I started searching about a way to replace my license key on my current installation, but unfortunately I couldn&#8217;t find any clear instructions.</p>
<p>By combining information from a few forum posts and knowledge base articles from their website, I finally found a way to do it.</p>
<ol>
<li>Download their <a href="http://www.centova.com/clientdist/cc-license-update2.zip">license key update utility</a></li>
<li>Unzip the contents of the file to the root directory of your Centova Cast web files (eg. /var/www/ or /home/[username]/public_html/)</li>
<li>Launch the script in your broswer: If Centova Cast is installed at http://radio.domain.com then you should launch http://radio.domain.com/licenseupdate.php</li>
<li>Copy the license key of your newly purchased license from your <a href="https://secure.centova.com/cp/" target="_blank">Centova Cast Client Area</a> and click the <strong>Update Key </strong>button.</li>
<li>SSH to your server and run the command below:<br />
<pre class="brush: bash; title: ; notranslate">/home/centovacast/system/runascc/runascc exec ccmanage reissuelicense radio.domain.com</pre><br />
(replace radio.domain.com with your FQDN you used when purchasing your license)</li>
</ol>
<p>You should receive output similar to the following:<br />
<pre class="brush: bash; title: ; notranslate">INF License reissuance forced; renewing license information (this may take a few moments) &amp;#8230;&lt;br /&gt;
OK Key updated; new renewal date: 2012-03-07 10:13:39</pre><br />
Your license key is now updated and you&#8217;re ready to roll. Happy <a href="http://www.fusioned.net/" target="_blank">streaming</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/centova-cast-upgrade-from-trial-to-monthly-or-owned-license/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analytiks v1.5 is coming soon</title>
		<link>http://georgetasioulis.com/analytiks-v1-5-is-coming-soon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=analytiks-v1-5-is-coming-soon</link>
		<comments>http://georgetasioulis.com/analytiks-v1-5-is-coming-soon/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 00:36:39 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[analytiks]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1139</guid>
		<description><![CDATA[The developers of @analytiksapp just tweeted that they have submitted Analytiks v1.5 to the App Store, so I guess it&#8217;s a matter of a day or two until it&#8217;s available on our iPhones. I just can&#8217;t wait for the new release! Bellow is a preview of one of the new features; an infographic generator based [...]]]></description>
			<content:encoded><![CDATA[<!-- tweet id : 144902518353301504 --><style type='text/css'>#bbpBox_144902518353301504 a { text-decoration:none; color:#7b92a9; }#bbpBox_144902518353301504 a:hover { text-decoration:underline; }</style><div id='bbpBox_144902518353301504' class='bbpBox' style='padding:20px; margin:5px 0; background-color:#f2f2f2; background-image:url(http://a1.twimg.com/images/themes/theme14/bg.gif);'><div style='background:#fff; padding:10px; margin:0; min-height:48px; color:#ffffff; -moz-border-radius:5px; -webkit-border-radius:5px;'><span style='width:100%; font-size:18px; line-height:22px;'>New Analytiks v1.5 submitted. This is the most advanced version ever</span><div class='bbp-actions' style='font-size:12px; width:100%; padding:5px 0; margin:0 0 10px 0; border-bottom:1px solid #e6e6e6;'><img align='middle' src='http://cdn2.georgetasioulis.com/wp-content/plugins/twitter-blackbird-pie//images/bird.png' /><a title='tweeted on December 8, 2011 10:13 pm' href='http://twitter.com/#!/analytiksapp/status/144902518353301504' target='_blank'>December 8, 2011 10:13 pm</a> via web<a href='https://twitter.com/intent/tweet?in_reply_to=144902518353301504&related=georgetasioulis' class='bbp-action bbp-reply-action' title='Reply'><span><em style='margin-left: 1em;'></em><strong>Reply</strong></span></a><a href='https://twitter.com/intent/retweet?tweet_id=144902518353301504&related=georgetasioulis' class='bbp-action bbp-retweet-action' title='Retweet'><span><em style='margin-left: 1em;'></em><strong>Retweet</strong></span></a><a href='https://twitter.com/intent/favorite?tweet_id=144902518353301504&related=georgetasioulis' class='bbp-action bbp-favorite-action' title='Favorite'><span><em style='margin-left: 1em;'></em><strong>Favorite</strong></span></a></div><div style='float:left; padding:0; margin:0'><a href='http://twitter.com/intent/user?screen_name=analytiksapp'><img style='width:48px; height:48px; padding-right:7px; border:none; background:none; margin:0' src='http://a1.twimg.com/profile_images/1273495912/twitter_icon_1__normal.png' /></a></div><div style='float:left; padding:0; margin:0'><a style='font-weight:bold' href='http://twitter.com/intent/user?screen_name=analytiksapp'>@analytiksapp</a><div style='margin:0; padding-top:2px'>Analytiks App</div></div><div style='clear:both'></div></div></div><!-- end of tweet -->
<p>The developers of @analytiksapp just tweeted that they have submitted <a href="http://analytiksapp.com/" target="_blank">Analytiks</a> v1.5 to the App Store, so I guess it&#8217;s a matter of a day or two until it&#8217;s available on our iPhones. I just can&#8217;t wait for the new release! Bellow is a preview of one of the new features; an infographic generator based on your Google Analytics stats. If you still haven&#8217;t got the Analytiks on your iPhone, go grab it from the <a href="http://itunes.apple.com/us/app/analytiks/id427268553?mt=8&#038;ls=1" target="_blank">App Store</a> now. Some of the best well spent $0,99 <img src='http://media2.georgetasioulis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://media2.georgetasioulis.com/wp-content/uploads/2011/12/analytiks.png"><img src="http://media1.georgetasioulis.com/wp-content/uploads/2011/12/analytiks-584x839.png" alt="" title="analytiks" width="584" height="839" class="aligncenter size-large wp-image-1140" /></a></p>
<p>PS: I&#8217;m in no way affiliated with Analytiks, just a happy user.</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/analytiks-v1-5-is-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Unknown table engine &#8216;INNODB&#8217; error on Munin</title>
		<link>http://georgetasioulis.com/fix-unknown-table-engine-innodb-error-on-munin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-unknown-table-engine-innodb-error-on-munin</link>
		<comments>http://georgetasioulis.com/fix-unknown-table-engine-innodb-error-on-munin/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 01:43:20 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1133</guid>
		<description><![CDATA[In newer MySQL versions, if you have InnoDB disabled, Munin will fail to run giving you the following error: root@myserver [~]# munin-run mysql_connections DBD::mysql::st execute failed: Unknown table engine 'INNODB' at /etc/munin/plugins/mysql_connections line 958. This is caused because the error message is changing between versions and the mysql_ plugin for munin hasn&#8217;t been updated in [...]]]></description>
			<content:encoded><![CDATA[<p>In newer MySQL versions, if you have InnoDB disabled, Munin will fail to run giving you the following error:</p>
<pre class="brush: bash;">root@myserver [~]# munin-run mysql_connections
DBD::mysql::st execute failed: Unknown table engine 'INNODB' at /etc/munin/plugins/mysql_connections line 958.</pre>
<p>This is caused because the error message is changing between versions and the mysql_ plugin for munin hasn&#8217;t been updated in order to recognize it.<br />
The fix is pretty simple, just open /usr/share/munin/plugins/mysql_ with vim on line 958 (hint: vim +958 <em>filename</em>) and replace as bellow.</p>
<p><strong>Original code</strong></p>
<pre class="brush: bash;">    if ($@) {
 	        if ($@ =~ /Cannot call SHOW INNODB STATUS because skip-innodb is defined/) {
 	            $data->{_innodb_disabled} = 1;
 	            return;
 	        }
 	        die $@;</pre>
<p><strong>Fixed code</strong></p>
<pre class="brush: bash;">    if ($@) {
 	        if ($@ =~ /Unknown table engine 'INNODB'|Unknown storage engine 'innodb'|Cannot call SHOW INNODB STATUS because skip-innodb is defined/i) {
 	            $data->{_innodb_disabled} = 1;
 	            return;
 	        }
 	        die $@;</pre>
<p>Save the file and you&#8217;re good to go <img src='http://media2.georgetasioulis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/fix-unknown-table-engine-innodb-error-on-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring bind/named with Munin on cPanel DNS Only</title>
		<link>http://georgetasioulis.com/monitoring-bind-named-with-munin-on-cpanel-dns-only/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitoring-bind-named-with-munin-on-cpanel-dns-only</link>
		<comments>http://georgetasioulis.com/monitoring-bind-named-with-munin-on-cpanel-dns-only/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 00:24:31 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[named]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1096</guid>
		<description><![CDATA[Last night I attempted to get named monitoring working with Munin on my two cPanel DNS Only boxes. Named is actually the most important service to monitor on a DNS Only box so in my opinion it should be enabled by default when you install Munin via WHM. The whole process was actually really straightforward [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I attempted to get named monitoring working with Munin on my two cPanel DNS Only boxes. Named is actually the most important service to monitor on a DNS Only box so in my opinion it should be enabled by default when you install Munin via WHM.<br />
The whole process was actually really straightforward and the only thing I had to do was to apply a set of Debian instructions I found <a href="http://wiki.debuntu.org/wiki/Munin/Bind9_Plugin" target="_blank">here</a>, on CentOS. Here&#8217;s how you can install Munin and setup named monitoring <span id="more-1096"></span></p>
<h4>Install Munin via WHM</h4>
<p>cPanel -> Manage Plugins -> Check &#8220;Install and keep updated&#8221; -> Save<br />
<a href="http://media1.georgetasioulis.com/wp-content/uploads/2011/11/install-munin-whm.jpg"><img class="aligncenter size-full wp-image-1097" title="Install Munin via WHM" src="http://media1.georgetasioulis.com/wp-content/uploads/2011/11/install-munin-whm.jpg" alt="" width="1055" height="861" /></a></p>
<h4>Configure named</h4>
<p>Login to you server via SSH, open <code>/etc/named.conf</code> and add the highlighted code.</p>
<pre class="brush: bash; highlight: [11,12,13,14,15,16];">logging {
/*	If you want to enable debugging, eg. using the 'rndc trace' command,
 *	named will try to write the 'named.run' file in the $directory (/var/named").
 *	By default, SELinux policy does not allow named to modify the /var/named" directory,
 *	so put the default debug log file in data/ :
 */
    channel default_debug {
            file "data/named.run";
            severity dynamic;
    };
    channel b_query {
            file "/var/log/bind9/query.log" versions 2 size 1m;
            print-time yes;
            severity info;
    };
    category queries { b_query; };
};</pre>
<p>Save the changes, and restart named</p>
<pre class="brush: bash">[root@dns1 ~]#/etc/init.d/named restart
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]</pre>
<h4>Configure the bind9 plugins</h4>
<p>First you&#8217;ll have to create the symlinks to the two bind9 plugins:</p>
<pre class="brush: bash">ln -s /usr/share/munin/plugins/bind9 /etc/munin/plugins/bind9
ln -s /usr/share/munin/plugins/bind9_rndc /etc/munin/plugins/bind9_rndc</pre>
<p>Now open the file <code>/etc/munin/plugin-conf.d/cpanel.conf</code> and add the following code to the end of the file.</p>
<pre class="brush: bash">[bind9]
user root
env.logfile   /var/log/bind9/query.log

[bind9_rndc]
user root
env.querystats /var/named/data/named_stats.txt</pre>
<h4>Wrapping things up</h4>
<p>Finally restart <code>munin-node</code>, run <code>rndc stats</code> and try <code>munin-run bind9</code> &#038; <code>munin-run bind9_rndc</code> to see if you get proper output like this:</p>
<pre class="brush: bash">[root@dns1 ~]#/etc/init.d/munin-node restart
Stopping Munin Node agents:                                [  OK  ]
Starting Munin Node:                                       [  OK  ]
[root@dns1 ~]#rndc stats
[root@dns1 ~]#munin-run bind9
query_A.value 55
query_AAAA.value 30
query_ANY.value 1
query_other.value 0
[root@dns1 ~]#munin-run bind9_rndc
query_recursion.value 0
query_success.value 49
query_failure.value 0
query_nxrrset.value 23
query_referral.value 0
query_nxdomain.value 0</pre>
<h4>What you&#8217;ll get</h4>
<p>After leaving it run for at least 30 minutes you&#8217;ll see something like this<br />
<a href="http://cdn.georgetasioulis.com/wp-content/uploads/2011/11/bind9-plugins-whm.png"><img src="http://cdn.georgetasioulis.com/wp-content/uploads/2011/11/bind9-plugins-whm.png" alt="" title="bind9 munin plugins on WHM" width="1277" height="935" class="aligncenter size-full wp-image-1115" /></a></p>
<h4>(Optional) Errors you might encounter</h4>
<p>If you receive the following error</p>
<pre class="brush: bash">[root@dns1 ~]# munin-run bind9
Died at /etc/munin/plugins/bind9 line 74.</pre>
<p>you need to create the bind9.state file like this:</p>
<pre class="brush: bash">touch /var/lib/munin/plugin-state/bind9.state
chown munin:munin /var/lib/munin/plugin-state/bind9.state
chmod g+rw /var/lib/munin/plugin-state/bind9.state</pre>
<p>and try running <code>munin-run bind9</code> again.</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/monitoring-bind-named-with-munin-on-cpanel-dns-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS 5.0.1 beta fixes battery issue</title>
		<link>http://georgetasioulis.com/ios-5-0-1-beta-fixes-battery-issue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ios-5-0-1-beta-fixes-battery-issue</link>
		<comments>http://georgetasioulis.com/ios-5-0-1-beta-fixes-battery-issue/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 10:22:27 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1045</guid>
		<description><![CDATA[In a previous post I mentioned that after installing the GM (i.e. final) version of iOS 5, I&#8217;ve seen my battery life percentage drop below 20% in a matter of a few hours. Now after upgrading to beta 1 on Thursday and beta 2 yesterday, and I can confirm that the battery issue is now [...]]]></description>
			<content:encoded><![CDATA[<!-- tweet id : 132175470253973504 --><style type='text/css'>#bbpBox_132175470253973504 a { text-decoration:none; color:#0084B4; }#bbpBox_132175470253973504 a:hover { text-decoration:underline; }</style><div id='bbpBox_132175470253973504' class='bbpBox' style='padding:20px; margin:5px 0; background-color:#C0DEED; background-image:url(http://a2.twimg.com/profile_background_images/131027398/imzdltwitter.jpg); background-repeat:no-repeat'><div style='background:#fff; padding:10px; margin:0; min-height:48px; color:#333333; -moz-border-radius:5px; -webkit-border-radius:5px;'><span style='width:100%; font-size:18px; line-height:22px;'>iOS 5.0.1 definitely fixes the battery issue!</span><div class='bbp-actions' style='font-size:12px; width:100%; padding:5px 0; margin:0 0 10px 0; border-bottom:1px solid #e6e6e6;'><img align='middle' src='http://cdn2.georgetasioulis.com/wp-content/plugins/twitter-blackbird-pie//images/bird.png' /><a title='tweeted on November 3, 2011 7:21 pm' href='http://twitter.com/#!/iMZDL/status/132175470253973504' target='_blank'>November 3, 2011 7:21 pm</a> via <a href="http://www.facebook.com/twitter" rel="nofollow" target="blank">Facebook</a><a href='https://twitter.com/intent/tweet?in_reply_to=132175470253973504&related=georgetasioulis' class='bbp-action bbp-reply-action' title='Reply'><span><em style='margin-left: 1em;'></em><strong>Reply</strong></span></a><a href='https://twitter.com/intent/retweet?tweet_id=132175470253973504&related=georgetasioulis' class='bbp-action bbp-retweet-action' title='Retweet'><span><em style='margin-left: 1em;'></em><strong>Retweet</strong></span></a><a href='https://twitter.com/intent/favorite?tweet_id=132175470253973504&related=georgetasioulis' class='bbp-action bbp-favorite-action' title='Favorite'><span><em style='margin-left: 1em;'></em><strong>Favorite</strong></span></a></div><div style='float:left; padding:0; margin:0'><a href='http://twitter.com/intent/user?screen_name=iMZDL'><img style='width:48px; height:48px; padding-right:7px; border:none; background:none; margin:0' src='http://a1.twimg.com/profile_images/1454485210/iMZDL_Logo2_normal.jpg' /></a></div><div style='float:left; padding:0; margin:0'><a style='font-weight:bold' href='http://twitter.com/intent/user?screen_name=iMZDL'>@iMZDL</a><div style='margin:0; padding-top:2px'>iModZone Downloads</div></div><div style='clear:both'></div></div></div><!-- end of tweet -->
<p>In a previous post <a href="http://georgetasioulis.com/ios-5-battery-life/">I mentioned</a> that after installing the GM (i.e. final) version of iOS 5, I&#8217;ve seen my <a href="http://georgetasioulis.com/ios-5-battery-life/">battery life</a> percentage drop below 20% in a matter of a few hours. Now after upgrading to beta 1 on Thursday and beta 2 yesterday, and I can confirm that the battery issue is now fixed <img src='http://media2.georgetasioulis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
My iPhone 4 now easily goes over 24+ hours after a full charge with everything enabled! (3G, WiFi, Location services etc.) </p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/ios-5-0-1-beta-fixes-battery-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate Battlefield 3 Simulator</title>
		<link>http://georgetasioulis.com/ultimate-battlefield-3-simulator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ultimate-battlefield-3-simulator</link>
		<comments>http://georgetasioulis.com/ultimate-battlefield-3-simulator/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 13:26:56 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[battlefield]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1038</guid>
		<description><![CDATA[Wicked!!]]></description>
			<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/nQR49JGySTM?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span></p>
<p>Wicked!!</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/ultimate-battlefield-3-simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop image deblurring</title>
		<link>http://georgetasioulis.com/photoshop-image-deblurring/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=photoshop-image-deblurring</link>
		<comments>http://georgetasioulis.com/photoshop-image-deblurring/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 08:46:30 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazing]]></category>
		<category><![CDATA[deblurring]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1035</guid>
		<description><![CDATA[Play video. Watch till 1:18. Say WOW!]]></description>
			<content:encoded><![CDATA[<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/xxjiQoTp864?version=3&amp;rel=1&amp;fs=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent' frameborder='0'></iframe></span></p>
<p>Play video. Watch till 1:18. Say WOW!</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/photoshop-image-deblurring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Restore Default Settings on Safari (Mac OS X Lion)</title>
		<link>http://georgetasioulis.com/how-to-restore-default-settings-on-safari-mac-os-x-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-restore-default-settings-on-safari-mac-os-x-lion</link>
		<comments>http://georgetasioulis.com/how-to-restore-default-settings-on-safari-mac-os-x-lion/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 22:26:33 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1029</guid>
		<description><![CDATA[I just installed the Mac OS X Lion 10.7.2 GM update and noticed that Safari was behaving a bit weird after the update so I thought I reset it&#8217;s settings to default. Here&#8217;s how it&#8217;s done: 1. Open Safari and click on Safari in the upper left hand corner. 2. Click Reset Safari. 3. Restart [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed the Mac OS X Lion 10.7.2 GM update and noticed that Safari was behaving a bit weird after the update so I thought I reset it&#8217;s settings to default.</p>
<p>Here&#8217;s how it&#8217;s done:</p>
<p>1. Open Safari and click on <strong>Safari</strong> in the upper left hand corner.<br />
2. Click <strong>Reset Safari</strong>.<br />
<img src="http://cdn2.georgetasioulis.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-09-at-12.37.23-AM.png" alt="" title="Reset Safari" width="305" height="361" class="aligncenter size-full wp-image-1030" /><br />
3. Restart Safari. This will resolve most problems. If this does not solve the problem, proceed on to Step 4.<br />
<img src="http://media1.georgetasioulis.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-09-at-12.38.37-AM.png" alt="" title="Reset Safari" width="473" height="417" class="aligncenter size-full wp-image-1031" /> <span id="more-1029"></span><br />
4. Open up a terminal window and enter
<pre class="brush: bash">chflags nohidden ~/Library/</pre>
<p> to make the user Library directory visible.<br />
5. Click on the hard drive icon located on the desktop.<br />
6. Go to <strong>Users > [username] > Library > Safari folder</strong>.<br />
7. Delete all files except &#8220;Bookmarks.plist&#8221;.<br />
8. Then go to <strong>Users > [username] > Library > Preferences</strong>.<br />
9. Find <code>com.apple.Safari.plist</code>, <code>com.apple.internetconfigpriv.plist</code>, and <code>com.apple.internetconfig.plist</code> and delete them (ignore any file you can&#8217;t find).<br />
10. Safari should now be fully reset to factory defaults.</p>
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/how-to-restore-default-settings-on-safari-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS 5 Battery Life</title>
		<link>http://georgetasioulis.com/ios-5-battery-life/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ios-5-battery-life</link>
		<comments>http://georgetasioulis.com/ios-5-battery-life/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 16:51:51 +0000</pubDate>
		<dc:creator>George Tasioulis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ios 5]]></category>

		<guid isPermaLink="false">http://georgetasioulis.com/?p=1016</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<!-- tweet id : 122714952715862016 --><style type='text/css'>#bbpBox_122714952715862016 a { text-decoration:none; color:#00689e; }#bbpBox_122714952715862016 a:hover { text-decoration:underline; }</style><div id='bbpBox_122714952715862016' class='bbpBox' style='padding:20px; margin:5px 0; background-color:#cce0e6; background-image:url(http://a1.twimg.com/profile_background_images/46511161/nvshapeness.jpg); background-repeat:no-repeat'><div style='background:#fff; padding:10px; margin:0; min-height:48px; color:#000000; -moz-border-radius:5px; -webkit-border-radius:5px;'><span style='width:100%; font-size:18px; line-height:22px;'>Battery is dropping fast with <a href="http://twitter.com/search?q=%23iOS5" title="#iOS5">#iOS5</a> GM on my <a href="http://twitter.com/search?q=%23iPhone4" title="#iPhone4">#iPhone4</a>. Anybody else having similar issues?</span><div class='bbp-actions' style='font-size:12px; width:100%; padding:5px 0; margin:0 0 10px 0; border-bottom:1px solid #e6e6e6;'><img align='middle' src='http://cdn2.georgetasioulis.com/wp-content/plugins/twitter-blackbird-pie//images/bird.png' /><a title='tweeted on October 8, 2011 4:48 pm' href='http://twitter.com/#!/georgetasioulis/status/122714952715862016' target='_blank'>October 8, 2011 4:48 pm</a> via <a href="http://itunes.apple.com/us/app/twitter/id409789998?mt=12" rel="nofollow" target="blank">Twitter for Mac</a><a href='https://twitter.com/intent/tweet?in_reply_to=122714952715862016&related=georgetasioulis' class='bbp-action bbp-reply-action' title='Reply'><span><em style='margin-left: 1em;'></em><strong>Reply</strong></span></a><a href='https://twitter.com/intent/retweet?tweet_id=122714952715862016&related=georgetasioulis' class='bbp-action bbp-retweet-action' title='Retweet'><span><em style='margin-left: 1em;'></em><strong>Retweet</strong></span></a><a href='https://twitter.com/intent/favorite?tweet_id=122714952715862016&related=georgetasioulis' class='bbp-action bbp-favorite-action' title='Favorite'><span><em style='margin-left: 1em;'></em><strong>Favorite</strong></span></a></div><div style='float:left; padding:0; margin:0'><a href='http://twitter.com/intent/user?screen_name=georgetasioulis'><img style='width:48px; height:48px; padding-right:7px; border:none; background:none; margin:0' src='http://a0.twimg.com/profile_images/1450329593/george_normal.png' /></a></div><div style='float:left; padding:0; margin:0'><a style='font-weight:bold' href='http://twitter.com/intent/user?screen_name=georgetasioulis'>@georgetasioulis</a><div style='margin:0; padding-top:2px'>George Tasioulis</div></div><div style='clear:both'></div></div></div><!-- end of tweet -->
]]></content:encoded>
			<wfw:commentRss>http://georgetasioulis.com/ios-5-battery-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 10/59 queries in 0.016 seconds using disk: basic
Object Caching 1340/1498 objects using disk: basic
Content Delivery Network via cdn.georgetasioulis.com

Served from: georgetasioulis.com @ 2012-05-16 21:38:36 -->
