<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>äŋĸųя™ Ѣ</title>
	<atom:link href="http://ankurganguli.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankurganguli.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 21 Sep 2010 10:38:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ankurganguli.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>äŋĸųя™ Ѣ</title>
		<link>http://ankurganguli.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ankurganguli.wordpress.com/osd.xml" title="äŋĸųя™ Ѣ" />
	<atom:link rel='hub' href='http://ankurganguli.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Linux Timezone Configuration</title>
		<link>http://ankurganguli.wordpress.com/2010/09/21/linux-timezone-configuration/</link>
		<comments>http://ankurganguli.wordpress.com/2010/09/21/linux-timezone-configuration/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 10:13:11 +0000</pubDate>
		<dc:creator>ankurganguli</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://ankurganguli.wordpress.com/?p=185</guid>
		<description><![CDATA[This guide will help you setup the correct date and time on your Red Hat/CentOS/Fedora Linux system. Instructions There are two clocks to configure in Linux, the hardware clock and the system clock. The hardware clock determines the system clock on system boot. While the system is running, changes to one of these don’t affect <a href="http://ankurganguli.wordpress.com/2010/09/21/linux-timezone-configuration/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=185&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This guide will help you setup the correct date and time on your Red Hat/CentOS/Fedora Linux system.</p>
<h3>Instructions</h3>
<p>There are two clocks to configure in Linux, the hardware clock and the system clock. The hardware clock determines the system clock on system boot. While the system is running, changes to one of these don’t affect the other.</p>
<p>Note: it&#8217;s best to set the hardware clock and have the system clock be set upon a reboot. Changing the system clock by using the date program on a running system could cause date discontinuities and consequently problems. If you will be using ntpd, you probably don&#8217;t need to set either of these clocks (unless the current time is more than 1000s off the real time). Just setup ntpd and let ntpd adjust the time (it will do it in small steps to keep system timestamps reliable).<span id="more-185"></span></p>
<p>1. If convenient, use Red Hat&#8217;s date config tool.</p>
<blockquote><p># system-config-time<br />
# system-config-date</p></blockquote>
<p>The date config tool also allows you to setup ntpd, which will keep the system clock in sync with a remote server.</p>
<p>If using the dateconfig tool is not an option, follow the remaining steps to configure manually. For example, if you are using a non graphical terminal (dateconfig requires X windows), you must configure manually.</p>
<p>2. You can use timeconfig to configure the timezone and UTC settings. Time config will update /etc/sysconfig/clock and /etc/localtime.</p>
<p>3. Set the time zone manually if not already set.</p>
<p>Linux uses the file /etc/localtime to determine the time zone. This file should be either a copy of the appropriate timezone file from the directory /usr/share/zoneinfo or a symbolic link. If your time zone is incorrect, create a symbolic link to the appropriate timezone file.</p>
<blockquote><p># ln -s /usr/share/zoneinfo/Asis/Kolkata /etc/localtime</p></blockquote>
<p>4. Set whether hwclock uses local time or UTC</p>
<p>Edit the file /etc/sysconfig/clock and change &#8220;UTC=&#8221; to true or false. If you have a dual-boot system with Windows, using UTC may cause problems for Windows.</p>
<p>5. Set the system clock</p>
<blockquote><p># date MMDDhhmmYYYY.ss</p></blockquote>
<p>where MM is month, DD is day, hh is hour, mm is minutes, YYYY is year and ss is seconds. Time should be in 24-hour notation.</p>
<p>To only set the time:</p>
<blockquote><p># date -s hh:mm:ss</p></blockquote>
<p>6. Set the hardware clock</p>
<p>To set the hardware clock to the current system clock:</p>
<blockquote><p># hwclock &#8211;systohc<br />
# hwclock &#8211;systohc &#8211;utc</p></blockquote>
<p>Use the second option if you use UTC.</p>
<blockquote><p># hwclock &#8211;hctosys</p></blockquote>
<p>To set hwclock to system default</p>
<p>Set hwclock manually:</p>
<blockquote><p># hwclock &#8211;set &#8211;date=&#8221;09/21/2010 16:10:05&#8243;</p></blockquote>
<p>Everytime you use the hwclock &#8211;set command, it will create or edit the file /etc/adjtime to determine the systematic drift. Once you have some history, you can use the &#8211;adjust option to adjust the hardware clock appropriately. Run as a cron job if you want the clock to adjust automatically on a regular schedule. Don&#8217;t use the &#8211;adjust function when using ntpd since ntpd will turn the &#8220;11 minute mode&#8221; on, which is best left alone. See the hwclock manpage for more info.</p>
<p>7. Setup ntpd for automatic synchronization with a remote server.</p>
<p>Run Red Hat&#8217;s setup utility to make ntpd start on boot up and edit /etc/ntp.conf</p>
<p>Set server and fudge options:</p>
<blockquote><p># &#8212; GENERAL CONFIGURATION &#8212;<br />
server  aaa.bbb.ccc.ddd<br />
server  127.127.1.0<br />
fudge   127.127.1.0 stratum 10</p>
<p># Drift file.<br />
driftfile /etc/ntp/drift</p></blockquote>
<p>Enable multicastclient:</p>
<p>multicastclient     # listen on default 127.127.1.0</p>
<p>Edit /etc/sysconfig/ntpd if necessary. The default should be fine.</p>
<p>Start the ntpd daemon:</p>
<blockquote><p># service ntpd start</p></blockquote>
<p>Reference:</p>
<p>http://www.linuxselfhelp.com/quick/clock.html</p>
<p>http://tldp.org/LDP/sag/html/basic-ntp-config.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ankurganguli.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ankurganguli.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ankurganguli.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=185&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ankurganguli.wordpress.com/2010/09/21/linux-timezone-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/855f1350e685e550beda314d9d591200?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ankurganguli</media:title>
		</media:content>
	</item>
		<item>
		<title>Indian rupee symbol</title>
		<link>http://ankurganguli.wordpress.com/2010/08/12/indian-rupee-symbol/</link>
		<comments>http://ankurganguli.wordpress.com/2010/08/12/indian-rupee-symbol/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:20:46 +0000</pubDate>
		<dc:creator>ankurganguli</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Indian rupee symbol]]></category>

		<guid isPermaLink="false">http://ankurganguli.wordpress.com/?p=170</guid>
		<description><![CDATA[India has finally got a symbol for the Rupee. D. Udaya Kumar the designer of the Indian rupee sign. He is an assistant professor at IIT Guwahati. His design was selected from among five short listed symbols for the Rupee. The new sign is an amalgam of the Devanagari letter &#8220;र&#8221; (ra) and the Latin <a href="http://ankurganguli.wordpress.com/2010/08/12/indian-rupee-symbol/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=170&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">India has finally got a symbol for the Rupee. <strong>D.</strong> <strong>Udaya Kumar </strong>the designer of the Indian rupee sign. He is an assistant professor at IIT Guwahati. His design was selected from among five short listed symbols for the Rupee. The new sign is an amalgam of the Devanagari letter <strong>&#8220;र&#8221; </strong>(ra) and the Latin capital letter &#8220;R&#8221; without its vertical bar. The parallel lines at the top (with white space between them) are said to make an allusion to the tricolor Indian flag.</p>
<p style="text-align:justify;"><a href="http://ankurganguli.files.wordpress.com/2010/08/500px-indian_rupee_symbol-svg.png"><img class="aligncenter size-full wp-image-174" title="500px-Indian_Rupee_symbol.svg" src="http://ankurganguli.files.wordpress.com/2010/08/500px-indian_rupee_symbol-svg.png?w=500&#038;h=735" alt="" width="500" height="735" /></a></p>
<h2 style="text-align:left;">Example</h2>
<p><a href="http://ankurganguli.files.wordpress.com/2010/08/rs1k.png"><img class="size-full wp-image-173 alignnone" title="rs1k" src="http://ankurganguli.files.wordpress.com/2010/08/rs1k.png?w=500" alt=""   /></a></p>
<h4>Reference:</h4>
<p><a href="http://en.wikipedia.org/wiki/D_Udaya_Kumar">http://en.wikipedia.org/wiki/Indian_rupee_sign<br />
</a><a href="http://www.moneycontrol.com/news/current-affairs/rupee-getsnew-symbol_470128.html">http://en.wikipedia.org/wiki/D_Udaya_Kumar</p>
<p>http://www.moneycontrol.com/news/current-affairs/rupee-getsnew-symbol_470128.html</a></p>
<h4>Font with Indian Rupee Symbol</h4>
<p><a href="http://blog.foradian.com/font-with-indian-rupee-symbol-download-and-us">http://blog.foradian.com/font-with-indian-rupee-symbol-download-and-us</a></p>
<p style="text-align:justify;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ankurganguli.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ankurganguli.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ankurganguli.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=170&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ankurganguli.wordpress.com/2010/08/12/indian-rupee-symbol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/855f1350e685e550beda314d9d591200?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ankurganguli</media:title>
		</media:content>

		<media:content url="http://ankurganguli.files.wordpress.com/2010/08/500px-indian_rupee_symbol-svg.png" medium="image">
			<media:title type="html">500px-Indian_Rupee_symbol.svg</media:title>
		</media:content>

		<media:content url="http://ankurganguli.files.wordpress.com/2010/08/rs1k.png" medium="image">
			<media:title type="html">rs1k</media:title>
		</media:content>
	</item>
		<item>
		<title>Port Redirection</title>
		<link>http://ankurganguli.wordpress.com/2010/06/25/port-redirection/</link>
		<comments>http://ankurganguli.wordpress.com/2010/06/25/port-redirection/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 19:45:48 +0000</pubDate>
		<dc:creator>ankurganguli</dc:creator>
				<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[http port redirection]]></category>
		<category><![CDATA[port 80 redirection]]></category>
		<category><![CDATA[Port Redirection]]></category>

		<guid isPermaLink="false">http://ankurganguli.wordpress.com/?p=167</guid>
		<description><![CDATA[If you want to redirect all incoming TCP traffic on a predefined port (e.g. 80) to a custom port (say 8089) on the local machine, then xinetd is a good option. Xinetd, the Extended Internet Daemon, is an open-source super-server  daemon which runs on many Unix-like  systems and manages Internet-based connectivity. Below is the example <a href="http://ankurganguli.wordpress.com/2010/06/25/port-redirection/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=167&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to redirect all incoming TCP traffic on a predefined port (e.g. 80) to a custom port (say 8089) on the local machine, then xinetd is a good option. Xinetd, the Extended Internet Daemon, is an open-source super-server  daemon which runs on many Unix-like  systems and manages Internet-based connectivity. Below is the example of &#8220;http port redirection&#8221;.</p>
<p>Login to your Linux server as super user i.e. ‘root’.</p>
<p>Create a file under /etc/xinetd.d/ as http_redirector</p>
<blockquote><p># vi /etc/xinetd.d/http_redirector</p></blockquote>
<p>Now add the following entries in the files.</p>
<blockquote><p>service http_redirector<br />
{<br />
type = UNLISTED<br />
disable = no<br />
socket_type = stream<br />
protocol = tcp<br />
user = root<br />
wait = no<br />
port = 80<br />
redirect = 127.0.0.1 8089<br />
log_type = FILE /tmp/httpredirector.log<br />
}</p></blockquote>
<p>Restart the xinetd service.</p>
<p>That’s all you are done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ankurganguli.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ankurganguli.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ankurganguli.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ankurganguli.wordpress.com&amp;blog=4896574&amp;post=167&amp;subd=ankurganguli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ankurganguli.wordpress.com/2010/06/25/port-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/855f1350e685e550beda314d9d591200?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ankurganguli</media:title>
		</media:content>
	</item>
	</channel>
</rss>
