<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Making Life Simple &#187; linux</title>
	<atom:link href="http://www.lalitmehta.com/home/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lalitmehta.com/home</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 09:13:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Steps to speed up Eclipse</title>
		<link>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=steps-to-speed-up-eclipse</link>
		<comments>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 13:19:03 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=179</guid>
		<description><![CDATA[I found an interesting link which helped me to speed up the eclipse loading time. Let me know if that helped you.]]></description>
			<content:encoded><![CDATA[<p>I found an interesting <a title="Speed up your eclipse" href="http://www.beyondlinux.com/blog/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/" target="_blank">link</a> which helped me to speed up the eclipse loading time. Let me know if that helped you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access AWS with Putty</title>
		<link>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=access-aws-with-putty</link>
		<comments>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 18:56:46 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=171</guid>
		<description><![CDATA[When accessing EC2 amazon cloud, you would receive a .pem file to login to the shell. Putty does not use .pem file and you would need to convert that file to .ppk file which putty uses. In order to convert it, you would need to download puttygen.exe from the website. Run the program and follow [...]]]></description>
			<content:encoded><![CDATA[<p>When accessing EC2 amazon cloud, you would receive a .pem file to login to the shell.  Putty does not use .pem file and you would need to convert that file to .ppk file which putty uses.  In order to convert it, you would need to download puttygen.exe from the website.  Run the program and follow the following steps:</p>
<ol>
<li>Click &#8220;Conversions&#8221; on the menu and select &#8220;Import key&#8221;</li>
<li>Browse to the .pem file </li>
<li>Click &#8220;Save private key&#8221; button</li>
<li>You would get a warning that you are saving the key without a passphrase.  Please ignore it and click &#8220;Yes&#8221;</li>
<li>Save the .ppk file</li>
</ol>
<p>On putty:</p>
<ol>
<li>Select the session you created and click &#8220;Load&#8221;</li>
<li>Open &#8220;SSH->Auth&#8221; from the tree on the left</li>
<li>Under &#8220;Private key file for authentication&#8221; browse to the recently created .ppk file</li>
<li>Save the session and you are ready</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create self signing SSL Certificate</title>
		<link>http://www.lalitmehta.com/home/2009/07/10/create-self-signing-ssl-certificate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-self-signing-ssl-certificate</link>
		<comments>http://www.lalitmehta.com/home/2009/07/10/create-self-signing-ssl-certificate/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:10:58 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=93</guid>
		<description><![CDATA[Generate server key openssl genrsa -des3 -out server.key 4096 Create certificate signing request openssl req -new -key server.key -out server.csr Sign the certificate signing request with the server key openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt Make the server key that does not need the password openssl rsa -in server.key -out [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Generate server key<br />
<code>openssl genrsa -des3 -out server.key 4096</code></li>
<li>Create certificate signing request<br />
<code>openssl req -new -key server.key -out server.csr</code></li>
<li>Sign the certificate signing request with the server key<br />
<code>openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt</code></li>
<li>Make the server key that does not need the password<br />
<code>openssl rsa -in server.key -out server.key.insecure</code></li>
<li>Do some house cleaning<br />
<code>mv server.key server.key.secure<br />
mv server.key.insecure server.key</code></li>
<li>Use the following files in apache configuration<br />
<code>server.key<br />
server.crt</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2009/07/10/create-self-signing-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force SSL on apache</title>
		<link>http://www.lalitmehta.com/home/2009/07/10/force-ssl-on-apache/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=force-ssl-on-apache</link>
		<comments>http://www.lalitmehta.com/home/2009/07/10/force-ssl-on-apache/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 15:17:53 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=89</guid>
		<description><![CDATA[mod rewrite should be enabled on apache. Add the following to your apache config file. ######################################### #### XXX: BEGIN EDIT FOR MOD_REWRITE #### #### This is intended to force HTTPS #### #### for all inbound HTTP requests #### #### # This module (mod_rewrite) simply tells Apache2 that all connections to # port 80 need to [...]]]></description>
			<content:encoded><![CDATA[<p>mod rewrite should be enabled on apache. Add the following to your apache config file.<br />
<code><br />
#########################################<br />
#### XXX: BEGIN EDIT FOR MOD_REWRITE ####<br />
#### This is intended to force HTTPS ####<br />
#### for all inbound HTTP requests ####</p>
<p>####<br />
# This module (mod_rewrite) simply tells Apache2 that all connections to<br />
# port 80 need to go to port 443 – SSL – No exceptions<br />
####</p>
<p><IfModule !mod_rewrite.c><br />
LoadModule rewrite_module modules/mod_rewrite.so<br />
</IfModule><br />
<IfModule mod_rewrite.c><br />
RewriteEngine on</p>
<p>####<br />
# The line below sets the rewrite condition for mod_rewrite.so.<br />
# That is, if the server port does not equal 443, then this condition is true<br />
####</p>
<p>ReWriteCond %{SERVER_PORT} !^443$</p>
<p>####<br />
# The line below is the rule, it states that if above condition is true,<br />
# and the request can be any url, then redirect everything to https:// plus<br />
# the original url that was requested.<br />
####</p>
<p>RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]<br />
</IfModule></p>
<p>#### XXX: END EDIT FOR MOD_REWRITE ####<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2009/07/10/force-ssl-on-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Disable Hardware Beep Sound For Terminal</title>
		<link>http://www.lalitmehta.com/home/2009/07/08/linux-disable-turn-off-hardware-beep-sound-for-terminal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-disable-turn-off-hardware-beep-sound-for-terminal</link>
		<comments>http://www.lalitmehta.com/home/2009/07/08/linux-disable-turn-off-hardware-beep-sound-for-terminal/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 13:03:44 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=82</guid>
		<description><![CDATA[If you are using xterm, open ~/.xsession file $ cd $ vi .xession Append the following line: xset b off Save and close the file. If you are using bash shell, open ~/.inputrc file $ cd $ vi .inputrc Append following line: set bell-style none Save and close the file. If you want to turn [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li> If you are using xterm, open ~/.xsession file<br />
<code>$ cd<br />
$ vi .xession<br />
</code>Append the following line:<br />
<code>xset b off<br />
</code>Save and close the file.</li>
<li> If you are using bash shell, open ~/.inputrc file<br />
<code>$ cd<br />
$ vi .inputrc<br />
</code>Append following line:<br />
<code>set bell-style none<br />
</code>Save and close the file.</li>
<li> If you want to turn off beep for VIM text editor, open vim config file ~/.vimrc<br />
<code>$ cd<br />
$ vi .vimrc<br />
</code>Append following line<br />
<code>set vb<br />
</code>Save and close the file.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2009/07/08/linux-disable-turn-off-hardware-beep-sound-for-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove .svn folders</title>
		<link>http://www.lalitmehta.com/home/2009/07/08/remove-svn-folders/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=remove-svn-folders</link>
		<comments>http://www.lalitmehta.com/home/2009/07/08/remove-svn-folders/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 07:04:41 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=78</guid>
		<description><![CDATA[In order to clean up the SVN checkout, you can do #deletes all .svn files/folders find . -name ".svn" -exec rm -rf {} \; OR #deletes all .svn folders find . -name ".svn" -type d -exec rm -rf {} \;]]></description>
			<content:encoded><![CDATA[<p>In order to clean up the SVN checkout, you can do</p>
<p><code>#deletes all .svn files/folders<br />
find . -name ".svn" -exec rm -rf {} \;<br />
</code></p>
<p>OR</p>
<p><code>#deletes all .svn folders<br />
find . -name ".svn" -type d -exec rm -rf {} \;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2009/07/08/remove-svn-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete all iptables rules</title>
		<link>http://www.lalitmehta.com/home/2008/02/05/delete-all-iptables-rules/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=delete-all-iptables-rules</link>
		<comments>http://www.lalitmehta.com/home/2008/02/05/delete-all-iptables-rules/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 06:21:16 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2008/02/05/delete-all-iptables-rules/</guid>
		<description><![CDATA[Enter the following to delete iptables completely # iptables -F # iptables -t nat -F # iptables -t mangle -F # iptables -X]]></description>
			<content:encoded><![CDATA[<p>Enter the following to delete iptables completely</p>
<p># iptables -F<br />
# iptables -t nat -F<br />
# iptables -t mangle -F<br />
# iptables -X</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2008/02/05/delete-all-iptables-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.net.SocketException: Too many open files</title>
		<link>http://www.lalitmehta.com/home/2008/01/18/javanetsocketexception-too-many-open-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javanetsocketexception-too-many-open-files</link>
		<comments>http://www.lalitmehta.com/home/2008/01/18/javanetsocketexception-too-many-open-files/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 22:27:29 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/2008/01/18/javanetsocketexception-too-many-open-files/</guid>
		<description><![CDATA[For System Wide settings To see the settings for maximum open files for the OS level, use following command. cat /proc/sys/fs/file-max This should be a value from 36000 to 50000 or more. To increase the system wide maximum open files, as root edit the /etc/sysctl.conf and add the following to the end of the file. [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;">For System Wide settings</span><br />
To see the settings for maximum open files for the OS level, use following command.<br />
<em>cat /proc/sys/fs/file-max</em><br />
This should be a value from 36000 to 50000 or more. To increase the system wide maximum open files, as root edit the /etc/sysctl.conf and add the following to the end of the file.</p>
<p>Note: The following example will increase the maximum number of files to 49,500 on your currently running system and will persist after rebooting.</p>
<p>fs.file-max = 49500</p>
<p>Then issue the following command to activate this change to your live system.<br />
sysctl -p</p>
<p><span style="text-decoration: underline;">For user level setting</span></p>
<p>Also, you should update /etc/security/limits.conf for the user.</p>
<p>myuser hard nofile 2048<br />
myuser soft nofile 2048</p>
<p>Type this to see what it&#8217;s set at:</p>
<p>ulimit -a</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2008/01/18/javanetsocketexception-too-many-open-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Header files for linux (Fedora)</title>
		<link>http://www.lalitmehta.com/home/2006/11/12/header-files-for-linux-fedora-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=header-files-for-linux-fedora-2</link>
		<comments>http://www.lalitmehta.com/home/2006/11/12/header-files-for-linux-fedora-2/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 07:50:24 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=17</guid>
		<description><![CDATA[Header files are provided with *-devel packages.]]></description>
			<content:encoded><![CDATA[<p>Header files are provided with *-devel packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2006/11/12/header-files-for-linux-fedora-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Fedora Using a Network</title>
		<link>http://www.lalitmehta.com/home/2006/09/30/installing-fedora-using-a-network/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-fedora-using-a-network</link>
		<comments>http://www.lalitmehta.com/home/2006/09/30/installing-fedora-using-a-network/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 02:38:06 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=13</guid>
		<description><![CDATA[Fedora can be installed using a local network (or even over the Internet if you have broadband access). You will need access to a Web, FTP, or NFS server hosting the installation packages. To boot to a network install, use a network boot floppy, a bootable CD-ROM created using the boot.iso boot image, or the [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora can be installed using a local network (or even over the Internet if you have broadband access). You will need access to a Web, FTP, or NFS server hosting the installation packages. To boot to a network install, use a network boot floppy, a bootable CD-ROM created using the boot.iso boot image, or the first Fedora Core CD-ROM included with this book. Boot your PC with the boot floppy or, if you use CD-ROM, type</p>
<p>linux askmethod</p>
<p>at the boot prompt. Follow the prompts, and you&#8217;ll then be asked to choose the type of network installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2006/09/30/installing-fedora-using-a-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

