<?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>Connecting the dots... &#187; Ubuntu</title>
	<atom:link href="http://blog.rajatpandit.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rajatpandit.com</link>
	<description>Thoughts on Web Development, Scalability and Application Architecture</description>
	<lastBuildDate>Mon, 19 Jul 2010 12:46:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Easter Egg in Aptitude on ubuntu</title>
		<link>http://blog.rajatpandit.com/2010/04/27/easter-egg-in-aptitude-on-ubuntu/</link>
		<comments>http://blog.rajatpandit.com/2010/04/27/easter-egg-in-aptitude-on-ubuntu/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 22:28:26 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[easter egg]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=482</guid>
		<description><![CDATA[very silly but still funny, thought i would post it for all the uber geeks out there. rp@devbox:~$ sudo aptitude moo There are no Easter Eggs in this program. rp@devbox:~$ sudo aptitude -v moo There really are no Easter Eggs in this program. rp@devbox:~$ sudo aptitude -vv moo Didn't I already tell you that there [...]]]></description>
			<content:encoded><![CDATA[<p>very silly but still funny, thought i would post it for all the uber geeks out there.</p>
<pre class="brush: bash;">
rp@devbox:~$ sudo aptitude moo
There are no Easter Eggs in this program.
rp@devbox:~$ sudo aptitude -v moo
There really are no Easter Eggs in this program.
rp@devbox:~$ sudo aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
rp@devbox:~$ sudo aptitude -vvv moo
Stop it!
rp@devbox:~$ sudo aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
rp@devbox:~$ sudo aptitude -vvvvv moo
All right, you win.

                               /----\
                       -------/      \
                      /               \
                     /                |
   -----------------/                  --------\
   ----------------------------------------------
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2010/04/27/easter-egg-in-aptitude-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing default JRE for ubuntu installations</title>
		<link>http://blog.rajatpandit.com/2010/04/17/changing-default-jre-for-ubuntu-installations/</link>
		<comments>http://blog.rajatpandit.com/2010/04/17/changing-default-jre-for-ubuntu-installations/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 00:50:50 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[winstone]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=480</guid>
		<description><![CDATA[I am currently playing a lot with hudson at work, and after relative success (more posts about it coming soon) I thought I shall set it up for my virtual environments as well to push more of my projects on CI as well. However my hudson install failed for a very bizarre reason. The default [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently playing a lot with hudson at work, and after relative success (more posts about it coming soon) I thought I shall set it up <a href="http://hudson-ci.org/debian/">for my virtual environment</a>s as well to push more of my projects on CI as well. However my hudson install failed for a very bizarre reason. The default jre version that was installed didn&#8217;t work very well with the <a href="http://winstone.sourceforge.net/">winstone servlet engine</a> that comes with it. I installed the java6 version jre as well which didn&#8217;t make any difference. Then I realised that you would manually need to tell the system which jre to use as well. As this might info might be useful for anyone else, I am documenting it here.<br />
You can get the list of all the JRE&#8217;s installed on your instance with the following command:</p>
<pre class="brush: bash;">
rp@devbox:~$ update-java-alternatives -l
java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj 1042 /usr/lib/jvm/java-gcj
</pre>
<p>To set the default jre to java-6-sun, run the this:</p>
<pre class="brush: bash;">
rp@devbox:~$ sudo update-java-alternatives -s java-6-sun
No alternatives for firefox-3.0-javaplugin.so.
Using '/usr/lib/jvm/java-6-sun/bin/appletviewer' to provide 'appletviewer'.
Using '/usr/lib/jvm/java-6-sun/bin/apt' to provide 'apt'.
Using '/usr/lib/jvm/java-6-sun/bin/extcheck' to provide 'extcheck'.
Using '/usr/lib/jvm/java-6-sun/bin/HtmlConverter' to provide 'HtmlConverter'.
Using '/usr/lib/jvm/java-6-sun/bin/idlj' to provide 'idlj'.
....
..
</pre>
<p>It does a whole lot of other things as well and that&#8217;s pretty  much it.</p>
<p>I realised for my other java based apps as well, I had to update the <code>/etc/jvm</code> file to update the search order. This is what my file looks like, its a good idea to move your preferred jre to the top of the list.</p>
<pre class="brush: bash;">
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2010/04/17/changing-default-jre-for-ubuntu-installations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>svn: This client is too old to work with working copy &#8216;.&#8217;; please get a newer Subversion client</title>
		<link>http://blog.rajatpandit.com/2009/12/31/svn-this-client-is-too-old-to-work-with-working-copy-please-get-a-newer-subversion-client/</link>
		<comments>http://blog.rajatpandit.com/2009/12/31/svn-this-client-is-too-old-to-work-with-working-copy-please-get-a-newer-subversion-client/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 10:59:32 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[JeOS]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=437</guid>
		<description><![CDATA[How about this, you wake up in the morning and decided to resume development (I know this sounds sad considering today is 31st of Dec), you type svn update and you get the error: $ svn update svn: This client is too old to work with working copy '.'; please get a newer Subversion client [...]]]></description>
			<content:encoded><![CDATA[<p>How about this, you wake up in the morning and decided to resume  development (I know this sounds sad considering today is 31st of Dec), you type <code>svn update</code> and you get the error:</p>
<pre class="brush: bash;">
$ svn update
svn: This client is too old to work with working copy '.'; please get a newer Subversion client
</pre>
<p>So this is what my development setup looks like, I run a vm of <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos">JeOS</a> and mount it on my mac using <a href="http://www.sccs.swarthmore.edu/users/08/mgorbach/MacFusionWeb/index_old.html">macfusion</a>. So I have access to my code on both via ssh and via terminal. I got the above error as I accidentally did this update on the host machine side which had svn version 1.6.5 running where as on my vm I was still running 1.4.6. So searching for a couple of mins on the internet, I managed to update my version of svn on JeOS (which is actually another version <a href="http://ubuntu.com">ubuntu</a> but for servers).  I am documenting the steps below just in case anyone else might find it useful.</p>
<p>Open the sources.list and update it with the new source.</p>
<pre class="brush: bash;">
$ sudo vi /etc/apt/sources.list
</pre>
<p>and add the following two lines at the bottom</p>
<pre class="brush: bash;">
deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main
deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu hardy main
</pre>
<p><code>hardy</code> can be replaced by your version ubuntu, I am still on ubuntu as its just a development server with the latest version of apache, mysql and it works very well for me, so no reason to upgrade yet. Also JeOS is available on the not so latest version of ubuntu anyway.</p>
<p>Add the related key signature</p>
<pre class="brush: bash;">
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 413576CB
</pre>
<p>413576CB is the signing key on the home page of the project <a href="https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6">https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6</a>. </p>
<p><strong>Signing key:</strong><br />
    1024R/413576CB<br />
<strong>Fingerprint:</strong><br />
    026491A5DD081BDC6CDFC0DE6298AD34413576CB </p>
<p>Now all you need to do is update your aptitude cache and upgrade the version of svn.</p>
<pre class="brush: bash;">
$ sudo apt-get update
$ sudo apt-get --reinstall install subversion
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/12/31/svn-this-client-is-too-old-to-work-with-working-copy-please-get-a-newer-subversion-client/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Truetype and Mac Fonts on Ubuntu</title>
		<link>http://blog.rajatpandit.com/2009/01/06/truetype-and-mac-fonts-on-ubuntu/</link>
		<comments>http://blog.rajatpandit.com/2009/01/06/truetype-and-mac-fonts-on-ubuntu/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 22:19:48 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[truetype]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=134</guid>
		<description><![CDATA[If you are anything like me and find it hard to give your love to tinker with your font settings on ubuntu, try this: This will surely make you love your ubuntu desktop even more. Open up a terminal window and type the following commands: # wget http://ubuntu-debs.googlecode.com/files/macfonts.tar.gz # tar zxvf macfonts.tar.gz # sudo mv [...]]]></description>
			<content:encoded><![CDATA[<p>If you are anything like me and find it hard to give your love to tinker with your font settings on ubuntu, try this:<br />
This will surely make you love your ubuntu desktop even more.</p>
<p>Open up a terminal window and type the following commands:</p>
<pre class="brush: bash;">
# wget http://ubuntu-debs.googlecode.com/files/macfonts.tar.gz
# tar zxvf macfonts.tar.gz
# sudo mv macfonts /usr/share/fonts/
# sudo fc-cache -f -v
</pre>
<p>To add more choices you might also want to install the MS Truetype fonts as well.<br />
In the same terminal window type the following commands:</p>
<pre class="brush: bash;">
$ sudo apt-get install msttcorefonts
$sudo fc-cache -fv
</pre>
<p>Logout of your X-Session and login again and then change your settings to use one the the following cool fonts to meet your taste.</p>
<p>True Typefonts:</p>
<ul>
<li>Andale Mono</li>
<li>Arial Black</li>
<li>Arial (Bold, Italic, Bold Italic)</li>
<li>Comic Sans MS (Bold)</li>
<li>Courier New (Bold, Italic, Bold Italic)</li>
<li>Georgia (Bold, Italic, Bold Italic)</li>
<li>Impact</li>
<li>Times New Roman (Bold, Italic, Bold Italic)</li>
<li>Trebuchet (Bold, Italic, Bold Italic)</li>
<li>Verdana (Bold, Italic, Bold Italic)</li>
<li>Webdings</li>
</ul>
<p>and MAC Fonts:</p>
<ul>
<li>AppleGaramond</li>
<li>Aquabase</li>
<li>LITHOGRL</li>
<li>Lucida Grande</li>
<li>Lucida Mac</li>
<li>lucon</li>
<li>MacGrand</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/01/06/truetype-and-mac-fonts-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
