<?xml version="1.0"?>
<!-- RSS generated by TYPO3 v4 CMS on Wed, 08 Sep 2010 07:37:29 MST -->
<rss  version="2.0">
	<channel>
		<title>Infohit blog</title>
		<link>http://www.infohit.net/blog/rss.html</link>
		<description>Infohit blog feed</description>
		<language>en-US</language>
		<copyright>Infohit</copyright>
		<pubDate>Wed, 11 Aug 2010 13:53:52 MST</pubDate>
		<generator>TYPO3 v4 CMS</generator>
		<category>Search, Content Management</category>
		<item>
			<title>Improving the speed of Semantic Mediawiki</title>
			<link>http://www.infohit.net/blog/rss/post/improving-the-speed-of-semantic-mediawiki.html</link>
			<description>&lt;p class=&quot;bodytext&quot;&gt;&lt;b&gt;Improving the speed of Semantic Mediawiki page load times by enforcing caching with expires header. &lt;/b&gt; &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;I run Semantic Mediawiki on my local portable. The machine is  getting on a bit, about 4 years old, but still runs Semantic Mediawiki  (with the Halo extension) quite well. For some time I have been running  memcache and eaccelerator with xampp under windows to produce a good  result, however I recently made another discovery which radically speeds  up page load times. Using Yahoo YSlow I found that  a large number of  elements are used to make up a semantic mediawiki page, about 75  elements (including 29 Javascripts and 20 css) for a normal page, and it  goes up to about 150 when editing a page with the richmedia editor  (including 86 javascripts, and 27 css) . This means there are a large  number of requests made to the server each time a page is loaded. This  was in fact the slower part of the page load. Using the mod_expires and  mod_headers handler of apache, I was able to make significant  improvements in load times by effectively forcing the caching of static  elements locally on the browser. &lt;br /&gt;  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;To do this I added the following to my httpd.conf configuration files.&lt;br /&gt;  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;&lt;br /&gt;  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;1) Ensure the following lines are not commented:&lt;br /&gt;  &lt;/p&gt;
&lt;pre&gt;LoadModule expires_module modules/mod_expires.so&lt;br /&gt;LoadModule headers_module modules/mod_headers.so&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;2) Add the following lines just above the &amp;lt;Directory&amp;gt; directive&lt;br /&gt;  &lt;/p&gt;
&lt;pre&gt;ExpiresActive On&lt;br /&gt;ExpiresDefault &amp;quot;access plus 300 seconds&amp;quot;&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;3) Add the following lines just before the end of the &amp;lt;/Directory&amp;gt; directive&lt;br /&gt;  &lt;/p&gt;
&lt;pre&gt;ExpiresByType text/html &amp;quot;access plus 1 day&amp;quot;&lt;br /&gt;ExpiresByType text/css &amp;quot;access plus 1 day&amp;quot;&lt;br /&gt;ExpiresByType text/javascript &amp;quot;access plus 1 day&amp;quot;&lt;br /&gt;ExpiresByType image/gif &amp;quot;access plus 1 month&amp;quot;&lt;br /&gt;ExpiresByType image/jpg &amp;quot;access plus 1 month&amp;quot;&lt;br /&gt;ExpiresByType image/png &amp;quot;access plus 1 month&amp;quot;&lt;br /&gt;ExpiresByType application/x-shockwave-flash &amp;quot;access plus 1 day&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;Until now there seems to be no ill effects, although your mileage may vary.&lt;br /&gt;  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;&lt;br /&gt; &lt;/p&gt;</description>
			<name>admin</name>
			<pubDate>Wed, 11 Aug 2010 13:53:52 MST</pubDate>
			<guid isPermaLink="true">http://www.infohit.net/blog/rss/post/improving-the-speed-of-semantic-mediawiki.html</guid>
			<source url="http://www.infohit.net/blog/rss.html">Improving the speed of Semantic Mediawiki</source>
		</item>
		<item>
			<title>Eclipse Profiling Tools Eclipse TPTP fails with Ubuntu Lucid</title>
			<link>http://www.infohit.net/blog/rss/post/eclipse-profiling-tools-eclipse-tptp-fails-with-ubuntu-lucid.html</link>
			<description>&lt;p class=&quot;bodytext&quot;&gt;Eclipse Profiling Tools &lt;b&gt;Eclipse TPTP&lt;/b&gt; do not work with  Ubuntu Lucid Lynx (Ubuntu 10.04) as supplied.  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;After installing the Eclipse TPTP plugin, when selecting an  appropriate Unit Test class and using 'Profile As---&amp;gt;JUnit Test' A  dialog box is show with the following error in the 'Monitor' tab:  &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;&lt;b&gt;IWAT0435E An Error occurred when connecting to the host. &lt;/b&gt;&lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;The cause for this is that &lt;i&gt;lib32stdc++5&lt;/i&gt; is missing from the  Ubuntu Lucid and Karmic Distributions, and the pre-compiled code in the  Eclipse TPTP plugin requires this to be on the system. The missing  library can be installed as follows: &lt;/p&gt;
&lt;pre&gt;mkdir /tmp/libstdc++5&lt;br /&gt;cd /tmp/libstdc++5&lt;br /&gt;wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb&lt;br /&gt;sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_amd64.deb &lt;/pre&gt;</description>
			<name>admin</name>
			<category>Ubuntu</category>
			<pubDate>Thu, 13 May 2010 05:45:32 MST</pubDate>
			<guid isPermaLink="true">http://www.infohit.net/blog/rss/post/eclipse-profiling-tools-eclipse-tptp-fails-with-ubuntu-lucid.html</guid>
			<source url="http://www.infohit.net/blog/rss.html">Eclipse Profiling Tools Eclipse TPTP fails with Ubuntu Lucid</source>
		</item>
		<item>
			<title>Infohit Shorts</title>
			<link>http://www.infohit.net/blog/rss/post/infohit-shorts.html</link>
			<description>&lt;p class=&quot;bodytext&quot;&gt;Just launched a new section called '&lt;a href=&quot;http://status.infohit.net&quot; target=&quot;_blank&quot; &gt;Infohit Shorts&lt;/a&gt;'. Here I will post useful tips that are too short to make a full post. If you would like to comment on anything in &lt;a href=&quot;http://status.infohit.net&quot; target=&quot;_blank&quot; &gt;Infohit Shorts&lt;/a&gt;, please leave a comment on this blog post.&lt;/p&gt;</description>
			<name>admin</name>
			<category>Ubuntu</category>
			<pubDate>Thu, 06 May 2010 12:57:18 MST</pubDate>
			<guid isPermaLink="true">http://www.infohit.net/blog/rss/post/infohit-shorts.html</guid>
			<source url="http://www.infohit.net/blog/rss.html">Infohit Shorts</source>
		</item>
		<item>
			<title>Resize Root Partition on boot from root on EBS EC2 instance</title>
			<link>http://www.infohit.net/blog/rss/post/resize-root-partition-on-boot-from-root-on-ebs-ec2-instance.html</link>
			<description>&lt;p class=&quot;bodytext&quot;&gt;&lt;b&gt;How to resize the root partition on an Amazon EC2 instance which has its root partition backed by Elastic Block Storage (EBS). &lt;/b&gt;&lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;At the time of writing the documentation seems a little incomplete in this respect, so here is what I did to make a larger root partition on an Ubuntu Karmic Server EC2 instance. &lt;/p&gt;&lt;ol&gt;&lt;li&gt; Stop the machine (do not terminate it) &lt;/li&gt;&lt;li&gt; Take a snapshot &lt;/li&gt;&lt;li&gt; When the snapshot has completed, restart the machine &lt;/li&gt;&lt;li&gt; Create a new volume in the same availability zone as the current one, but with the new size &lt;/li&gt;&lt;li&gt; Attach the new volume to the old machine using the amazon aws console (the device I used is /dev/sdd) &lt;/li&gt;&lt;li&gt; e2fsck -f /dev/sdd &lt;/li&gt;&lt;li&gt; resize2fs -f /dev/sdd &lt;/li&gt;&lt;li&gt; e2fsck -f /dev/sdd &lt;/li&gt;&lt;li&gt; Detach the volume &lt;/li&gt;&lt;li&gt; Create a new shapshot &lt;/li&gt;&lt;li&gt; Create a new AMI from the new snapshot &lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;      ./ec2-register -K ~/ec2/pk-mypk.pem -C ~/ec2/cert-mycert.pem -n MyUniqueName -s snap-mysnap --kernel aki-5f15f636 --ramdisk ari-0915f660&lt;/pre&gt;</description>
			<name>admin</name>
			<category>Ubuntu</category>
			<pubDate>Wed, 09 Dec 2009 16:18:57 MST</pubDate>
			<guid isPermaLink="true">http://www.infohit.net/blog/rss/post/resize-root-partition-on-boot-from-root-on-ebs-ec2-instance.html</guid>
			<source url="http://www.infohit.net/blog/rss.html">Resize Root Partition on boot from root on EBS EC2 instance</source>
		</item>
		<item>
			<title>Installing Thunderbird 3.0 on Ubuntu Karmic </title>
			<link>http://www.infohit.net/blog/rss/post/installing-thunderbird-30-on-ubuntu-karmic.html</link>
			<description>&lt;p class=&quot;bodytext&quot;&gt;Fabien Tassin maintains a PPA repository of recently released and pre-release Mozilla software at: &lt;a href=&quot;https://launchpad.net/%7Eubuntu-mozilla-daily/+archive/ppa&quot; class=&quot;external free&quot; title=&quot;https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa&lt;/a&gt; &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;With Ubuntu Karmic its fairly easy to add this repository to the list of sources aptitude will use. &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;Open a command line terminal and use the following: &lt;/p&gt;
&lt;pre&gt;  sudo add-apt-repository ppa:ubuntu-mozilla-daily&lt;br /&gt;  sudo apt-get update&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;You can then install Thunderbird 3 using Synaptic Package Manager or from the command line: &lt;/p&gt;
&lt;pre&gt;  apt-get install thunderbird-3.0&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;If you are going to migrate from Thunderbird 2 to 3 do not start Thunderbird  yet! &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;In order to smoothly migrate your profile from Thunderbird 2, you should do the following: &lt;/p&gt;&lt;ol&gt;&lt;li&gt; Uninstall Thunderbird 2.0 using Synaptic or Aptitude &lt;/li&gt;&lt;li&gt; Backup the directory ~/.mozilla-thunderbird &lt;/li&gt;&lt;li&gt; Make a symbolic link from .thunderbird-3.0 to .mozilla-thunderbird using &lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;     cd ~/&lt;br /&gt;     ln -fs .mozilla-thunderbird .thunderbird-3.0&lt;/pre&gt;
&lt;p class=&quot;bodytext&quot;&gt;Then start Thunderbird 3.0 (You will actually find that its under a menu item called Shredder 3 Mail/News). I am not sure why but I suspect its to do with licensing restrictions on distributing binaries &lt;/p&gt;
&lt;p class=&quot;bodytext&quot;&gt;Have fun. And remember - &lt;b&gt;make a backup before you start&lt;/b&gt; &lt;/p&gt;</description>
			<name>admin</name>
			<category>Ubuntu</category>
			<pubDate>Wed, 09 Dec 2009 14:01:52 MST</pubDate>
			<guid isPermaLink="true">http://www.infohit.net/blog/rss/post/installing-thunderbird-30-on-ubuntu-karmic.html</guid>
			<source url="http://www.infohit.net/blog/rss.html">Installing Thunderbird 3.0 on Ubuntu Karmic </source>
		</item>
	</channel>
</rss>
