<?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>Tech Blog &#187; linux</title>
	<atom:link href="http://informationideas.com/news/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Fri, 23 Jul 2010 06:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Changing Mysql data directory require change to AppArmor</title>
		<link>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/</link>
		<comments>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 18:44:43 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/</guid>
		<description><![CDATA[After a bit of googling and hair-pulling, I realized that if I just changed the datadir directive in my.cnf will cause mysql start to fail on Ubuntu. The other thing is to add permissions to apparmor for mysql to access the new data directories. Steps 1. sudo vi /etc/apparmor.d/usr.sbin.mysqld 2. Add /newdir/ r, /newdir/** rwk, [...]]]></description>
			<content:encoded><![CDATA[<p>After a bit of googling and hair-pulling, I realized that if I just changed the datadir directive in my.cnf will cause mysql start to fail on Ubuntu. The other thing is to add permissions to apparmor for mysql to access the new data directories.</p>
<p>Steps<br />
1. sudo vi /etc/apparmor.d/usr.sbin.mysqld<br />
2. Add<br />
/newdir/ r,<br />
/newdir/** rwk,<br />
3. sudo /etc/init.d/apparmor restart<br />
4. sudo /etc/init.d/mysql restart</p>
<p>If that still does not work, check the nix permissions to be sure mysql is owner and group for the new directory recursively.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/&amp;title=Changing+Mysql+data+directory+require+change+to+AppArmor" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/&amp;title=Changing+Mysql+data+directory+require+change+to+AppArmor" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/&amp;t=Changing+Mysql+data+directory+require+change+to+AppArmor" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/&amp;title=Changing+Mysql+data+directory+require+change+to+AppArmor&amp;summary=After%20a%20bit%20of%20googling%20and%20hair-pulling%2C%20I%20realized%20that%20if%20I%20just%20changed%20the%20datadir%20directive%20in%20my.cnf%20will%20cause%20mysql%20start%20to%20fail%20on%20Ubuntu.%20The%20other%20thing%20is%20to%20add%20permissions%20to%20apparmor%20for%20mysql%20to%20access%20the%20new%20data%20directories.%0D%0A%0D%0ASteps%0D%0A1.%20sudo%20vi%20%2Fetc%2Fapparmor.d%2Fusr.sbin.mysqld%0D%0A&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Changing+Mysql+data+directory+require+change+to+AppArmor+-+http://b2l.me/abz6Qn&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2010/04/15/changing-mysql-data-directory-require-change-to-apparmor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 Karmic slow Firefox</title>
		<link>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/</link>
		<comments>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:54:38 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=117</guid>
		<description><![CDATA[There is a bug in the IPv6 lookup in Karmic that is making any application requesting IPv6 while a NAT is not configured to respond to IPv6 respond very slowly. It is still a bug not solved at this time. Buta solution for Firefox is given here as a work around for now. Subscribe to [...]]]></description>
			<content:encoded><![CDATA[<p>There is a bug in the IPv6 lookup in Karmic that is making any application requesting IPv6 while a NAT is not configured to respond to IPv6 respond very slowly. It is still a bug not solved at this time. But<a href="https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/417757/comments/13">a solution for Firefox</a> is given here as a work around for now.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/&amp;title=Ubuntu+9.10+Karmic+slow+Firefox" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/&amp;title=Ubuntu+9.10+Karmic+slow+Firefox" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/&amp;t=Ubuntu+9.10+Karmic+slow+Firefox" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/&amp;title=Ubuntu+9.10+Karmic+slow+Firefox&amp;summary=There%20is%20a%20bug%20in%20the%20IPv6%20lookup%20in%20Karmic%20that%20is%20making%20any%20application%20requesting%20IPv6%20while%20a%20NAT%20is%20not%20configured%20to%20respond%20to%20IPv6%20respond%20very%20slowly.%20It%20is%20still%20a%20bug%20not%20solved%20at%20this%20time.%20Buta%20solution%20for%20Firefox%20is%20given%20here%20as%20a%20work%20around%20for%20now.&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+9.10+Karmic+slow+Firefox+-+http://b2l.me/abz7m9&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/12/08/ubuntu-9-10-karmic-slow-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Server must be reconfigured when there is a kernel upgrade</title>
		<link>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/</link>
		<comments>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:42:09 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=107</guid>
		<description><![CDATA[If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following. sudo /usr/bin/vmware-config.pl Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this on Facebook Post on Google Buzz Share this on LinkedIn Share this on Technorati Tweet This!]]></description>
			<content:encoded><![CDATA[<p>If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following.</p>
<p>sudo /usr/bin/vmware-config.pl</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;t=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade&amp;summary=If%20the%20linux%20kernel%20is%20upgraded%2C%20vmware%20will%20not%20load%20http%3A%2F%2Flocalhost%3A8222.%C2%A0%20It%20requires%20a%20reconfigure%20when%20this%20happens.%C2%A0%20Do%20the%20following.%0D%0A%0D%0Asudo%20%2Fusr%2Fbin%2Fvmware-config.pl&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade+-+http://b2l.me/abz7ng&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forget your mysql root password?</title>
		<link>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/</link>
		<comments>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:33:59 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=105</guid>
		<description><![CDATA[This following line saved my butt when something happened and my root password was no longer working. sudo dpkg-reconfigure mysql-server-5.0 It will allow you to reset your root password without messing with the data or any other configuration in my.cnf. Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this [...]]]></description>
			<content:encoded><![CDATA[<p>This following line saved my butt when something happened and my root password was no longer working.</p>
<blockquote><p>sudo dpkg-reconfigure mysql-server-5.0</p></blockquote>
<p>It will allow you to reset your root password without messing with the data or any other configuration in my.cnf.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;t=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F&amp;summary=This%20following%20line%20saved%20my%20butt%20when%20something%20happened%20and%20my%20root%20password%20was%20no%20longer%20working.%0D%0Asudo%20dpkg-reconfigure%20mysql-server-5.0%0D%0AIt%20will%20allow%20you%20to%20reset%20your%20root%20password%20without%20messing%20with%20the%20data%20or%20any%20other%20configuration%20in%20my.cnf.&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Forget+your+mysql+root+password%3F+-+http://b2l.me/abz7nh&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu apache2 virtualhost setup problems</title>
		<link>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/</link>
		<comments>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/#comments</comments>
		<pubDate>Tue, 05 May 2009 05:44:35 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=96</guid>
		<description><![CDATA[If you are getting error messages when starting apache2 like &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; or &#8220;[warn] _default_ VirtualHost overlap on port 80, the first has precedence&#8221; you need to make sure a couple of lines are in your /etc/apache2/httpd.confÂ  file. ServerName localhost NameVirtualHost *:80 Subscribe [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting error messages when starting apache2 like</p>
<p>&#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221;<br />
or<br />
&#8220;[warn] _default_ VirtualHost overlap on port 80, the first has precedence&#8221;</p>
<p>you need to make sure a couple of lines are in your /etc/apache2/httpd.confÂ  file.</p>
<p>ServerName localhost<br />
NameVirtualHost *:80</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;t=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems&amp;summary=If%20you%20are%20getting%20error%20messages%20when%20starting%20apache2%20like%0D%0A%0D%0A%22Could%20not%20reliably%20determine%20the%20server%27s%20fully%20qualified%20domain%20name%2C%20using%20127.0.1.1%20for%20ServerName%22%0D%0Aor%0D%0A%22%5Bwarn%5D%20_default_%20VirtualHost%20overlap%20on%20port%2080%2C%20the%20first%20has%20precedence%22%0D%0A%0D%0Ayou%20need%20to%20make%20sure%20a%20couple%20of%20lines%20are%20in%20y&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+apache2+virtualhost+setup+problems+-+http://b2l.me/acphbq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 Vmware Arrow Keys Problem</title>
		<link>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/</link>
		<comments>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 04:45:53 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=85</guid>
		<description><![CDATA[I finally found how to get all those keys working on my newly installed Ubuntu 9.04 with my XP VM. The issue is that all the arrow keys and delete key don&#8217;t work. There are others too but not listed. So a bit of googling, I found that you have to map the keys in [...]]]></description>
			<content:encoded><![CDATA[<p>I finally found how to get all those keys working on my newly installed Ubuntu 9.04 with my XP VM.  The issue is that all the arrow keys and delete key don&#8217;t work.  There are others too but not listed.  So a bit of googling, I found that you have to map the keys in a vmware config file to solve the problem.  So this is what needs to be done.</p>
<p>1. Edit /usr/lib/vmware/config<br />
2. Add the following to the end.<br />
<code><br />
xkeymap.keycode.108 = 0x138 # Alt_R<br />
xkeymap.keycode.106 = 0x135 # KP_Divide<br />
xkeymap.keycode.104 = 0x11c # KP_Enter<br />
xkeymap.keycode.111 = 0x148 # Up<br />
xkeymap.keycode.116 = 0x150 # Down<br />
xkeymap.keycode.113 = 0x14b # Left<br />
xkeymap.keycode.114 = 0x14d # Right<br />
xkeymap.keycode.105 = 0x11d # Control_R<br />
xkeymap.keycode.118 = 0x152 # Insert<br />
xkeymap.keycode.119 = 0x153 # Delete<br />
xkeymap.keycode.110 = 0x147 # Home<br />
xkeymap.keycode.115 = 0x14f # End<br />
xkeymap.keycode.112 = 0x149 # Prior<br />
xkeymap.keycode.117 = 0x151 # Next<br />
xkeymap.keycode.78 = 0x46 # Scroll_Lock<br />
xkeymap.keycode.127 = 0x100 # Pause<br />
xkeymap.keycode.133 = 0x15b # Meta_L<br />
xkeymap.keycode.134 = 0x15c # Meta_R<br />
xkeymap.keycode.135 = 0x15d # Menu<br />
</code><br />
3. Save it<br />
4. Restart vmware</p>
<p>Thank goodness.  What a pain this was to use with a whole bunch of keys not working.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;t=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem&amp;summary=I%20finally%20found%20how%20to%20get%20all%20those%20keys%20working%20on%20my%20newly%20installed%20Ubuntu%209.04%20with%20my%20XP%20VM.%20%20The%20issue%20is%20that%20all%20the%20arrow%20keys%20and%20delete%20key%20don%27t%20work.%20%20There%20are%20others%20too%20but%20not%20listed.%20%20So%20a%20bit%20of%20googling%2C%20I%20found%20that%20you%20have%20to%20map%20the%20keys%20in%20a%20vmware%20config%20file%20to%20solve%20the%20&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+9.04+Vmware+Arrow+Keys+Problem+-+http://b2l.me/ab7ere&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>GRUB Error 21 Dual Boot Raid</title>
		<link>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/</link>
		<comments>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:54:17 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=83</guid>
		<description><![CDATA[I was installing Ubuntu to dual boot onto a newly added drive on my workstation that already has Windows XP. After the installation, GRUB gives me error 21. I looked through all the forums and help and tried everything from reinstalling GRUB to modifying menu.lst. Nothing worked. Then I figured out what the problem was. [...]]]></description>
			<content:encoded><![CDATA[<p>I was installing Ubuntu to dual boot onto a newly added drive on my workstation that already has Windows XP.  After the installation, GRUB gives me error 21.  I looked through all the forums and help and tried everything from reinstalling GRUB to modifying menu.lst.  Nothing worked.  Then I figured out what the problem was.  My system before adding the new drive had three drives; one with XP OS and two in a Raid 1 array for data.  The issue was the Raid 1 array.  With the new drive I added for Ubuntu, the computer had four drives.  During installation, Ubuntu saw four drives and when installing GRUB, it pointed Ubuntu to boot on hd3,0.  However, when GRUB tried to load, the BIOS was showing only three drives and hd3 was non-existent resulting in error 21.</p>
<p>Then I decided to move my SATA cables around so the location of the Ubuntu install does not change no matter if we saw the Raid 1 as one drive or two.  So I kept XP on hd0, moved Ubuntu to hd1, and then having the Raid 1 drives to follow with hd2 and hd3.  At this point, I reinstalled GRUB and tried to boot up again with the Raid 1 configured in the BIOS.  Now I get GRUB error 17!  What the heck is that?  I found that if I got rid of Raid on the BIOS, error 17 goes away and GRUB comes up without a problem.</p>
<p>I got tired of trying to debug this and decided to just go all Ubuntu and just VM XP for the few things I still need to do on Windows.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;t=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid&amp;summary=I%20was%20installing%20Ubuntu%20to%20dual%20boot%20onto%20a%20newly%20added%20drive%20on%20my%20workstation%20that%20already%20has%20Windows%20XP.%20%20After%20the%20installation%2C%20GRUB%20gives%20me%20error%2021.%20%20I%20looked%20through%20all%20the%20forums%20and%20help%20and%20tried%20everything%20from%20reinstalling%20GRUB%20to%20modifying%20menu.lst.%20%20Nothing%20worked.%20%20Then%20I%20figured%20&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=GRUB+Error+21+Dual+Boot+Raid+-+http://b2l.me/acphbs&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where to install Eclipse on Ubuntu</title>
		<link>http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/</link>
		<comments>http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 21:21:27 +0000</pubDate>
		<dc:creator>howie</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[where to install eclipse]]></category>
		<category><![CDATA[where to put eclipse]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=66</guid>
		<description><![CDATA[If you&#8217;re like me, accustomed to installing most packages via Ubuntu&#8217;s package manager, you might be a bit confused as to where to install Eclipse since it should be in a place thats accessible by every user on your system.Â  Sure you can install it in your user home directory but that wouldn&#8217;t be very [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, accustomed to installing most packages via Ubuntu&#8217;s package manager, you might be a bit confused as to where to install Eclipse since it should be in a place thats accessible by every user on your system.Â  Sure you can install it in your user home directory but that wouldn&#8217;t be very tidy.</p>
<p>I extracted part of these instructions from: <a href="http://flurdy.com/docs/eclipse/install.html">http://flurdy.com/docs/eclipse/install.html</a></p>
<p>These instructions assume you&#8217;ve downloaded and extracted the Eclipse tarball:</p>
<blockquote><p>sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse<br />
sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse<br />
sudo chmod -R +r eclipse<br />
sudo chmod +x `sudo find eclipse -type d`</p>
<p>Then create an eclipse executable in your path</p>
<p>sudo touch /usr/bin/eclipse<br />
sudo chmod 755 /usr/bin/eclipse</p>
<p>sudoedit /usr/bin/eclipse</p>
<p>With these contents:</p>
<p>#!/bin/sh<br />
export ECLIPSE_HOME=&#8221;/opt/eclipse&#8221;<br />
$ECLIPSE_HOME/eclipse $*</p></blockquote>
<p>Now you can execute Eclipse from anywhere in your bash shell.  Check out the original article for generating a desktop icon.  In the tarball I downloaded, it didn&#8217;t come with the icon.xpm that contains the Eclipse icon but no worries for me.</p>
<p>The take-home lesson here is that /opt is meant as a place to install application software packages. The topic is Filesystem Heirarchy Standard (FHS) .. these folks seem to be the standard authority on it:</p>
<p><a href="http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES">http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES</a></p>
<p>However it&#8217;s not to say that this standard is the most progressive one we have today.Â  I found GoboLinux to be particularly interesting: <a href="http://en.wikipedia.org/wiki/GoboLinux#The_GoboLinux_hierarchy">http://en.wikipedia.org/wiki/GoboLinux#The_GoboLinux_hierarchy</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/&amp;title=Where+to+install+Eclipse+on+Ubuntu" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/&amp;title=Where+to+install+Eclipse+on+Ubuntu" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/&amp;t=Where+to+install+Eclipse+on+Ubuntu" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/&amp;title=Where+to+install+Eclipse+on+Ubuntu&amp;summary=If%20you%27re%20like%20me%2C%20accustomed%20to%20installing%20most%20packages%20via%20Ubuntu%27s%20package%20manager%2C%20you%20might%20be%20a%20bit%20confused%20as%20to%20where%20to%20install%20Eclipse%20since%20it%20should%20be%20in%20a%20place%20thats%20accessible%20by%20every%20user%20on%20your%20system.%C3%82%C2%A0%20Sure%20you%20can%20install%20it%20in%20your%20user%20home%20directory%20but%20that%20wouldn%27t%20be&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Where+to+install+Eclipse+on+Ubuntu+-+http://b2l.me/acmvmq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mysql on 32bit processor vs 64bit processor</title>
		<link>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/</link>
		<comments>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/#comments</comments>
		<pubDate>Fri, 09 May 2008 21:29:24 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/</guid>
		<description><![CDATA[Here is the continuation of the experiment done previously on Mysql on Windows vs Linux. After doing more analysis and observation, it appeared that the difference in speed for the benchmark tests were not related to Windows and Linux but were related to the processor. The previous test just happened to have AMD 64s on [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the continuation of the experiment done previously on <a href="http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/" title="Mysql on Windows vs Linux">Mysql on Windows vs Linux</a>.  After doing more analysis and observation, it appeared that the difference in speed for the benchmark tests were not related to Windows and Linux but were related to the processor.  The previous test just happened to have AMD 64s on the Linux machines and Intel Xeon 32bits on Windows.  We hypothesized that the increased throughput of the 64bit processors resulted in about half the time required to return the same query run on a 32bit machine.</p>
<p><a href="http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/" title="View the previous results">View the previous results</a></p>
<p>So we decided to test the same query again on a Windows machine with an AMD 64 X2.  This time the result for the query took 7.35 second, almost the same as the other AMD 64s running Linux.</p>
<p>One more test to run the query on a Windows Intel 64bit chip machine would better solidify our hypothesis.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;t=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor&amp;summary=Here%20is%20the%20continuation%20of%20the%20experiment%20done%20previously%20on%20Mysql%20on%20Windows%20vs%20Linux.%20%20After%20doing%20more%20analysis%20and%20observation%2C%20it%20appeared%20that%20the%20difference%20in%20speed%20for%20the%20benchmark%20tests%20were%20not%20related%20to%20Windows%20and%20Linux%20but%20were%20related%20to%20the%20processor.%20%20The%20previous%20test%20just%20happe&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+on+32bit+processor+vs+64bit+processor+-+http://b2l.me/ab4hrk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql on Windows vs Linux</title>
		<link>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/</link>
		<comments>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/#comments</comments>
		<pubDate>Fri, 02 May 2008 04:12:56 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2003]]></category>
		<category><![CDATA[windows server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/</guid>
		<description><![CDATA[I was working on optimizing a Mysql database today and accidentally stumbled upon a benchmarking exercise. The original Mysql database is hosted on a Windows Server 2003. I develop on a Mysql database server running on Ubuntu Linux. The Linux server ran the same query twice as fast as the Windows server without using caching [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on optimizing a Mysql database today and accidentally stumbled upon a benchmarking exercise.  The original Mysql database is hosted on a Windows Server 2003.  I develop on a Mysql database server running on Ubuntu Linux.  The Linux server ran the same query twice as fast as the Windows server without using caching or anything.  I know that Linux does I/O caching on its own as well so I even tried running the query after a fresh reboot to rule out that factor.  Then I got help from a colleague and started tweaking with the my.cnf/my.ini to make sure they were the same and each time, the results came back about the same.  Mysql on Windows was consistently slower than Mysql on Linux.</p>
<p>Then we decided to load the database onto other servers for more data points on this Mysql performance test. We ran the same query returning 429 rows of data with 13 table joins and a couple of sub-queries.  All queries were run on the command line client on the servers themselves to avoid network lag.Â  All servers are running Mysql 5.0.x.</p>
<p><strong>Results</strong></p>
<p>1. Ubuntu Linux:                    0.70 seconds<br />
2. CentOS:                               0.78 seconds<br />
3. Windows 2003 Server:     1.40 seconds<br />
4. Windows 2003 Server:     1.42 seconds</p>
<p><strong>Server hardware</strong></p>
<p>1. Ubuntu Linux<br />
AMD ATHLON 64 X2 4200+<br />
2GB DDR400<br />
200GB 7200RPM SATA/150</p>
<p>2. CentOS<br />
Dual Opteron 240<br />
2GB DDR ECC<br />
120GB 7200RPM SATA/300</p>
<p>3. Windows 2003 Server<br />
Dual Xeon<br />
2GB DDR ECC<br />
7200RPM PATA</p>
<p>4. Windows 2003 Server<br />
2 Dual Xeon (4 CPUs)<br />
8GB DDR ECC<br />
3 73GB 10,000RPM SCSI in RAID 5</p>
<p><strong><a href="http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/">A followup to the benchmark that clarifies the cause of the differences</a></strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/&amp;title=Mysql+on+Windows+vs+Linux" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/&amp;title=Mysql+on+Windows+vs+Linux" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/&amp;t=Mysql+on+Windows+vs+Linux" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/&amp;title=Mysql+on+Windows+vs+Linux&amp;summary=I%20was%20working%20on%20optimizing%20a%20Mysql%20database%20today%20and%20accidentally%20stumbled%20upon%20a%20benchmarking%20exercise.%20%20The%20original%20Mysql%20database%20is%20hosted%20on%20a%20Windows%20Server%202003.%20%20I%20develop%20on%20a%20Mysql%20database%20server%20running%20on%20Ubuntu%20Linux.%20%20The%20Linux%20server%20ran%20the%20same%20query%20twice%20as%20fast%20as%20the%20Windows&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+on+Windows+vs+Linux+-+http://b2l.me/ab3amz&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
