<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Freely Scripted Soul</title>
	<atom:link href="http://roshan18.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://roshan18.wordpress.com</link>
	<description>Passion.. Thoughts.. Views.. Rants.. to say aloud</description>
	<lastBuildDate>Sun, 03 Feb 2008 08:47:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='roshan18.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/718d3d1b3d484cd6895a80b1b6631a19?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Freely Scripted Soul</title>
		<link>http://roshan18.wordpress.com</link>
	</image>
			<item>
		<title>Reinstalling Grub boot loader</title>
		<link>http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/</link>
		<comments>http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 08:41:25 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Software and Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[reinstall]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/?p=94</guid>
		<description><![CDATA[
REASONS:
&#160;

 Grub, by default, resides in the Master Boot Record(MBR). When you try to install some other boot loader or try to install/reinstall Windows, the grub information in the MBR will be overwritten. So, Grub might have to be reinstalled.


	When some/any part of partition information is changed, the grub configuration won&#8217;t be automatically notified of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=94&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">REASONS:</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<ul>
<li><span style="font-weight:bold;"> </span><span>Grub, by default, resides in the Master Boot Record(MBR). When you try to install some other boot loader or try to install/reinstall Windows, the grub information in the MBR will be overwritten. So, Grub might have to be reinstalled.</span></li>
</ul>
<ul>
<li><span>	When some/any part of partition information is changed, the grub configuration won&#8217;t be automatically notified of it and so, the grub configuration will remain as it is. There maybe many cases in which the partition information maybe changed like when you create an extra partition, which is something trivial and may or may not affect the grub boot loader. However, most of the times, changes in the partition information will result in errors when the grub boot loader is loaded. So, the grub configuration has to be updated and the easiest way is to reinstall Grub.</span></li>
</ul>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>There are many such cases and in these cases, people tend to treat the effect, more than the cause. By this, I mean people tend to usually reinstall Ubuntu or Fedora or whichever GNU/Linux operating system they are using, through which Grub will be automatically reinstalled. But is it necessary? No, Grub can be reinstalled without reinstalling the entire operating system! In fact, Fedora CD/DVD does offer to reinstall Grub if you choose to upgrade your system. However, I have tried to use that option in many of my friends&#8217; computers and it has never worked! I have no idea why it doesn&#8217;t work. So I resort to the easiest fool-proof method I know &#8211; COMMANDS @ TERMINAL</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">COMMANDS TO REINSTALL GRUB:</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>All you need to do is access the terminal using the installation CD/DVD of your GNU/Linux operating system. Ubuntu installation CD is a live CD and so, when it loads, you can run the terminal from there. Fedora installation CD/DVD offers options through which you will have to choose to upgrade the system using commands(rescue mode).</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Once you are at the terminal, you will have to access the &#8216;grub&#8217; shell to change the grub configuration. So, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">$ grub</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>If it says that you don&#8217;t have the permission, in which case you will not have logged in as root(as in Ubuntu), give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">$ sudo grub</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>You will get the grub-shell prompt:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt;</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Now, you will have to find out in which partition Grub had been installed before, so that you reinstall in that partition only. Give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; find /boot/grub/stage1</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">(returns value)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>It returns the number of the partition in which Grub i.e your GNU/Linux had been installed.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g.,</span><span style="font-weight:bold;"> </span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; find /boot/grub/stage1</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">(hd0,2)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<blockquote></blockquote>
<p><fieldset><br />
<legend><i>NOTE:</i></legend></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Sometimes, when Grub has not been installed properly, the file &#8220;/boot/grub/stage1&#8243; may not exist. So, the output will be </span><span style="font-style:italic;">&#8220;Error 15: File not found&#8221;</span><span>. In such a case, come out of the grub-shell by pressing </span><span style="font-style:italic;">&#8220;Ctrl+c&#8221;</span><span>. Then, at the shell prompt, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">$ fdisk -l</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Again, if you are not logged in as root, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">$ sudo fdisk -l</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>The output will list all the partitions and it&#8217;s properties, including the file system type.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g.,</span></p>
<blockquote>
<table cellpadding="10">
<tr>
<td><b>Device</b></td>
<td><b>Boot</b></td>
<td><b>Start</b></td>
<td><b>End</b></td>
<td><b>Blocks</b></td>
<td><b>Id</b></td>
<td><b>System</b></td>
</tr>
<tr>
<td><b>/dev/sda1</b></td>
<td>&nbsp;</td>
<td><b>1</b></td>
<td><b>654</b></td>
<td><b>5253223+</b></td>
<td><b>b</b></td>
<td><b>W95 FAT32</b></td>
</tr>
<tr>
<td><b>/dev/sda2</b></td>
<td><b>*</b></td>
<td><b>655</b></td>
<td><b>1962</b></td>
<td><b>10506510</b></td>
<td><b>7</b></td>
<td><b>HPFS/NTFS</b></td>
</tr>
<tr>
<td><b>/dev/sda3</b></td>
<td>&nbsp;</td>
<td><b>1963</b></td>
<td><b>3924</b></td>
<td><b>15759765</b></td>
<td><b>83</b></td>
<td><b>Linux</b></td>
</tr>
</table>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>The &#8220;System&#8221; attribute of your GNU/Linux operating system will be &#8220;Linux&#8221;. So note down that partition number.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g., </span><span style="font-weight:bold;">sda3</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Since it&#8217;s array numbering, sdaN is mapped to (hd0,N-1).</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Just (hd0) will be the Master Boot Record(MBR).</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>sda1 will be (hd0,0) and so on.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">So, sda3 will be (hd0,2)</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Now, log into the grub-shell prompt again.</span></p>
<p></fieldset></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Before reinstalling Grub, you will have to notify the partition that your Grub i.e. GNU/Linux is resided in. So, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; root (returned value)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g., </span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; root (hd0,2)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Now, reinstall grub in the MBR i.e. the returned value without number part. </span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g., </span><span style="font-weight:bold;">(hd0)</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>So, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; setup (returned value without number part)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span> e.g., </span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; setup (hd0)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Exit the grub-shell prompt using &#8220;Ctrl+c&#8221;.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>Exit the shell prompt using &#8220;Ctrl+d&#8221;.</span></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;">&nbsp;</p>
<p><fieldset><br />
<legend><i>PS:</i></legend></p>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span> You can also reinstall Grub in your GNU/Linux partition, only if this GNU/Linux partition is &#8220;primary&#8221; and you have another boot loader installed at the MBR(in case of more than one GNU/Linux operating systems) through which you can boot this primary partition. To do that, give this command at the terminal:</span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; setup (returned value)</span></p>
</blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span>e.g., </span></p>
<blockquote>
<p dir="ltr" style="text-align:left;margin-bottom:0;margin-top:0;margin-right:0;"><span style="font-weight:bold;">grub&gt; setup (hd0,2)</span></p>
</blockquote>
<p></fieldset></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/94/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/94/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=94&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>My 21st Birthday</title>
		<link>http://roshan18.wordpress.com/2008/01/27/my-21st-birthday/</link>
		<comments>http://roshan18.wordpress.com/2008/01/27/my-21st-birthday/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 06:47:53 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Flashes from My Pensieve]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[memorable]]></category>
		<category><![CDATA[nostalgic]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/?p=93</guid>
		<description><![CDATA[                      
It has been more than a month since my birthday! I have been planning to blog about it since then, but unfortunately the time did not come, until now.
18th December, 2007
Birthdays come and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=93&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title>                      <!-- #toc, .toc, .mw-warning { 	border: 1px solid #aaa; 	background-color: #f9f9f9; 	padding: 5px; 	font-size: 95%; } #toc h2, .toc h2 { 	display: inline; 	border: none; 	padding: 0; 	font-size: 100%; 	font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { 	text-align: center; } #toc ul, .toc ul { 	list-style-type: none; 	list-style-image: none; 	margin-left: 0; 	padding-left: 0; 	text-align: left; } #toc ul ul, .toc ul ul { 	margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { 	font-size: 94%; }@media print, projection, embossed { 	body { 		padding-top:1in; 		padding-bottom:1in; 		padding-left:1in; 		padding-right:1in; 	} } body { 	font-family:'Times New Roman'; 	color:#000000; 	widows:2; 	font-style:normal; 	text-indent:0in; 	font-variant:normal; 	font-size:12pt; 	text-decoration:none; 	font-weight:normal; 	text-align:left; } table { } td { 	border-collapse:collapse; 	text-align:left; 	vertical-align:top; } p, h1, h2, h3, li { 	color:#000000; 	font-family:'Times New Roman'; 	font-size:12pt; 	text-align:left; 	vertical-align:normal; }      --></p>
<p>It has been more than a month since my birthday! I have been planning to blog about it since then, but unfortunately the time did not come, until now.</p>
<h3><b>18<sup>th</sup> December, 2007</b></h3>
<p>Birthdays come and go, and I have never given it too much of importance. Its just &#8220;another&#8221; reason to celebrate. This time however it was something different, something more than celebration, something special, something nostalgic, something which I wont forget throughout my life.</p>
<p>A birthday starts at 12 midnight. I had got acquainted to that notion. In fact, it started a lot earlier this time. The number of calls and messages I got was unbelievable. Yes, I was expecting calls, but the reality of it was way out of reach of my expectations. So by the time I slept on my birthday, very late in the night or very early in the morning (any which way you  see it) , the happiness in my heart had swelled to it&#8217;s maximum size.</p>
<p>In my engineering life, though intended to be a &#8220;surprise&#8221;(at least initially), it had become a &#8220;tradition&#8221;, you could say, to celebrate our friend&#8217;s birthday by going to his home on that day and wishing him, even if it is on the previous day of the exam; the number of people involved in that &#8220;our&#8221; had been increasing. So, I was expecting my friends to come. No doubt in that.</p>
<p>My friends came around the time I had expected them to come, and as expected, we had a great time. I could have produced the most powerful <a href="http://en.wikipedia.org/wiki/Patronus_Charm" target="_blank">Patronus</a> in the world just by thinking of those moments! More wishes came throughout the day. More friends came home in the evening. I was overwhelmed by the amount of care and affection shown by all my friends and relatives. It wasn&#8217;t just the amount of wishes, it was the quality of it. I don&#8217;t know how to explain the &#8220;quality&#8221; of those feelings in words. I don&#8217;t know what made it so special, but it was very very special. I don&#8217;t know how to thank all of my friends enough! I am grateful to all of them. I am privileged to have friends like them, privileged to have each one of them as my friend. I am really really lucky to have such friends.</p>
<p>Before going to sleep on that day, I was reliving that entire day. I guess it was the first time that it struck to me that this was our last year of engineering, and from next year, we maybe in different cities, doing different jobs, finding it difficult to find time to meet. Hopefully, we ll keep in touch with each other, but expecting all of us to get together and have fun as regularly as we are having now is completely unrealistic. Will such days ever come again? There is no definite answer. It was a sweet-sour feeling; more sweet for now.</p>
<p>To know that you have good friends, and to know that they care, is something which can&#8217;t be expressed in words. Undoubtedly, this was one of the most memorable days in my life. Thanks to everyone who made it so.</p>
<p><a href="http://picasaweb.google.com/roshan18/My21stBirthday" target="_blank"><img src="http://lh6.google.com/roshan18/R4hMOgK_CtI/AAAAAAAACdI/5fCqe9_ZywI/Group1.jpg?imgmax=512" align="middle" height="384" width="512" /></a></p>
<p>Look at the smiles on all the faces. Purely nostalgic! Thank you for everything that all of you have done, including the picture-perfect photographer!</p>
<p><a href="http://picasaweb.google.com/roshan18/My21stBirthday" target="_blank"><img src="http://lh6.google.com/roshan18/R4hM-gK_DDI/AAAAAAAACf8/1iiT0qXfs3Q/Gift%20-%20Greeting%20Card.jpg?imgmax=512" align="middle" height="384" width="512" /></a></p>
<p>This is completely PRICELESS!! Hats off to the creators!</p>
<p><a href="http://picasaweb.google.com/roshan18/My21stBirthday" target="_blank">For all the photos, click here.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=93&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2008/01/27/my-21st-birthday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/roshan18/R4hMOgK_CtI/AAAAAAAACdI/5fCqe9_ZywI/Group1.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/roshan18/R4hM-gK_DDI/AAAAAAAACf8/1iiT0qXfs3Q/Gift%20-%20Greeting%20Card.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Using Servlets in Fedora Core 3</title>
		<link>http://roshan18.wordpress.com/2007/11/24/using-servlets-in-fedora-core-3/</link>
		<comments>http://roshan18.wordpress.com/2007/11/24/using-servlets-in-fedora-core-3/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 09:21:55 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Software and Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[servlets]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/11/24/using-servlets-in-fedora-core-3/</guid>
		<description><![CDATA[ 	 	 	 	
All commands and descriptions are CASE SENSITIVE
&#160;
&#160;
STEP 1: INSTALLATION
&#160;
&#160;
First of all, while installing Fedora, be sure to tick the optional packages of “Web Servers” and “Mysql Servers” (or after installation, boot from your CD and “upgrade” your system by selecting the required packages).
Download Java6 and Apache-Tomcat5.5.
Copy both the downloaded files – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=82&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title> 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;">All commands and descriptions are CASE SENSITIVE</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 1: INSTALLATION</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">First of all, while installing Fedora, be sure to tick the optional packages of “Web Servers” and “Mysql Servers” (or after installation, boot from your CD and “upgrade” your system by selecting the required packages).</p>
<p style="margin-bottom:0;">Download <a href="http://192.18.108.149/ECom/EComTicketServlet/BEGINAC17A723E3F652FA1FD5DCA5660A92A9/-2147483648/2473654479/1/852470/852314/2473654479/2ts+/westCoastFSEND/jdk-6u3-oth-JPR/jdk-6u3-oth-JPR:4/jdk-6u3-linux-i586.bin" title="Java6" target="_blank">Java6</a> and <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.tar.gz" title="Apache-Tomcat5.5" target="_blank">Apache-Tomcat5.5</a>.</p>
<p style="margin-bottom:0;">Copy both the downloaded files – “jdk-6u3-linux-i586.bin” and “apache-tomcat-5.5.25.tar.gz” &#8211; to “/opt”.</p>
<p style="margin-bottom:0;">Install Java6 and Apache-Tomcat5.5 by running the following commands at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cd /opt</strong></p>
<p style="margin-bottom:0;"><strong>	$ ./jdk-6u3-linux-i586.bin</strong></p>
<p style="margin-bottom:0;"><strong>	$ tar -xvzf apache-tomcat-5.5.25.tar.gz</strong></p>
</blockquote>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 2: SETTING UP</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Create symbolic links for the “java” and “tomcat” folders in “/opt” only by running these commands at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ ln -s apache-tomcat-5.5.25 tomcat</strong></p>
<p style="margin-bottom:0;"><title></title>   	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;"><strong>$ ln -s jdk1.6.0_03 java</strong></p>
</blockquote>
<p style="margin-bottom:0;">Edit the “profile” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ gedit /etc/profile</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open with the a number of lines in it. Append the following lines in it:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	export JAVA_HOME=/opt/java</strong></p>
<p style="margin-bottom:0;"><strong>	export CATALINA_HOME=/opt/tomcat</strong></p>
<p style="margin-bottom:0;"><strong>	export CLASSPATH=.:/opt/tomcat/common/lib/servlet-api.jar</strong></p>
<p style="margin-bottom:0;"><strong>	PATH=$PATH:$JAVA_HOME:$CATALINA_HOME:$CLASSPATH:.</strong></p>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Download this <a href="http://www.esnips.com/nsdoc/128015cf-4006-48b9-a640-dcd6db5b7748" title="Web.xml for Fedora Core 3" target="_blank"><strong>web.xml</strong></a> file to your HOME folder (or change your directory to the folder in which you have stored this downloaded file), rename it as “web.xml” and copy it to the folder “/opt/tomcat/conf”:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cp web.xml /opt/tomcat/conf/</strong></p>
</blockquote>
<p style="margin-bottom:0;">Setup is done.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 3: RESTART</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Go to <strong>Applications-&gt;System Settings-&gt;Server Settings-&gt;Services</strong></p>
<p style="margin-bottom:0;">The “Services” window will open. On the left-side pane, one-by-one, “<strong>tick</strong>” the boxes and click on the “<strong>Start</strong>” button for the following services: <strong>httpd, mysqld</strong></p>
<p style="margin-bottom:0;">You should get appropriate messages that the services have been started successfully.</p>
<p style="margin-bottom:0;">Click on the “Save” button to save these settings permanently.</p>
<p style="margin-bottom:0;">Restart the system for the changes to take effect.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 4: TESTING</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Run this command at the terminal to start Tomcat: (This has to be done each time you start a new session i.e. each time you login and want to use Tomcat)</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ sh /opt/tomcat/bin/startup.sh</strong></p>
</blockquote>
<p style="margin-bottom:0;">The output will show the Tomcat’s environment variables and their values.</p>
<p style="margin-bottom:0;">To test whether Tomcat has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080" title="Apache-Tomcat5.5 Home Page" target="_blank">http://localhost:8080</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">If you get the Apache Tomcat Homepage, it means that Apache and Tomcat has been set up properly.</p>
<p style="margin-bottom:0;">To check whether Servlets has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080/servlets-examples/" title="Apache-Tomcat5.5 Servlets Page" target="_blank">http://localhost:8080/servlets-examples/</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">It opens the Servlets examples page of Apache Tomcat. Run the examples on the page. If they execute properly, Servlets have been set up properly.</p>
<p style="margin-bottom:0;">Copy the source code of the example &#8220;Hello World&#8221; there. Open a file in your home folder:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">Paste the contents of the example in this file. Save and close the file.</p>
<p style="margin-bottom:0;">Compile this file:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ javac HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">If it doesn’t give any errors and the byte-compiled “.class” file is created, then Java has been set up properly.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 5: USING</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Run this command at the terminal to start Tomcat: (This has to be done each time you start a new session i.e. each time you login and want to use Tomcat)</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ sh /opt/tomcat/bin/startup.sh</strong></p>
</blockquote>
<p style="margin-bottom:0;">The output will show the Tomcat’s environment variables and their values.</p>
<p style="margin-bottom:0;">Run this command at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ mkdir /opt/tomcat/webapps/ROOT/WEB-INF/classes</strong></p>
</blockquote>
<p style="margin-bottom:0;">(If it already exists, no problem!)</p>
<p style="margin-bottom:0;">Store all your “.java” and “.class” files in this “classes” folder.</p>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cd /opt/tomcat/webapps/ROOT/WEB-INF/classes</strong></p>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open. Write your Servlet code in it. Save and close the file.</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ javac HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">Now to run this Servlet, open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080/servlet/HelloWorld" target="_blank">http://localhost:8080/servlet/HelloWorld</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your Servlet code is right.</p>
<p style="margin-bottom:0;">Now, suppose you want to write a HTML file which will use your Servlet program. Then you need to store it in your “ROOT” folder of Tomcat.</p>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cd /opt/tomcat/webapps/ROOT</strong></p>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.html</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open. Write your HTML code in it, which will interact with “HelloWorld.class” file in the “classes” folder. Save and close the file.</p>
<p style="margin-bottom:0;">Open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080/HelloWorld.html" target="_blank">http://localhost:8080/HelloWorld.html</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your HTML code is right and provided your Servlet code in the “classes” folder has been byte-compiled(“.class” file).</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>DOWNLOAD LINKS:</strong></p>
<p style="margin-bottom:0;">Java6 &#8211; <a href="https://sdlc4a.sun.com/ECom/EComActionServlet;jsessionid=87D3A2EB1CF3330672A9619B88690488" title="Java6" target="_blank">https://sdlc4a.sun.com/ECom/EComActionServlet;jsessionid=87D3A2EB1CF3330672A9619B88690488</a></p>
<p style="margin-bottom:0;">&#8220;Accept&#8221; License Agreement and click on Linux self-extracting file &#8220;jdk-6u3-linux-i586.bin&#8221;.</p>
<p style="margin-bottom:0;">Apache-Tomcat5.5 &#8211; <a href="http://www.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/" title="Apache-Tomcat" target="_blank">http://www.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/</a></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Click on &#8220;apache-tomcat-5.5.25.tar.gz &#8220;.</p>
<p style="margin-bottom:0;">Web.xml &#8211;  <a href="http://www.esnips.com/doc/128015cf-4006-48b9-a640-dcd6db5b7748/web-fedora3" title="Web.xml for Fedora Core 3" target="_blank">http://www.esnips.com/doc/128015cf-4006-48b9-a640-dcd6db5b7748/web-fedora3</a></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><em>PS: </em>If something doesnt work, please check for missing or erroneous case-sensitive letters or slashes. If you face some problem and are unable to find a solution, feel free to add a comment here or mail me. I ll do my level best to find a solution.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><em>PPS:</em> Thanks to Madhusudan C S for the wonderful research <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="margin-bottom:0;">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/82/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/82/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=82&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/11/24/using-servlets-in-fedora-core-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Servlets in Fedora Core 7</title>
		<link>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-fedora-core-7/</link>
		<comments>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-fedora-core-7/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 16:07:21 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Software and Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[servlets]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/11/18/using-servlets-in-fedora-core-7/</guid>
		<description><![CDATA[   	 	 	 	 	
All commands and descriptions are CASE SENSITIVE
&#160;
&#160;
STEP 1: INSTALLATION
&#160;
&#160;
First of all, install Java6, Apache, Tomcat5.5 and all related packages by using your installation DVD(while installing Fedora itself or after installation, boot from the DVD and “upgrade” your system by selecting the required packages).
NOTE: Tomcat is an optional package [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=81&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>   	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;">All commands and descriptions are CASE SENSITIVE</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 1: INSTALLATION</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">First of all, install Java6, Apache, Tomcat5.5 and all related packages by using your installation DVD(while installing Fedora itself or after installation, boot from the DVD and “upgrade” your system by selecting the required packages).</p>
<p style="margin-bottom:0;"><em>NOTE:</em> Tomcat is an optional package under “Web Servers”. So click on “Web Servers” and then on “Option Packages”. Browse the list and “tick” all Tomcat related packages.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 2: SETTING UP</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Edit the “.bashrc” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ gedit $HOME/.bashrc</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open with the a number of lines in it. Append the following lines in it:</p>
<blockquote>
<blockquote></blockquote>
<p style="margin-bottom:0;"><strong>	export JAVA_HOME=/usr/share/java</strong></p>
<p style="margin-bottom:0;"><strong>	export CATALINA_HOME=/etc/tomcat5</strong></p>
<p style="margin-bottom:0;"><strong>	export CLASSPATH=.:/var/lib/tomcat5/common/lib/[servlet].jar</strong></p>
<p style="margin-bottom:0;"><strong>	PATH=$PATH:$JAVA_HOME:$CATALINA_HOME:$CLASSPATH:.</strong></p>
<blockquote></blockquote>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Download this <a href="http://www.esnips.com/nsdoc/ca71aa2c-ec61-4fbb-8b0e-85a670ef6c2f/?action=forceDL" title="Web.xml for Fedora Core 7" target="_blank"><strong>web.xml</strong></a> file to your HOME folder(or change your directory to the folder in which you have stored this downloaded file), rename it as “web.xml” and copy it to the folder “/etc/tomcat5”:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cp web.xml /etc/tomcat5/</strong></p>
</blockquote>
<p style="margin-bottom:0;">Setup is done.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 3: RESTART</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Go to <strong>System-&gt;Administration-&gt;Server Settings-&gt;Services</strong></p>
<p style="margin-bottom:0;">The “Services” window will open. On the left-side pane, one-by-one, “<strong>tick</strong>” the boxes and click on the “<strong>Start</strong>” button for the following services: <strong>httpd, mysqld, tomcat5</strong></p>
<p style="margin-bottom:0;">You should get appropriate messages that the services have been started successfully.</p>
<p style="margin-bottom:0;">Click on the “Save” button to save these settings permanently.</p>
<p style="margin-bottom:0;">Restart the system for the changes to take effect.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 4: TESTING</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">To test whether Tomcat has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080" title="Apache-Tomcat5.5 Home Page" target="_blank">http://localhost:8080</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">If you get the Apache Tomcat Homepage, it means that Apache and Tomcat has been set up properly.</p>
<p style="margin-bottom:0;">To check whether Servlets has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080/servlets-examples/" title="Apache-Tomcat5.5 Servlets Page" target="_blank">http://localhost:8080/servlets-examples/</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">It opens the Servlets examples page of Apache Tomcat. Run the examples on the page. If they execute properly, Servlets have been set up properly.</p>
<p style="margin-bottom:0;">Copy the source code of the example &#8220;Hello World&#8221; there. Open a file in your home folder:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">Paste the contents of the example in this file. Save and close the file.</p>
<p style="margin-bottom:0;">Compile this file:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ javac HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">If it doesn’t give any errors and the byte-compiled “.class” file is created, then Java has been set up properly.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>STEP 5: USING</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Store all your “.java” and “.class” files this “classes” folder:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	/var/lib/tomcat5/webapps/servlets-examples/WEB-INF/classes</strong></p>
</blockquote>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cd /var/lib/tomcat5/webapps/servlets-examples/WEB-INF/classes</strong></p>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open. Write your Servlet code in it. Save and close the file.</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ javac HelloWorld.java</strong></p>
</blockquote>
<p style="margin-bottom:0;"><em>Before running it, you need to TWEAK the “web.xml” file. Run this command at the terminal:</em></p>
<blockquote>
<p style="margin-bottom:0;"><em><strong>	$ gedit /var/lib/tomcat5/webapps/servlets-examples/WEB-INF/web.xml</strong></em></p>
</blockquote>
<p style="margin-bottom:0;"><em>Click on the “Replace” button or press “Ctrl+H” from the keyboard.</em></p>
<p style="margin-bottom:0;"><em>You need to replace all instances of “HelloWorldExample” with your filename i.e. “HelloWorld”.</em></p>
<p style="margin-bottom:0;"><em>So enter “HelloWorldExample” in “Search For” box and “HelloWorld” in “Replace with” box and click “Replace All”.</em></p>
<p style="margin-bottom:0;"><em>Save and close the file.</em></p>
<p style="margin-bottom:0;"><em>IMPORTANT: This TWEAKING is necessary for ONLY the first time you are executing a Servlet in your system. Once you tweak this file and execute your Servlet successfully, just FORGET about this file. (I don&#8217;t quite understand the logic behind this. It quite illogical! However, servlets work only if you tweak web.xml in this way! Maybe a bug in Fedora7 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )</em></p>
<p style="margin-bottom:0;">Now to run this Servlet, open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8080/servlets-examples/servlet/HelloWorld" target="_blank">http://localhost:8080/servlets-examples/servlet/HelloWorld</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your Servlet code is right.</p>
<p style="margin-bottom:0;">Now, suppose you want to write a HTML file which will use your Servlet program. Then you need to store it in your “servlets-examples” folder of Tomcat.</p>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><strong>	$ cd /var/lib/tomcat5/webapps/servlets-examples</strong></p>
<p style="margin-bottom:0;"><strong>	$ gedit HelloWorld.html</strong></p>
</blockquote>
<p style="margin-bottom:0;">A file will open. Write your HTML code in it, which will interact with “HelloWorld.class” file in the “classes” folder. Save and close the file.</p>
<p style="margin-bottom:0;">Open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<a href="http://localhost:8080/servlets-examples/HelloWorld.html" target="_blank"><font color="#000080"><u>http://localhost:8080/servlets-examples/HelloWorld.html</u></font></a></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your HTML code is right and provided your Servlet code in the “classes” folder has been byte-compiled(“.class” file).</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>DOWNLOAD LINK:</strong></p>
<p style="margin-bottom:0;">Web.xml &#8211; <a href="http://www.esnips.com/doc/ca71aa2c-ec61-4fbb-8b0e-85a670ef6c2f/web-fedora7" title="Web.xml for Fedora Core 7" target="_blank">http://www.esnips.com/doc/ca71aa2c-ec61-4fbb-8b0e-85a670ef6c2f/web-fedora7</a></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><em>PS:</em> If something doesnt work, please check for missing or erroneous case-sensitive letters or slashes. If you face some problem and are unable to find a solution, feel free to add a comment here or mail me. I ll do my level best to find a solution.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><em>PPS: </em>Thanks to Uday S Athreya for the wonderful research <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="margin-bottom:0;">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/81/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/81/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=81&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-fedora-core-7/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Servlets in Ubuntu Gutsy Gibbon</title>
		<link>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-ubuntu-gutsy-gibbon/</link>
		<comments>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-ubuntu-gutsy-gibbon/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 15:48:27 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[gutsy]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[servlets]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/11/18/using-servlets-in-ubuntu-gutsy-gibbon/</guid>
		<description><![CDATA[All commands and descriptions are CASE SENSITIVE
&#160;
&#160;
STEP 1: INSTALLATION
&#160;
&#160;
First of all, install Java6, Apache, Tomcat5.5 and all related packages:
&#160;
Use Synaptic Manager(recommended)
OR
Run these following commands at the terminal:

	$ sudo apt-get install apache2-mpm-prefork apache2-common apache2-utils
	$ sudo apt-get install sun-java6-jdk tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
	$ sudo apt-get install libapache2-mod-jk

&#160;
&#160;
STEP 2: SETTING UP
&#160;
&#160;
Run this command at the terminal:

	$ sudo a2enmod

Then a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=80&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>All commands and descriptions are CASE SENSITIVE</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>STEP 1: INSTALLATION</b></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">First of all, install Java6, Apache, Tomcat5.5 and all related packages:</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Use Synaptic Manager(recommended)</p>
<p style="margin-bottom:0;">OR</p>
<p style="margin-bottom:0;">Run these following commands at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo apt-get install apache2-mpm-prefork apache2-common apache2-utils</b></p>
<p style="margin-bottom:0;"><b>	$ sudo apt-get install sun-java6-jdk tomcat5.5 tomcat5.5-admin tomcat5.5-webapps</b></p>
<p style="margin-bottom:0;"><b>	$ sudo apt-get install libapache2-mod-jk</b></p>
</blockquote>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>STEP 2: SETTING UP</b></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Run this command at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo a2enmod</b></p>
</blockquote>
<p style="margin-bottom:0;">Then a prompt for a module comes. There type “jk” and enter:</p>
<blockquote>
<p style="margin-bottom:0;">	Module name? <b>jk</b></p>
</blockquote>
<p style="margin-bottom:0;">Prompt comes back.</p>
<p style="margin-bottom:0;">Edit the “jk.load” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo gedit /etc/apache2/mods-enabled/jk.load</b></p>
</blockquote>
<p style="margin-bottom:0;">A file will open with the following line in it:</p>
<blockquote></blockquote>
<p style="margin-bottom:0;"><b>LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so</b></p>
<blockquote></blockquote>
<p style="margin-bottom:0;">Append the following lines in it:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	JkWorkersFile /etc/apache2/workers.properties</b></p>
<p style="margin-bottom:0;"><b>	JkLogFile /var/log/apache2/mod_jk.log</b></p>
<p style="margin-bottom:0;"><b>	JkLogLevel debug</b></p>
<p style="margin-bottom:0;"><b>	JkLogStampFormat &#8220;[%a %b %d %H:%M:%S %Y] &#8220;</b></p>
<p style="margin-bottom:0;"><b>	</b></p>
<p style="margin-bottom:0;"><b>	JkMount /jsp-examples worker1</b></p>
<p style="margin-bottom:0;"><b>	JkMount /jsp-examples/* worker1</b></p>
<p style="margin-bottom:0;"><b>	</b></p>
<p style="margin-bottom:0;"><b>	JkMount /servlets-examples worker1</b></p>
<p style="margin-bottom:0;"><b>	JkMount /servlets-examples/* worker1</b></p>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Edit the “workers.properties” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo gedit /etc/apache2/workers.properties</b></p>
</blockquote>
<p style="margin-bottom:0;">An empty file will open. There paste these contents:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	workers.tomcat_home=/usr/share/tomcat5</b></p>
<p style="margin-bottom:0;"><b>	workers.java_home=/usr/lib/jvm/java-1.5.0-sun</b></p>
<p style="margin-bottom:0;"><b>	ps=/</b></p>
<p style="margin-bottom:0;"><b>	worker.list=worker1</b></p>
<p style="margin-bottom:0;"><b>	worker.worker1.port=8009</b></p>
<p style="margin-bottom:0;"><b>	worker.worker1.host=localhost</b></p>
<p style="margin-bottom:0;"><b>	worker.worker1.type=ajp13</b></p>
<p style="margin-bottom:0;"><b>	worker.worker1.lbfactor=1</b></p>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Edit the “environment” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo gedit /etc/environment</b></p>
</blockquote>
<p style="margin-bottom:0;">A file will open with the following lines in it:</p>
<p style="margin-bottom:0;"><b>PATH=&#8221;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&#8221;</b></p>
<p style="margin-bottom:0;"><b>LANG=&#8221;en_IN.UTF-8&#8243;</b></p>
<p style="margin-bottom:0;"><b>LANGUAGE=&#8221;en_IN:en&#8221;</b></p>
<p style="margin-bottom:0;">Append the following lines in it:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	CLASSPATH=.:/usr/lib/jvm/java-6-sun/bin:/usr/share/tomcat5.5/common/lib/servlet-api.jar</b></p>
<p style="margin-bottom:0;"><b>	JAVA_HOME=/usr/lib/jvm/java-6-sun</b></p>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Edit the “.bashrc” file using the following command:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ gedit $HOME/.bashrc</b></p>
</blockquote>
<p style="margin-bottom:0;">A file will open with a number of lines in it. Append the following lines in it:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	export JAVA_HOME=/usr/lib/jvm/java-6-sun</b></p>
<p style="margin-bottom:0;"><b>	export CATALINA_HOME=/usr/share/tomcat5.5</b></p>
<p style="margin-bottom:0;"><b>	export CLASSPATH=/usr/share/tomcat5.5/common/lib/servlet-api.jar	</b></p>
<p style="margin-bottom:0;"><b>	export PATH=$PATH:$JAVA_HOME/bin:$CLASSPATH:$CATALINA_HOME</b></p>
</blockquote>
<p style="margin-bottom:0;">Save and close the file.</p>
<p style="margin-bottom:0;">Download this <a href="http://www.esnips.com/nsdoc/997deb96-203b-42fd-85aa-755be8ca5244/?action=forceDL" title="Web.xml for Ubuntu Gutsy Gibbon" target="_blank"><b>web.xml</b></a> file to your HOME folder(or change your directory to the folder in which you have stored this downloaded file), rename it as “web.xml” and run this command at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo cp web.xml /etc/tomcat5.5/</b></p>
</blockquote>
<p style="margin-bottom:0;">Setup is done.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>STEP 3: RESTART</b></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Restart Apache and Tomcat by running the following commands at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><b>		$ sudo /etc/init.d/apache2 stop</b></p>
<p style="margin-bottom:0;"><b>		$ sudo /etc/init.d/tomcat5.5 stop</b></p>
<p style="margin-bottom:0;"><b>		$ sudo /etc/init.d/tomcat5.5 start</b></p>
<p style="margin-bottom:0;"><b>		$ sudo /etc/init.d/apache2 start</b></p>
</blockquote>
<p style="margin-bottom:0;">Restart the system for the changes to take effect.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>STEP 4: TESTING</b></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">To test whether Tomcat has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8180/" title="Apache-Tomcat5.5 Home Page" target="_blank">http://localhost:8180</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">If you get the Apache Tomcat Homepage, it means that Apache and Tomcat has been set up properly.</p>
<p style="margin-bottom:0;">To check whether Servlets has been set up properly, open this link in the browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8180/servlets-examples/" title="Apache-Tomcat5.5 Servlets Page" target="_blank">http://localhost:8180/servlets-examples/</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">It opens the Servlets examples page of Apache Tomcat. Run the examples on the page. If they execute properly, Servlets have been set up properly.</p>
<p style="margin-bottom:0;">Copy the source code of the example &#8220;Hello World&#8221; there. Open a file in your home folder:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ gedit HelloWorld.java</b></p>
</blockquote>
<p style="margin-bottom:0;">Paste the contents of the servlet-example in this file. Save and close the file.</p>
<p style="margin-bottom:0;">Compile this file:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ javac HelloWorld.java</b></p>
</blockquote>
<p style="margin-bottom:0;">If it doesn’t give any errors and the byte-compiled “.class” file is created, then Java has been set up properly.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>STEP 5: USING</b></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Run this command at the terminal:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo mkdir /usr/share/tomcat5.5-webapps/ROOT/WEB-INF/classes/</b></p>
</blockquote>
<p style="margin-bottom:0;">(If it already exists, no problem!)</p>
<p style="margin-bottom:0;">Store all your “.java” and “.class” files this “classes” folder.</p>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ cd /usr/share/tomcat5.5-webapps/ROOT/WEB-INF/classes/</b></p>
<p style="margin-bottom:0;"><b>	$ sudo gedit HelloWorld.java</b></p>
</blockquote>
<p style="margin-bottom:0;"><i>PS: It is a MUST to use “sudo” before each command as this folder is “writable” only with administrative privileges(Instead of typing it each time, you can also use the super-user shell by running the command “su”)</i></p>
<p style="margin-bottom:0;">A file will open. Write your Servlet code in it. Save and close the file.</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ sudo javac HelloWorld.java</b></p>
</blockquote>
<p style="margin-bottom:0;">Now to run this Servlet, open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8180/servlet/HelloWorld" target="_blank">http://localhost:8180/servlet/HelloWorld</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your Servlet code is right.</p>
<p style="margin-bottom:0;">Now, suppose you want to write a HTML file which will use your Servlet program. Then you need to store it in your “ROOT” folder of Tomcat.</p>
<p style="margin-bottom:0;">For example:</p>
<blockquote>
<p style="margin-bottom:0;"><b>	$ cd /usr/share/tomcat5.5-webapps/ROOT</b></p>
<p style="margin-bottom:0;"><b>	$ sudo gedit HelloWorld.html</b></p>
</blockquote>
<p style="margin-bottom:0;">A file will open. Write your HTML code in it, which will interact with the “HelloWorld.class” file in the “classes” folder. Save and close the file.</p>
<p style="margin-bottom:0;">Open this link in your browser:</p>
<blockquote>
<p style="margin-bottom:0;">	<font color="#000080"><u><a href="http://localhost:8180/HelloWorld.html" target="_blank">http://localhost:8180/HelloWorld.html</a></u></font></p>
</blockquote>
<p style="margin-bottom:0;">This should work provided your HTML code is right and provided your Servlet code in the “classes” folder has been byte-compiled(“.class” file).</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><b>DOWNLOAD LINK:</b></p>
<p style="margin-bottom:0;">Web.xml &#8211; <a href="http://www.esnips.com/doc/997deb96-203b-42fd-85aa-755be8ca5244/web-ubuntu" title="Web.xml for Ubuntu Gutsy Gibbon" target="_blank">http://www.esnips.com/doc/997deb96-203b-42fd-85aa-755be8ca5244/web-ubuntu</a></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><i>PS:</i> If something doesnt work, please check for missing or erroneous case-sensitive letters or slashes. If you face some problem and are unable to find a solution, feel free to add a comment here or mail me. I ll do my level best to find a solution.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><i>PPS: </i>Thanks to Madhusudan C S for the wonderful research <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="margin-bottom:0;">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/80/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/80/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=80&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/11/18/using-servlets-in-ubuntu-gutsy-gibbon/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu without Internet Connection or Full package CD/DVDs</title>
		<link>http://roshan18.wordpress.com/2007/05/30/ubuntu-without-internet-connection-or-full-package-cddvds/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/ubuntu-without-internet-connection-or-full-package-cddvds/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:15:10 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/ubuntu-without-internet-connection-or-full-package-cddvds/</guid>
		<description><![CDATA[For those of you who neither have internet connection in your PC nor have CD/DVD package repositories:
&#160;
Go to your friend&#8217;s or someone&#8217;s home where they have installed such packages. The packages will be in the folder “/var/cache/apt/archives”. Copy it to a pen-drive, whose name is say “Roshan”. This removable media will be mounted in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=71&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="margin-bottom:0;" align="left"><font size="3"><span><strong>For those of you who neither have internet connection in your PC nor have CD/DVD package repositories</strong></span></font><font size="3"><span>:</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go to your friend&#8217;s or someone&#8217;s home where they have installed such packages. The packages will be in the folder “/var/cache/apt/archives”. Copy it to a pen-drive, whose name is say “Roshan”. This removable media will be mounted in the drive “/media/Roshan”. You can check their paths when you open it for browsing by clicking on the “location” icon.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly1ncIT_lI/AAAAAAAABZQ/2V-qSVV7BGY/File%20Browser.jpg?imgmax=512" align="middle" height="343" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh6.google.com/image/roshan18/Rly4IcIUAFI/AAAAAAAABdc/cHBxiRWqfKs/File%20Browser2.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, give this command in the terminal of your friend&#8217;s system:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“ </font><font size="3"><span><font color="#0000ff"><strong>sudo cp -R /var/cache/apt/archives /media/Roshan </strong></font>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Wait for it to copy. It will take a lot of time. Preferably, don&#8217;t run a lot of other applications. To check whether it is copying or not, you can check whether the disk(your pendrive) free space is decreasing or not. Once the shell prompt is returned in the terminal, it means that the copy is complete.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">In your home, give these commands in the terminal:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“</font><font color="#0000ff"><strong> </strong></font><font size="3"><span><font color="#0000ff"><strong>cd /media/Roshan/archives </strong></font>”</span></font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“</font><font color="#0000ff"><strong> </strong></font><font size="3"><span><font color="#0000ff"><strong>sudo cp -R * /var/cache/apt/archives </strong></font>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, if you want to install all the packages your friend has, give this command:</font></p>
<p style="margin-bottom:0;" align="justify"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><strong><font color="#0000ff">sudo dpkg -i *  </font></strong>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">However, if you want to install just selected packages(not have enough space in your system or something like that), give this command:</font></p>
<p style="margin-bottom:0;" align="justify"><font color="#000000">“ </font><font size="3"><span><strong><font color="#0000ff">sudo apt-get update </font></strong>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Then, go to Synaptic Package Manager and install the packages you want.</font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/71/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/71/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=71&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/ubuntu-without-internet-connection-or-full-package-cddvds/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/image/roshan18/Rly1ncIT_lI/AAAAAAAABZQ/2V-qSVV7BGY/File%20Browser.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly4IcIUAFI/AAAAAAAABdc/cHBxiRWqfKs/File%20Browser2.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Automatix and Easyubuntu</title>
		<link>http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:14:42 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/</guid>
		<description><![CDATA[ 	 	 	 	 	 	 	
   	 	 	 	 	 	 	 	 	
AUTOMATIX
&#160;
 Automatix is a graphical interface for automating the installation of the most commonly requested applications in Debian based Linux operating systems.
&#160;
In other words, it a sort of package manager similar to Synaptic Package Manager with additional [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=70&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title> 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="justify"><font size="3"><title></title>   	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--> 	</font></p>
<p style="margin-bottom:0;" align="center"><u><font size="3"><strong>AUTOMATIX</strong></font></u></p>
<p style="margin-bottom:0;" align="center">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"> Automatix is a graphical interface for automating the installation of the most commonly requested applications in Debian based Linux operating systems.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">In other words, it a sort of package manager similar to Synaptic Package Manager with additional softwares(proprietary softwares). The disadvantage here is that unlike Synaptic, it doesn&#8217;t provide the amount of download or the space needed for installation before it starts downloading and installing, and also, it doesn&#8217;t provide the option of installing from CD or DVD. So be wary of the number of packages you are installing at once.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Automatix2 can be downloaded and installed from Synaptic Package Manager. If not, download it <a href="http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.3-7.04feisty_i386.deb" target="_blank">HERE</a></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3"><a href="http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.3-7.04feisty_i386.deb" target="_blank"></a><br />
Double-click(run) the downloaded “.deb” file for it to be installed.</font>
</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Once installed, launch Automatix2 </font><font color="#800080">(Applications -&gt; System Tools -&gt; Automatix)</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh6.google.com/image/roshan18/Rly1rsIT_pI/AAAAAAAABZw/v78806JXcWY/Automatix.jpg?imgmax=512" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Click on  “Show KDE apps”.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">The left-side menu lists the different categories of applications and the right-side menu lists the applications in that category.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Tick the square boxes next to the applications you want to install, and click “Start” for it to start downloading and installing.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Here is the LIST of softwares that I would recommend:</font></p>
<ul>
<li><font size="3"><strong>GnomeBaker 	&amp; K3b</strong> – CD/DVD writers for GNOME &amp; KDE environments 	respectively(you can install and use K3b even in GNOME environment, 	like I am doing)</font></li>
<li>   <font size="3"><span><strong>Gaim</strong> 	- I</span></font><font size="3"><span>M(instant 	messaging) chat client through which you can log into ALL your 	accounts simultaneously like – yahoo/gmail/msn/anything else(even 2 yahoo accounts simultaneously!!)<br />
</span></font></li>
<li><font size="3"><span></span></font><font size="3"><strong>Xchat</strong> 	– A popular <a href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> (Internet Relay Chat) client.<span> </span></font><font size="3"><span></span></font></li>
<li><font size="3"><u><font size="3"><span></span></font></u><strong>AUD-DVD 	Codecs, Flash Player, Mplayer and FF Plug-in, Multimedia Codecs</strong> – 	Necessary for different types of audio and video files to run</font></li>
<li>   <font size="3"><strong>Crossover 	Professional </strong>– Proprietary software that can be used to install 	and run Windows applications like MS Office, World of Warcraft</font></li>
<li><font size="3"><strong>RealPlayer, 	Google Earth, Google Picasa</strong> – Versions for linux</font><br />
<font size="3"><em>Note:</em> Google Picasa version for linux doesn&#8217;t have web album uploading option as of now. They are still developing it. However, if you feel that web uploading is necessary(like me), then use “wine” to install the windows version of picasa &#8211; click <a href="http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/" target="_blank">HERE</a> for help on that. </font><font size="3"><a href="http://picasa.google.com/linux" target="_blank"><u><font size="3"><span>http://picasa.google.com/linux</span></font></u></a>                         <a href="http://picasa.google.com/linux/faq.html" target="_blank"><u><font size="3"><span>http://picasa.google.com/linux/faq.html</span></font></u></a></font><font size="3"><span> </span></font><a href="http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/b97720fec4e8ed70" target="_blank"><u><font size="3"><span>http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/b97720fec4e8ed70</span></font></u></a></li>
<li><font size="3"><u><a href="http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/b97720fec4e8ed70"><font size="3"><span></span></font></a></u><strong>Automatix 	read/write NTFS and FAT32 mounter</strong> – Cool feature which 	automatically mounts all local NTFS and FAT32 partitions(Windows 	partitions) and makes them writable(which by default will be 	read-only in Ubuntu)</font></li>
<li><strong><font size="3"><span>Ctrl-Alt-Del, 	</span></font></strong><font size="3"><span><strong>Extra 	fonts, Nautilus Scripts</strong> – Nice features</span></font></li>
<li><font size="3"><strong>OpenOffice 	Clipart</strong> – Installs clipart in OpenOffice.</font></li>
<li><font size="3"><strong>GNOME/KDE 	Security Suite</strong> – ClamAV AntiVirus and Firewall</font></li>
</ul>
<p style="margin-bottom:0;" align="justify"><title></title>   	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="center">&nbsp;</p>
<p style="margin-bottom:0;" align="center"><u><font size="3"><strong>EASYUBUNTU</strong></font></u></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>The aim of this project is to make your (K/X/Ed)Ubuntu machine (Running </span></font><font size="3"><span>on PPC, x86 or x86_64) equipped with commonly requested software, such as codecs to play MP3&#8217;s, DVDs, programs for talking over the Internet (VoIP software), and a selection of other useful programs and applications, especially those that are otherwise demanding to install and/or obtain.</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">In other words, its also a package manager with useful features.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Easyubuntu can be downloaded and installed from Synaptic Package Manager. If not, download it <a href="http://easyubuntu.freecontrib.org/files/easyubuntu_latest.deb" target="_blank">HERE</a></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Double-click(run) the downloaded “.deb” file for it to be installed.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>Launch Easyubuntu </span></font><font color="#800080" size="3"><span>(Applications -&gt; System Tools -&gt; Easyubuntu)</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly1scIT_qI/AAAAAAAABZ4/wTXGp_Ll7AI/EasyUbuntu.jpg?imgmax=512" align="middle" height="512" width="493" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Click “system” tab and “tick” the Repository list and the Fonts square boxes. Tick all square boxes in other tabs, and click “Ok” for it to start downloading and installing.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=70&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/image/roshan18/Rly1rsIT_pI/AAAAAAAABZw/v78806JXcWY/Automatix.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly1scIT_qI/AAAAAAAABZ4/wTXGp_Ll7AI/EasyUbuntu.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Synaptic Package Manager</title>
		<link>http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:14:29 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/</guid>
		<description><![CDATA[ 	 	 	 	 	 	 	
One of the coolest features of Ubuntu is the Synaptic Package Manager (System -&#62; Administration -&#62; Synaptic Package Manager). You needn&#8217;t worry about installation CDs (different CDs for different softwares) or about commands to download and install them; This software performs those tasks on your behalf. All you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=69&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title> 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="justify"><font size="3">One of the coolest features of Ubuntu is the Synaptic Package Manager </font><font color="#800080">(System -&gt; Administration -&gt; Synaptic Package Manager)</font>. You needn&#8217;t worry about installation CDs (different CDs for different softwares) or about commands to download and install them; This software performs those tasks on your behalf. All you have to do is “Mark” all the packages you want to be installed and “Apply” them. The manager will download those packages from repositories and install them.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Launch Synaptic Package Manager</font><font color="#800080"> (System -&gt; Administration -&gt; Synaptic Package Manager)</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh3.google.com/image/roshan18/Rly1y8IT_wI/AAAAAAAABao/3zS6lBQXZEw/Synaptic%20Package%20Manager.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">The left-side menu lists the different categories of packages and the right-side menu lists the packages in that category. Unless you want to be very specific, use “All” on the left-side menu.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">If you have any CD or DVD which contains packages, load them and Synaptic Package Manager will automatically ask whether it has to create a repository of it, and it will suggest a name for that CD or DVD. Once it adds this CD or DVD to it&#8217;s repository, it will ask for that CD or DVD if you are trying to install any package that is in that CD or DVD.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Before you install a software, you need to know this: 	Synaptic Package Manager lists 4 kinds of software. </font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go to </font><font color="#800080">(Settings -&gt; Repositories)</font>. A window will be opened.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh5.google.com/image/roshan18/Rly1vcIT_uI/AAAAAAAABaY/bs01mxYHNi0/Software%20Sources.jpg?imgmax=512" align="middle" height="428" width="512" /></p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>Tick all the 4 kinds of a software – main, universe, restricted, multiverse &#8211; to have the best usage of packages. </span></font><font size="3"><span>You can tick the “Source code” option if you are interested to look at the source codes of all open source softwares. The Manager will download them along with the software.</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Close that window and then click “Reload” in the Synaptic Manager Window.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, click “Search”. Synaptic provides the most exhaustive search. It searches the complete list of  packages present in ALL the repositories you have enabled (internet sites and CD/DVDs).</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://roshan18.files.wordpress.com/2007/06/synaptic-find.png" alt="synaptic-find.png" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Observe “Look in: Description and Name” which means that it searches not just in the name of the packages but also in the description of the packages, which is very useful. “Description and Name” is the most effective criteria for search. You can try out the other criteria if you are interested.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Once you click that, it generates the list of search-related packages on the right.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Instead of searching, if you know a package&#8217;s name, say “beryl”, click “All” on the left-side menu and then click any of packages on the right-side menu without marking them. Now, start typing “beryl”. It jumps to the first word having it&#8217;s starting letters as the letters you have typed.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly15cIT_2I/AAAAAAAABbY/0wJyr17-C8M/Synaptic%20Wild%20Cards.jpg?imgmax=512" align="middle" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Once you find the required package, right-click on it and “Mark” it for installation.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh4.google.com/image/roshan18/Rly12MIT_zI/AAAAAAAABbA/_OSlps7ygDc/Synaptic%20Mark.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Certain packages require other packages to also be installed. The manager will ask for installing such dependencies if it is applicable, in a separate window. Some may have negative dependencies too and the manager will ask for uninstalling such packages.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh6.google.com/image/roshan18/Rly12sIT_0I/AAAAAAAABbI/YTmW6RhhPPo/Synaptic%20Dependencies.jpg?imgmax=400" align="middle" height="329" width="400" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font color="#000000">“</font><font size="3"><span>Mark” them too.</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">In this way, “Mark” all the packages you want to install, one-by-one. Once you are done, you can click “Apply”&#8217;. A window will be opened which lists all the packages that you are asking the Manager to install/uninstall/reinstall, the amount which it has to download and the space it requires in the system to install all those packages.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly13cIT_1I/AAAAAAAABbQ/S-Blbi75Jlo/Synaptic%20Summary.jpg?imgmax=400" align="middle" height="400" width="393" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">If you click “Apply”, the Manager will download those packages from the net or ask you for the required CD or DVD, and install them.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">You can also store these markings so that it can be installed at a later time(at at time when you have free downloads). </font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go to </font><font color="#800080">(File -&gt; Save markings)</font> and save those markings by giving a name say &#8216;markings&#8217;. When you want to install them, go to <font color="#800080">(File -&gt; Read markings)</font>, open tat &#8216;markings&#8217; and click “Apply”.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh3.google.com/image/roshan18/Rly1z8IT_xI/AAAAAAAABaw/8l528uwzw9g/Synaptic%20Markings.jpg?imgmax=512" align="middle" height="488" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Here is the LIST of softwares that I would recommend:</font></p>
<ul>
<li><font size="3"><strong>Amarok</strong> 	– Versatile and easy to use audio player</font></li>
<li>   <font size="3"><strong>Anjuta</strong> 	– IDE for C/C++</font></li>
<li><font size="3"><span><strong>Automatix2</strong> 	– </span></font><font size="3"><span>Package 	manager to install commonly requested softwares</span></font></li>
<li><font size="3"><strong>Beryl 	and all related packages and plug-ins</strong> &#8211; Composite window manager, 	decorator and theme support. It brings 3D desktop visual effects; 	Install all plug-ins associated with it for the best result.</font></li>
<li>  <font size="3"><strong>Bison 	</strong>- A parser generator that is compatible with YACC</font></li>
<li><font size="3"><strong>Blender</strong> 	- Very fast and versatile 3D modeller/renderer</font></li>
<li>  <font size="3"><strong>Build-essential 	</strong>- Informational list of build-essential packages (necessary for 	programmers and developers)</font></li>
<li>  <font size="3"><strong>Easyubuntu</strong> 	– Package manager to install commonly requested softwares</font></li>
<li><font size="3"><strong>Emacs</strong> 	- Extensible self-documenting text editor</font></li>
<li><font size="3"><strong>Emerald 	and Emerald themes</strong> – Decorator for Beryl and it&#8217;s themes</font></li>
<li>  <font size="3"><strong>Firefox 	and all related packages and plug-ins</strong> – The Ultimate Browser</font></li>
<li><font size="3"><strong>Flex</strong> 	– A fast lexical analyzer generator</font></li>
<li><font size="3"><span><strong>VLC 	Player</strong> &#8211; VLC is the VideoLAN project&#8217;s media player. It plays MPEG, 	MPEG2, MPEG4, </span></font><font size="3"><span>DivX, 	MOV, WMV, QuickTime, mp3, Ogg/Vorbis files, DVDs, VCDs, and 	multimedia  streams from various network sources</span></font></li>
<li><font size="3"><strong>Wine</strong> 	- Microsoft Windows Compatibility Layer (Binary Emulator and 	Library) through which you can execute some “.exe” files</font></li>
<li><font size="3"><strong>Xine</strong> 	- A skin based media player that can play audio/video formats like 	MPEG1/2, some AVI and Quicktime files, some network streaming 	methods and disc based media (VCD, SVCD, DVD)</font></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/69/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/69/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=69&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh3.google.com/image/roshan18/Rly1y8IT_wI/AAAAAAAABao/3zS6lBQXZEw/Synaptic%20Package%20Manager.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly1vcIT_uI/AAAAAAAABaY/bs01mxYHNi0/Software%20Sources.jpg?imgmax=512" medium="image" />

		<media:content url="http://roshan18.files.wordpress.com/2007/06/synaptic-find.png" medium="image">
			<media:title type="html">synaptic-find.png</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/image/roshan18/Rly15cIT_2I/AAAAAAAABbY/0wJyr17-C8M/Synaptic%20Wild%20Cards.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh4.google.com/image/roshan18/Rly12MIT_zI/AAAAAAAABbA/_OSlps7ygDc/Synaptic%20Mark.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly12sIT_0I/AAAAAAAABbI/YTmW6RhhPPo/Synaptic%20Dependencies.jpg?imgmax=400" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly13cIT_1I/AAAAAAAABbQ/S-Blbi75Jlo/Synaptic%20Summary.jpg?imgmax=400" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly1z8IT_xI/AAAAAAAABaw/8l528uwzw9g/Synaptic%20Markings.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Mounting Drives in Ubuntu</title>
		<link>http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:13:58 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/</guid>
		<description><![CDATA[ 	 	 	 	 	 	 	
All local drives including NTFS and FAT32 partitions(Windows partitions) will be mounted automatcially as the user logs in. Any removable media like CD/DVD/pendrive will also be mounted automatically when it is inserted into the drive.
&#160;
All the drives will be mounted onto the drive “/media” i.e. if say your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=68&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title> 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;" align="justify"><font size="3">All local drives including NTFS and FAT32 partitions(Windows partitions) will be mounted automatcially as the user logs in. Any removable media like CD/DVD/pendrive will also be mounted automatically when it is inserted into the drive.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">All the drives will be mounted onto the drive “/media” i.e. if say your pendrive name is “Roshan”, then it&#8217;s path would be “/media/Roshan”. You can browse all your drives from the Desktop or from the </font><font color="#800080">(Places)</font> Menu.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh6.google.com/image/roshan18/Rly4IcIUAFI/AAAAAAAABdc/cHBxiRWqfKs/File%20Browser2.jpg?imgmax=512" align="middle" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh3.google.com/image/roshan18/Rly4KsIUAGI/AAAAAAAABdk/TNEGXkumdOA/Places.jpg?imgmax=512" align="middle" height="384" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">When you want unmount(or eject) it, right-click on that drive in the Desktop or the File Browser and click “Unmount volume”.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh4.google.com/image/roshan18/Rly4M8IUAHI/AAAAAAAABds/G9F_KM3ifx0/Unmount.jpg?imgmax=512" align="middle" height="384" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>If you unmount local drives </span></font><font size="3"><span>including NTFS and FAT32 partitions(Windows partitions) , they will be unmounted only for that particular session. If you want to “hide” a particular drive i.e. Suppose you don&#8217;t want a drive to be mounted  when you are in Ubuntu permanently, give this command at the terminal:</span></font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“</font><font color="#0000ff"><strong> </strong></font><font size="3"><span><font color="#0000ff"><strong>sudo gedit /etc/fstab </strong></font>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">A window will be opened. “fstab” is a file which contains the static file system information.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh6.google.com/image/roshan18/Rly4PcIUAJI/AAAAAAAABd8/ysdvRx30Ybg/fstab.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">You can observe the code, understand it and change/customize it as you want; precisely the advantage of FREE SOFTWARE. However, unless you are an expert programmer/developer, don&#8217;t go too much into meddling with it.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, to “hide” a drive, first learn its path from the File Browser. Consider the drive named “DRV1VOL5”.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly4OMIUAII/AAAAAAAABd0/qNQhcEwsBnU/Drive%20Path.jpg?imgmax=512" align="middle" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Its path is “/media/sda6”. Then, just comment that line in the &#8220;fstab&#8221; file which contains information about that drive. Observe that in the “fstab” file, “/media/sda6” is present in the <strong>line no. 22</strong>. So comment that line. To comment a line, add a “#” at the start of the line.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh4.google.com/image/roshan18/Rly4Q8IUAKI/AAAAAAAABeE/yT-G91lel58/fstab%20hiding.jpg?imgmax=512" align="middle" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">If you observe you see that there are 2 paths associated with a particular drive say &#8220;DRV1VOL5&#8243;, one is &#8220;/dev/sda6&#8243; which contains the DEVICE file for that drive and the other is &#8220;/media/sda6&#8243; which is where actually that drive will be mounted.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">By default, all local drives including NTFS and FAT32 partitions(Windows partitions) will be READ-ONLY, that is you won&#8217;t be able to write any file into it. To make these drives WRITABLE, install “Automatix read/write NTFS and FAT32 Mounter” using “<a href="http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/" target="_blank">Automatix2</a>”.</font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=68&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/image/roshan18/Rly4IcIUAFI/AAAAAAAABdc/cHBxiRWqfKs/File%20Browser2.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly4KsIUAGI/AAAAAAAABdk/TNEGXkumdOA/Places.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh4.google.com/image/roshan18/Rly4M8IUAHI/AAAAAAAABds/G9F_KM3ifx0/Unmount.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly4PcIUAJI/AAAAAAAABd8/ysdvRx30Ybg/fstab.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly4OMIUAII/AAAAAAAABd0/qNQhcEwsBnU/Drive%20Path.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh4.google.com/image/roshan18/Rly4Q8IUAKI/AAAAAAAABeE/yT-G91lel58/fstab%20hiding.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Using Root Privileges in Ubuntu</title>
		<link>http://roshan18.wordpress.com/2007/05/30/using-root-privileges-in-ubuntu/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/using-root-privileges-in-ubuntu/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:13:50 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/using-root-privileges-in-ubuntu/</guid>
		<description><![CDATA[ 	 	 	 	 	 	 	 	
By default, Ubuntu doesn&#8217;t allow the user to log-in as “root” (administrator). However, some tasks like installation require root privileges.
&#160;
First of all, during installation of Ubuntu, you will not have specified the “root” password. So first you need to change that. Go to (System -&#62; Administration -&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=67&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title> 	 	 	 	 	 	 	 	<!-- 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;"><font size="3">By default, Ubuntu doesn&#8217;t allow the user to log-in as “root” (administrator). However, some tasks like installation require root privileges.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">First of all, during installation of Ubuntu, you will not have specified the “root” password. So first you need to change that. Go to</font><font color="#800080"> (System -&gt; Administration -&gt; Users and Groups)</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3"><img src="http://lh6.google.com/image/roshan18/Rly1psIT_nI/AAAAAAAABZg/Q92jpDlb80g/Users%20settings.jpg?imgmax=400" align="middle" height="285" width="400" /></font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">Click on “root” account and then click “Properties”.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p><img src="http://lh5.google.com/image/roshan18/Rly1qcIT_oI/AAAAAAAABZo/D43lTJZsm8I/Account%20%27root%27%20Properties.jpg?imgmax=512" align="middle" height="512" width="402" /></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">Observe in “Set password by hand” that a random 8 character password has been generated. This will be done everytime you come to this screen. So, now change it to the password you want and click “OK”. Close the “Users and Groups” window.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">You can use root privileges in 2 ways:</font></p>
<ol>
<li>
<p style="margin-bottom:0;"><font size="3">By 	executing commands in the terminal</font></p>
</li>
<li>
<p style="margin-bottom:0;"><font size="3">By 	enabling “root” log-in</font></p>
</li>
</ol>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">I prefer to use commands as it is a cool and powerful method; a method which has plenty to offer in terms of learning. However, if you feel it is difficult to use commands, you can enable “root” log-in (which isn&#8217;t recommended).</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><strong>A word about commands in the terminal: commands and arguments are CASE-SENSITIVE i.e. a folder named &#8220;roshan&#8221; is absolutely different from a folder name &#8220;Roshan&#8221;. This is the reason why,  by default folder names are in lower-case and most users prefer it that way.</strong></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">To use “root” privilege for any command in the terminal, just prefix “<strong>sudo</strong>” before the command which means “do as super user/root/admin”.</font></p>
<p style="margin-bottom:0;"><font size="3">e.g.,</font></p>
<p style="margin-bottom:0;"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><strong><font color="#0000ff">sudo apt-get install beryl </font></strong>” will download and install “beryl” package</span></font></p>
<p style="margin-bottom:0;"><font color="#000000">“</font><font color="#0000ff"><strong> </strong></font><font size="3"><span><font color="#0000ff"><strong>sudo dpkg -i * </strong></font>” will unpack and install all the packages in the current directory</span></font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">Suppose you have a series of commands to execute using root privileges, then you can log-in to the super-user shell by giving the “<strong>su</strong>” command at the terminal:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><strong><font color="#0000ff">su </font></strong>”</span></font></p>
<p style="margin-bottom:0;"><font size="3">Now, execute all the commands normally.</font></p>
<p style="margin-bottom:0;"><font size="3">e.g.,</font></p>
<p style="margin-bottom:0;"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><strong><font color="#0000ff">apt-get upgrade </font></strong>” which will check for package upgrades</span></font></p>
<p style="margin-bottom:0;"><font color="#000000">“</font><font color="#0000ff"><strong> </strong></font><font size="3"><span><font color="#0000ff"><strong>dpkg -i * </strong></font>”</span></font></p>
<p style="margin-bottom:0;"><font size="3">Once you are done, you can exit super-user shell, by pressing “ctrl+d” or by typing “exit”. You can even close the terminal directly if you want.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p><img src="http://lh6.google.com/image/roshan18/Rly1wsIT_vI/AAAAAAAABag/sMLlsCuRPnY/Su.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">If you very lazy to type “su”, you can enable “root terminal” by customising the main menu, where all the commands you type will be performed with root privileges. By default, &#8220;root terminal&#8221; will be hidden in the </font><font color="#800080">(Applications -&gt; System Tools)</font><font color="#000000">. To activate it, you need to customise the Main Menu. To know more about customising Main Menu, click <a href="http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/" target="_blank">HERE</a></font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">To enable “root” log-in, launch Login Window </font><font color="#800080">(System -&gt; Administration -&gt; Login Window)</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p><img src="http://lh3.google.com/image/roshan18/Rly1o8IT_mI/AAAAAAAABZY/k48MuxZ7lf0/Login%20Window.jpg?imgmax=512" align="middle" height="512" width="351" /></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">Go to “Security” tab and tick “Allow local system administrator window login”. Close the window.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;"><font size="3">From next time, you can log-in using “root” username and password and perform all tasks with root privileges.</font></p>
<p style="margin-bottom:0;">&nbsp;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=67&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/using-root-privileges-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/image/roshan18/Rly1psIT_nI/AAAAAAAABZg/Q92jpDlb80g/Users%20settings.jpg?imgmax=400" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly1qcIT_oI/AAAAAAAABZo/D43lTJZsm8I/Account%20%27root%27%20Properties.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly1wsIT_vI/AAAAAAAABag/sMLlsCuRPnY/Su.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly1o8IT_mI/AAAAAAAABZY/k48MuxZ7lf0/Login%20Window.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>Basics of Ubuntu</title>
		<link>http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/</link>
		<comments>http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:13:39 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/</guid>
		<description><![CDATA[Official Ubuntu Site
&#160;
 Download Ubuntu
&#160;
Ubuntu is becoming very popular mainly since it is very simple and easy to use. The only obstacle a NEW technology faces is the problem people face in getting acquainted to it.
&#160;
If you aren&#8217;t yet comfortable with Ubuntu, here are some of the basic things that you need to know.
If you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=66&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="margin-bottom:0;" align="justify"><a href="http://www.ubuntu.com/" target="_blank"><font size="3"><strong>Official Ubuntu Site</strong></font></a></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"> <a href="http://www.ubuntu.com/getubuntu/download" target="_blank"><font size="3"><strong>Download Ubuntu</strong></font></a></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">Ubuntu is becoming very popular mainly since it is very simple and easy to use. The only obstacle a NEW technology faces is the problem people face in getting acquainted to it.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">If you aren&#8217;t yet comfortable with Ubuntu, here are some of the basic things that you need to know.</p>
<p style="margin-bottom:0;" align="justify">If you are comfortable, good; still, here are some of the basic things that you need to know.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">To get started, explore the <font color="#800080">(System -&gt; Preferences)</font> menu and try changing very basic things like desktop background and screensaver; explore <font color="#800080">(Places)</font> menu; and explore <font color="#800080">(Applications -&gt; Accessories)</font> menu which has some really cool features like screenshot and disk usage analyzer.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Start-up Sessions:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">You would feel the necessity to have a few programs to start-up every time you log-in. Preferable start-up programs are Beryl-Manager, Gaim, Amarok, etc.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">Go to <font color="#800080">(System -&gt; Preferences -&gt; Sessions)</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"> <img src="http://lh6.google.com/image/roshan18/Rly1tsIT_sI/AAAAAAAABaI/2GR7Yc44w8E/Sessions.jpg?imgmax=400" align="middle" height="367" width="400" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">In the tab “Startup Programs”, click on “New” to the right.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://roshan18.files.wordpress.com/2007/06/new-startup-program.png" alt="new-startup-program.png" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">Type “Beryl-Manager” as the name for that start-up program and “beryl-manager” as the command for that. Then click “OK”. Similarly other programs can be added at start-up with commands like “gaim”, “amarok”, etc.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><img src="http://lh5.google.com/image/roshan18/Rly1ucIT_tI/AAAAAAAABaQ/87Nu-ly9eSY/Sessions1.jpg?imgmax=400" align="middle" height="367" width="400" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Root Privileges:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">By default, Ubuntu doesn&#8217;t allow the user to log-in as “root” (administrator). However, some tasks like installation require root privileges.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">Click <a href="http://roshan18.wordpress.com/2007/05/30/using-root-privileges-in-ubuntu/" target="_blank">HERE</a> for help on using root privileges.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Configuring Internet:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">If while installing Ubuntu, your modem is working i.e. if you are connected to the net, your network connections will automatically be configured. You can also configure it later.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Launch “Network” from </font><font color="#800080">(System -&gt; Adminstration -&gt; Network</font>)<font color="#800080"> </font><font color="#000000">or left-click on the network icon next to the sound icon in the sessions menu.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><img src="http://lh6.google.com/image/roshan18/Rly17sIT_3I/AAAAAAAABbg/GH4TnimEIYk/Manual%20Net%20Config.jpg?imgmax=512" align="middle" height="384" width="512" /></p>
<p align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly1-cIT_5I/AAAAAAAABbw/c23JJeEa76Y/Network%20Settings.jpg?imgmax=512" align="middle" height="377" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Click on “Wired connection” and then on “Properties”.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://roshan18.files.wordpress.com/2007/06/ip-settings.png" alt="ip-settings.png" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Choose “Static IP address” , type your network information and click “OK”.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Shift to the “DNS” tab and click “Add” in DNS Servers and add your DNS server addresss.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh6.google.com/image/roshan18/Rly1_sIT_7I/AAAAAAAABcA/R4kzJOLT9Uo/Network%20Settings1.jpg?imgmax=512" align="middle" height="377" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go back to “Connections” tab. Remove the tick next to “Wired Connection” and tick it again.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Installing Packages:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Ubuntu, by default, will come with just a few basic packages. However, a wide range and variety of packages can be installed easily, at any time later to make your system <strong>JANG</strong>.</font></p>
<p style="margin-bottom:0;" align="justify"> <font size="3">Ubuntu packages simply ROCK!!</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Here is what I would suggest, to utilize the best of the Ubuntu packages..</font> <font size="3"><span><a href="http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/" target="_blank"></a></span></font></p>
<ul>
<li><font size="3"><span><a href="http://roshan18.wordpress.com/2007/05/30/synaptic-package-manager/" target="_blank">Synaptic 	Package Manager</a> &#8211; </span></font><font size="3"><span></span><span>One 	of the coolest features of Ubuntu</span></font> <font size="3"><span><a href="http://http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/" target="_blank"></a></span></font></li>
<li><font size="3"><span><a href="http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/" target="_blank">Automatix</a> 	- G</span></font><font size="3"><span></span><span>raphical 	interface for automating the installation of the most commonly 	requested applications in Debian based Linux operating systems</span></font><font size="3"><span></span></font> <font size="3"><span><a href="http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/" target="_blank"></a></span></font></li>
<li><font size="3"><span><a href="http://roshan18.wordpress.com/2007/05/30/automatix-and-easyubuntu/" target="_blank">Easyubuntu</a> &#8211;  A package manager with a </span></font><font size="3"><span></span><span>selection 	of some useful programs and applications</span></font></li>
</ul>
<p style="margin-bottom:0;" align="justify"> <font size="3">For those of you who neither have internet connection in your PC nor have CD/DVD package repositories, click <a href="http://roshan18.wordpress.com/2007/05/30/ubuntu-without-internet-connection-or-full-package-cddvds/" target="_blank">HERE</a></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Lex and Yacc:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>First of all, the “vi” editor in Ubuntu is not as user-friendly as the “vi” editor in Fedora. So, use the default text editor of Ubuntu, through the command “<strong>gedit</strong>”. You can also install “<strong>emacs</strong>” which is an advanced text editor. (</span></font><font size="3"><span>You can also use “gedit” text editor in Fedora which is easier to use and which is what I would recommend)</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">If you haven&#8217;t installed the “build-essential”, “flex” and “bison” packages yet, install it from Synaptic Package Manager or give these commands at the terminal:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“</font><font color="#0000ff"> </font><font size="3"><span><strong><font color="#0000ff">sudo apt-get install build-essential </font></strong>”</span></font></p>
<p style="margin-bottom:0;" align="center"><font size="3"><span></span></font><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><font color="#0000ff"><strong>sudo apt-get install flex</strong> </font>”</span></font></p>
<p style="margin-bottom:0;" align="center"> <font color="#000000">“</font><font color="#0000ff"> </font><font size="3"><span><font color="#0000ff"><strong>sudo apt-get install bison</strong> </font>”</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Once they are installed, you can use the commands &#8216;lex&#8217;/'flex&#8217; and &#8216;yacc&#8217;/'bison&#8217;.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><strong>A word about commands in the terminal: commands and arguments are CASE-SENSITIVE i.e. a folder named &#8220;roshan&#8221; is absolutely different from a folder name &#8220;Roshan&#8221;. This is the reason why,  by default folder names are in lower-case and most users prefer it that way.</strong><em> </em></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Though you can use the commands “cc”, “lex” and “yacc”, preferably, use the commands “gcc”, “flex” and “bison” since they are superior versions.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh3.google.com/image/roshan18/Rly2C8IT_-I/AAAAAAAABcY/wWh3c2_4hRg/Lex.jpg?imgmax=512" align="middle" height="360" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh6.google.com/image/roshan18/Rly2DsIT__I/AAAAAAAABcg/5AJ_ZvdWka8/Flex.jpg?imgmax=512" align="middle" height="360" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh3.google.com/image/roshan18/Rly2A8IT_8I/AAAAAAAABcI/dq4hn_bxDfI/Lex%20%26%20Yacc.jpg?imgmax=512" align="middle" height="360" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><img src="http://lh3.google.com/image/roshan18/Rly2B8IT_9I/AAAAAAAABcQ/R09GENXOWj0/Flex%20%26%20Bison.jpg?imgmax=512" align="middle" height="360" width="512" /></p>
<p align="justify">&nbsp;</p>
<p><font size="3"><strong>Running “.exe” files:</strong></font></p>
<p style="margin-bottom:0;" align="justify"><font color="#000000">“</font><font size="3"><span>.exe” files won&#8217;t work in GNU/Linux systems by default. To run them, install “wine” from synaptic manager or give this command at the terminal:</span></font></p>
<p style="margin-bottom:0;" align="center"> <font color="#000000">“</font><font color="#0000ff"> </font><font size="3"><span><font color="#0000ff"><strong>sudo apt-get install wine</strong> </font>”</span></font></p>
<p style="margin-bottom:0;" align="center">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Wine can be used to execute most “.exe” files, though not all.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, lets install a software through wine.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Google Picasa version for linux doesn&#8217;t have web album uploading option as of now. They are still developing it. However, if you feel that web uploading is necessary(like me), then use “wine” to install the windows version of picasa.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><a href="http://picasa.google.com/linux" target="_blank"></a><font size="3"><a href="http://picasa.google.com/linux" target="_blank"><u><font size="3"><span>http://picasa.google.com/linux</span></font></u></a></font></p>
<p style="margin-bottom:0;" align="justify"><a href="http://picasa.google.com/linux" target="_blank"><font size="3">                         </font></a><font size="3"><a href="http://picasa.google.com/linux/faq.html" target="_blank"><u><font size="3"><span>http://picasa.google.com/linux/faq.html</span></font></u></a></font></p>
<p style="margin-bottom:0;" align="justify"><a href="http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/b97720fec4e8ed70" target="_blank">http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/b97720fec4e8ed70</a></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">So, download the Windows version of picasa <a href="http://picasa.google.com/download/thanks.html" target="_blank">HERE</a></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, suppose you have downloaded the file in your HOME folder(if not, change directory to that folder in which the .exe file is there before giving this command), give this command at the terminal:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><strong><font color="#0000ff">wine picasaweb-current-setup.exe </font></strong>”</span></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Or you can double-click the downloaded file or right-click and “open with wine”.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">You can also go to </font><font color="#800080">(Applications -&gt; Accessories -&gt; Wine File)</font>, browse for the .exe file and open it.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Install Picasa in the folder “/opt/Picasa2”</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, to run picasa, double-click “Picasa2.exe” in “/opt/Picasa2” or right-click it and “open with wine”, or give this command at the terminal:</font></p>
<p style="margin-bottom:0;" align="center"><font color="#000000">“<strong><font color="#0000ff"> </font></strong></font><font size="3"><span><font color="#0000ff"><strong>wine /opt/Picasa2/Picasa2.exe</strong> </font>”</span></font></p>
<p style="margin-bottom:0;" align="center">&nbsp;</p>
<p style="margin-bottom:0;" align="center">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Customizing Main Menu:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Now, that you have installed Picasa2, you would like to have a shortcut to it.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go to</font><font color="#800080"> (System -&gt; Preferences -&gt; Main Menu)</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><img src="http://lh3.google.com/image/roshan18/RlzR6sIUC6I/AAAAAAAAB0M/t6EAy0spwMw/Main%20Menu.jpg?imgmax=512" align="middle" height="417" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Go to “Applications -&gt; Graphics” on the left-side menu.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Click on “New Item” on the right-side.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><img src="http://roshan18.files.wordpress.com/2007/06/launcher-properties.png" alt="launcher-properties.png" /></p>
<p align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Choose Type as “Application. Enter Name as “Picasa”, command as “wine /opt/Picasa2/Picasa2.exe” and add a comment if you want saying “The Photo Organizer from Google”. Click on the icon and select it from “/opt/Picasa2/runtime/favicon.ico”. Once done, click “Close”.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh4.google.com/image/roshan18/Rly2E8IUAAI/AAAAAAAABco/kKheiupH8Ws/Main%20Menu1.jpg?imgmax=512" align="middle" height="417" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">You can do a lot more customization in the Main Menu, by selecting and deselecting applications from the menus, by adding and deleting applications(right-click on applicatin and then “Delete”), by creating separators, adding more menus, etc.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><font size="3">Similarly, you can also customize the “System” menu.</font></p>
<p align="justify">&nbsp;</p>
<p align="justify"><strong>Customizing Panels:</strong></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Right-click on the top panel.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh4.google.com/image/roshan18/RlzTM8IUC7I/AAAAAAAAB0Y/cX58YUCB7rc/Panel.jpg?imgmax=512" align="middle" height="384" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Here, you get a whole range of options to customize it.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">However, theres a much simpler way of adding shortcuts on the panel.</font></p>
<p style="margin-bottom:0;" align="justify"><font size="3">Say suppose you want to add “Search” shortcut on the top panel. Click-and-drag (Places -&gt; Search for Files) and drop it onto the panel. You can place it onto the panel where ever you want and organize such shortcuts.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh3.google.com/image/roshan18/Rly4DsIUACI/AAAAAAAABdA/2x0vwI1Le9U/Search%20Menu.jpg?imgmax=512" align="middle" height="384" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p align="justify"><img src="http://lh5.google.com/image/roshan18/Rly4GMIUADI/AAAAAAAABdI/j7rGPx7bBtI/Search%20Panel.jpg?imgmax=512" align="middle" height="384" width="512" /></p>
<p align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Mounting Drives:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">All drives will be mounted automatically. Click <a href="http://roshan18.wordpress.com/2007/05/30/mounting-drives-in-ubuntu/" target="_blank">HERE</a> for more information on it.</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Searching:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly4HMIUAEI/AAAAAAAABdQ/tZwqHOF1CNA/Search%20for%20Files.jpg?imgmax=512" align="middle" height="355" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">The usual search feature with a few good options.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p><font size="3"><strong>Browsing:</strong></font></p>
<p style="margin-bottom:0;" align="justify"><font size="3"><img src="http://lh5.google.com/image/roshan18/Rly1ncIT_lI/AAAAAAAABZQ/2V-qSVV7BGY/File%20Browser.jpg?imgmax=512" align="middle" height="343" width="512" /></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><img src="http://lh6.google.com/image/roshan18/Rly19sIT_4I/AAAAAAAABbo/idyUezinJK0/File%20Browser1.jpg?imgmax=512" align="middle" height="355" width="512" /></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">You can use have a button or text-based location bar. The text-based location bar is useful to know the path of the drive, while buttons are most user friendly and can be used to jump drives easily, like say from “Madikeri” drive back to “DRV1VOL5” drive.</font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><strong>Checking Dataone Usage using Firefox:</strong></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3">Dataone Broadband users&#8217; statistics could only be viewed in Internet Explorer, as support was provided only for that. </font><font size="3"><span>However, in Ubuntu, you do not need Internet Explorer.</span></font><font size="3"><span></span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>To check Dataone Broadband Usage statistics using Firefox, download any one of these 2 files.</span></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><a href="http://downloads.sourceforge.net/dobs/dataone_v0.9.1.tar.gz?modtime=1163527215&amp;big_mirror=0" target="_blank">File1</a></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><a href="http://downloads.sourceforge.net/dobs/dataone_v0.9.1.tar.gz?modtime=1163527215&amp;big_mirror=0"><font size="3"><span></span></font></a></font><font size="3"><a href="http://downloads.sourceforge.net/dobs/dataone_win_v0.9.1.zip?modtime=1163547034&amp;big_mirror=0" target="_blank">File2</a></font></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify">For more information about this, click <a href="http://sourceforge.net/project/showfiles.php?group_id=146520" target="_blank">HERE</a></p>
<p style="margin-bottom:0;" align="justify">&nbsp;</p>
<p style="margin-bottom:0;" align="justify"><font size="3"><span>Once downloaded, open the download archive file and “Extract” it. Now, open the extracted folder. Open the “README” file in it and it will guide you.</span></font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/66/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/66/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=66&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/30/basics-of-ubuntu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/image/roshan18/Rly1tsIT_sI/AAAAAAAABaI/2GR7Yc44w8E/Sessions.jpg?imgmax=400" medium="image" />

		<media:content url="http://roshan18.files.wordpress.com/2007/06/new-startup-program.png" medium="image">
			<media:title type="html">new-startup-program.png</media:title>
		</media:content>

		<media:content url="http://lh5.google.com/image/roshan18/Rly1ucIT_tI/AAAAAAAABaQ/87Nu-ly9eSY/Sessions1.jpg?imgmax=400" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly17sIT_3I/AAAAAAAABbg/GH4TnimEIYk/Manual%20Net%20Config.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly1-cIT_5I/AAAAAAAABbw/c23JJeEa76Y/Network%20Settings.jpg?imgmax=512" medium="image" />

		<media:content url="http://roshan18.files.wordpress.com/2007/06/ip-settings.png" medium="image">
			<media:title type="html">ip-settings.png</media:title>
		</media:content>

		<media:content url="http://lh6.google.com/image/roshan18/Rly1_sIT_7I/AAAAAAAABcA/R4kzJOLT9Uo/Network%20Settings1.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly2C8IT_-I/AAAAAAAABcY/wWh3c2_4hRg/Lex.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly2DsIT__I/AAAAAAAABcg/5AJ_ZvdWka8/Flex.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly2A8IT_8I/AAAAAAAABcI/dq4hn_bxDfI/Lex%20%26%20Yacc.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly2B8IT_9I/AAAAAAAABcQ/R09GENXOWj0/Flex%20%26%20Bison.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/RlzR6sIUC6I/AAAAAAAAB0M/t6EAy0spwMw/Main%20Menu.jpg?imgmax=512" medium="image" />

		<media:content url="http://roshan18.files.wordpress.com/2007/06/launcher-properties.png" medium="image">
			<media:title type="html">launcher-properties.png</media:title>
		</media:content>

		<media:content url="http://lh4.google.com/image/roshan18/Rly2E8IUAAI/AAAAAAAABco/kKheiupH8Ws/Main%20Menu1.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh4.google.com/image/roshan18/RlzTM8IUC7I/AAAAAAAAB0Y/cX58YUCB7rc/Panel.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh3.google.com/image/roshan18/Rly4DsIUACI/AAAAAAAABdA/2x0vwI1Le9U/Search%20Menu.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly4GMIUADI/AAAAAAAABdI/j7rGPx7bBtI/Search%20Panel.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly4HMIUAEI/AAAAAAAABdQ/tZwqHOF1CNA/Search%20for%20Files.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh5.google.com/image/roshan18/Rly1ncIT_lI/AAAAAAAABZQ/2V-qSVV7BGY/File%20Browser.jpg?imgmax=512" medium="image" />

		<media:content url="http://lh6.google.com/image/roshan18/Rly19sIT_4I/AAAAAAAABbo/idyUezinJK0/File%20Browser1.jpg?imgmax=512" medium="image" />
	</item>
		<item>
		<title>A Mini Project Experience</title>
		<link>http://roshan18.wordpress.com/2007/05/13/a-mini-project-experience/</link>
		<comments>http://roshan18.wordpress.com/2007/05/13/a-mini-project-experience/#comments</comments>
		<pubDate>Sun, 13 May 2007 15:38:39 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Software and Technology]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2007/05/13/a-mini-project-experience/</guid>
		<description><![CDATA[The code will be uploaded shortly.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=62&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The code will be uploaded shortly.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=62&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2007/05/13/a-mini-project-experience/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Study Habits</title>
		<link>http://roshan18.wordpress.com/2006/10/04/study-habits/</link>
		<comments>http://roshan18.wordpress.com/2006/10/04/study-habits/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 11:06:04 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[The Magical Me]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2006/10/04/study-habits/</guid>
		<description><![CDATA[I have got my own way of studying. This study habit is quite difficult to change at this stage of my life. It can probably be changed only in highly critical situations (not normal examinations   ). Otherwise, I stick to that habit always.
Most people tend to expect a lot from me in terms [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=60&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal">I have got my own way of studying. This study habit is quite difficult to change at this stage of my life. It can probably be changed only in highly critical situations (not normal examinations <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). Otherwise, I stick to that habit always.</p>
<p class="MsoNormal">Most people <em>tend</em> to expect a lot from me in terms of studies, be it my parents, relatives, friends or teachers. They expect me to study on a regular basis i.e. daily or they think that I study daily (in case of friends and relatives). Only my parents and my close friends know my <em>real</em> study habits. Infact, I can decide to call my friend ‘close’ only if he knows my real study habits <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . Still they expect a lot from me!!! To all others, if I say anything about my study habits, they would hardly believe it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . Some would think I am lying; some would think I am showing-off; some would think I am playing a prank; some would think I am being humble.</p>
<p class="MsoNormal">Consider these:</p>
<ul>
<li>There is a chair in a tank. I am sitting on the chair and sleeping. Water flows into the tank and the tank is slowly filled. I would not awake from my slumber until the water is up to my nose level; sometimes eye level or head level or over head level. Then I try to swim in the water and try to find a way out.</li>
<li>6 runs are needed of 6 balls. I don’t even try to hit runs of the 1<sup>st</sup> 5 balls. In the last ball, I would try to hit a six!! (strictly hypothetical situation).</li>
</ul>
<p class="MsoNormal">My study habits are something like that. I don’t study until the last day (very rarely last few days) for the examinations. When I start studying, I barely have time to study all that I need. I start studying at what I call <em>break-neck speed</em>; maximum amount of knowledge should be gained in minimum amount of time i.e. optimum utilization of time.</p>
<p class="MsoNormal">Now, after knowing this, some may think I mug-up or by-heart…. Maybe…. Sometimes, on the last day before examination, with no time, such drastic measures are necessary if you aren’t able to understand anything; something is better than nothing. However, I am pathetic at memorizing without understanding (I was terrible in social studies during my high school <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ). On the other hand, I have always experienced better results with understanding first and memorizing that if necessary.</p>
<p class="MsoNormal">Most people wonder how it is possible to study well, with not even one day, a huge amount of syllabus!!!! I feel it is possible, for the examinations, as well as for knowledge. However, for knowledge, it would take more time than that for examinations. Only if the subject I am trying to study is alien completely i.e. I don’t know anything about it, then it may be difficult to do so and I will require more time or to do it in less time, I may have to mug-up or by-heart and in the end, suffer.</p>
<p class="MsoNormal">The credit for my good results in my II PUC and CET examinations should go to the tuitions I went to <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . Due to the tuitions, I was constantly in touch with those subjects and I had understood it quite well. Regular tests were being conducted there and I was trying to study for them sincerely, though the study habit remained the same (previous day study). Since I had already understood them, I took very little time to study them for the examinations. This ensured that I achieved good results in the main examinations, even though I can’t say that I gave my 100% or my best efforts (maybe considerably more effort than other examinations, but still not the best effort I can put in).</p>
<p class="MsoNormal">Now, in engineering, attending some classes and understanding something, helps for the internals; and studying for the internals as sincerely as possible helps for the semester examinations (The studying habit hasn’t changed).</p>
<p class="MsoNormal">The results of II PUC and engineering examinations aren’t comparable as the efforts I have put in aren’t comparable (tuitions and tests throughout the year makes a lot of difference). Though I would say that if I put in the same efforts for engineering examinations as I had put in for II PUC, the results would be almost the same, though not the same as paper-setting and evaluation matters too.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=60&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2006/10/04/study-habits/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Life</title>
		<link>http://roshan18.wordpress.com/2006/09/14/life/</link>
		<comments>http://roshan18.wordpress.com/2006/09/14/life/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 11:44:45 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Flashes from My Pensieve]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2006/09/14/life/</guid>
		<description><![CDATA[Everything in life seems to be fine, in fact – great!! You take things as it comes. You think positively. You believe that there is a purpose for everything that happens in life and you feel &#8211; Alls well that ends well. You are in balance with your surroundings; you are in balance with yourself. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=59&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal">Everything in life seems to be fine, in fact – <em>great</em>!! You take things as it comes. You think positively. You believe that there is a purpose for everything that happens in life and you feel &#8211; <em>Alls well that ends well</em>. You are in balance with your surroundings; you are in balance with yourself. It seems that you are making time run at <em>your</em> will; you seem to be ahead of time; you are enjoying <em>every moment</em> of your life. No problem seems to be overwhelming; every problem you have in life is <em>minor</em> and you have the confidence to overcome it – you are never daunted by that problem. You know that success and failure are a part of life; you are setting yourself minor targets, judging your own abilities well and trying to raise your own standards – all the time enjoying what are doing. The result &#8211; the failures seem minor to you; you are happy and satisfied with what you have, and what you have achieved. <em>Peace</em> seems to be in and around you. This may sound impractical, yet it is not – you are experiencing it&#8230; Life seems to be <em>eternal bliss</em>!!!</p>
<p class="MsoNormal">You are at a high in life; care-free, satisfied, happy. You are <em>commanding</em> yourself to go at a very high speed in life – ready to face any challenge in life – unfazed by anything that could possibly come, with the confidence that you have.</p>
<p class="MsoNormal">And then… life applies a <em>disk</em> brake…….. brakes have been applied before &#8211; yes, but this one however seems to beyond your capability, beyond your worst nightmares; you wish that some higher power will come to the rescue…. this <em>brake</em> is without a reason; illogical, impractical, an event which when analyzed in whatever possible way, doesn’t have something <em>positive</em> in it; something that doesn’t have a good ending, for sure…. <span> </span>the thing that you value the <em>most</em> in your life (<em>more than your life</em>) is lost, beyond recovery…. no longer do your beliefs have a meaning… your dreams are shattered… your ambition in life is of little importance; nothing in life seems to be important…. you no longer have the zeal for life…. life suddenly seems <em>void</em>….</p>
<p class="MsoNormal">Enormous pressure is applied upon your heart. You are not dead; though you feel it would have been better, if you were. You are suffocated; your heart in punctured; it feels extremely difficult to take a single breath. Your head seems to be occupied by a devil &#8211; a loser &#8211; a pessimist; <em>cracked</em>. Your vision is blurred; you don’t want to see anything anymore. Your life is scarred; a <em>permanent</em> scar. You don’t know where your life is headed. You don’t know whether you can <em>ever</em> be the same person you were before. You would have given anything else in exchange for this not to happen.</p>
<p class="MsoNormal"><em>Can there ever be a reasonable, compromised solution to this??? Can you ever find peace again??? Can you remove all this from your mind???? Can you lead a normal life again?????</em> The answer seems to be NO.</p>
<p class="MsoNormal"><em>Death</em> certainly seems a lot easier option.</p>
<p class="MsoNormal">It is at these times that you know the <em>real</em> value of the people who love you. They might not know your problem; they might not know the solution; they might not even know they are helping you, but they help you, directly or indirectly. You realize how <em>invaluable</em> they are in your life. You despise yourself for ever hurting them in your past. You decide to rectify yourself for any such past mistakes. You want to pay back, in kind and in full, to all those who love you; but the more you feel depressed, the more they get to know you are depressed, the more will they be depressed. So even though you can’t forget the most <em>terrible</em> happening in your life, you force it deep down in your heart. You conceal your feelings; and value their feelings…… you start living for them.</p>
<p class="MsoNormal">Still there is a void in your heart that can’t be filled; undoubtedly, life would have been better without that incident; life can never be as before, but you strive to make it better, for others and in return, for yourself, in some way.</p>
<p class="MsoNormal">The search for that eternal bliss achieved before is probably never going to end, but there is still hope… maybe you will come across <em>a silver lining</em> some day…. you <span> </span>wont give up…. you will keep searching…&#8230; even <em>death</em> cant stop it…..</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=59&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2006/09/14/life/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
		<item>
		<title>Intro</title>
		<link>http://roshan18.wordpress.com/2006/09/14/intro-5/</link>
		<comments>http://roshan18.wordpress.com/2006/09/14/intro-5/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 11:36:33 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
				<category><![CDATA[Flashes from My Pensieve]]></category>

		<guid isPermaLink="false">http://roshan18.wordpress.com/2006/09/14/intro-5/</guid>
		<description><![CDATA[Flashes from My Pensieve:
For a long time now, I have been thinking of starting a new series of posts – flashes from my pensieve. I wanted to try my hand at real writing. I wanted to express feelings in words. So I thought of my past, my present, my future, my dreams, events which people [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=58&subd=roshan18&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Flashes from My Pensieve:</strong></p>
<p class="MsoNormal">For a long time now, I have been thinking of starting a new series of posts – <em>flashes from my pensieve</em>. I wanted to try my hand at real writing. I wanted to express feelings in words. So I thought of my past, my present, my future, my dreams, events which people around me have experienced, even completely imaginary situations inspired by books, television or movies – a mixture of all these is what I am going to put in this category. It need not be completely about me or completely about anyone else, even if I write it as a first person experience.</p>
<p class="MsoNormal">Suggestions, criticism, etc are invited, especially since I am trying something different; I will be experimenting a lot.</p>
<p class="MsoNormal"><em>PS</em>: For those of you who haven’t read Harry Potter, <em>Pensieve</em> is an object which is used to store memories. It is something similar to a diary, but something really <em>creative</em> and much more advanced; an asset to have. The memory that is stored in a pensieve can be viewed later, at your will, and you can observe things in that memory which you have missed before i.e. you can view that memory in a different perspective, observe what others are doing around you, and view it from their perspective. Too complex to say &#8211; only J K Rowling can explain in detail. So read Harry Potter books <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/roshan18.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/roshan18.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/roshan18.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/roshan18.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/roshan18.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/roshan18.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/roshan18.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/roshan18.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/roshan18.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/roshan18.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/roshan18.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/roshan18.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=roshan18.wordpress.com&blog=102831&post=58&subd=roshan18&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://roshan18.wordpress.com/2006/09/14/intro-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cad28b4fb0358f81f9c73e7ce6dc2c4?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">roshan18</media:title>
		</media:content>
	</item>
	</channel>
</rss>