<?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>Dare to Dream? &#187; How-To</title>
	<atom:link href="http://www.makuchaku.in/blog/category/how-to/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makuchaku.in/blog</link>
	<description>Good judgment comes from experience; Experience comes from bad judgment.</description>
	<lastBuildDate>Sun, 02 Oct 2011 19:29:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pull up your socks &#8211; The magic of tsocks&#8230;</title>
		<link>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks</link>
		<comments>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks#comments</comments>
		<pubDate>Fri, 30 Oct 2009 04:42:47 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=807</guid>
		<description><![CDATA[So if you are in a same situation as mine, you probably&#8230; Are on an MNC&#8217;s intranet which is being simultaneously used by a ton of other souls Get pathetic internet speeds, at times &#8211; measurable sometimes in BYTES! Even &#8220;git pull&#8221; takes like ages to complete&#8230; Any connection to Twitter is severed before it [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>So if you are in a same situation as mine, you probably&#8230;</p>
<ul>
<li>Are on an MNC&#8217;s intranet which is being simultaneously used by a ton of other souls</li>
<li>Get pathetic internet speeds, at times &#8211; measurable sometimes in BYTES!</li>
<li>Even &#8220;git pull&#8221; takes like ages to complete&#8230;</li>
<li>Any connection to Twitter is severed before it even sees light of the day!</li>
</ul>
<p>The solution to all these worries is simpler than you think.</p>
<p>We can create an SSH tunnel to a *much* faster server and push our internet traffic over it. If the server is local, this will work even better &#8211; as your SSH on local LAN connections would be definitely faster than that on real WWW.</p>
<p>Follow <a href="http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel" target="_blank">http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel</a> and create a tunnel on any port. Lets call it $PORT<br />
Basically, you need to run&#8230;</p>
<pre>ssh -fND localhost:$PORT username@some-fast-server.com</pre>
<p>Install <a href="http://tsocks.sourceforge.net/" target="_blank">tsocks</a> &#8211; its a Transparent SOCKS Proxying Library which uses the magic of LD_PRELOAD and patches the connect() call to appropriately use a pre-configured proxy (via /etc/tsocks.conf). Hence any call like&#8230;</p>
<blockquote><p>git pull</p></blockquote>
<p>becomes</p>
<blockquote><p>tsocks git pull</p></blockquote>
<p>Your /etc/tsocks.conf looks something like this (after removing all the comments)</p>
<blockquote><p>#Define a local network for which tsocks won&#8217;t patch the connect() call<br />
local = 192.168.0.0/255.255.0.0</p>
<p>path {<br />
reaches = 0.0.0.0/0.0.0.0<br />
server = 127.0.0.1<br />
server_type = 5<br />
server_port = $PORT<br />
}<br />
server = 127.0.0.1<br />
server_type = 5<br />
server_port = $PORT</p></blockquote>
<p>Replace the $PORT by the port you selected when creating the SSH tunnel. Server remains 127.0.0.1 as your tunnel exists on your own machine.</p>
<p>To configure your Firefox to use this new tunnel, goto Edit &gt; Preferences &gt; Advanced &gt; Network Tab &gt; Settings and make it look like</p>
<p><img title="Connection Settings" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/10/Screenshot-Connection-Settings.png" alt="Connection Settings" width="518" height="559" /><br />
Add URL&#8217;s and IP ranges to &#8220;No Proxy for&#8221; field to exempt them from using the SSH tunnel.</p>
<p>That&#8217;s it. Click OK and you are ready to rock!</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/pull-up-your-socks-the-magic-of-tsocks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An interesting problem to solve when migrating wordpress blog to a new URL</title>
		<link>http://www.makuchaku.in/blog/an-interesting-problem-to-solve-when-migrating-wordpress-blog-to-a-new-url</link>
		<comments>http://www.makuchaku.in/blog/an-interesting-problem-to-solve-when-migrating-wordpress-blog-to-a-new-url#comments</comments>
		<pubDate>Thu, 08 Oct 2009 00:05:58 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=790</guid>
		<description><![CDATA[Problem Scenario I migrated my blog from makuchaku.info to makuchaku.in &#8211; and wanted everyone who was linking to my &#8220;.info&#8221; domain, automagically gets linked to my &#8220;.in&#8221; domain. Ofcourse, I cannot change all the possible places from where my .info blog is linked. Challenges I want &#8220;.in/&#8221; to be served when &#8220;.info/&#8221; is cliked I [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/an-interesting-problem-to-solve-when-migrating-wordpress-blog-to-a-new-url&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p><span style="text-decoration: underline;"><strong>Problem Scenario</strong></span><br />
I migrated my blog from makuchaku.info to makuchaku.in &#8211; and wanted everyone who was linking to my &#8220;.info&#8221; domain, automagically gets linked to my &#8220;.in&#8221; domain. Ofcourse, I cannot change all the possible places from where my .info blog is  linked.</p>
<p><span style="text-decoration: underline;"><strong>Challenges</strong></span></p>
<ol>
<li>I want &#8220;.in/&#8221; to be served when &#8220;.info/&#8221; is cliked</li>
<li>I want &#8220;.in/blog/this-is-a-post&#8221; to be served when &#8220;.info/blog/this-is-a-post&#8221; is clicked.</li>
</ol>
<p>Ofcourse, Challenge 1 is very east and straight forward. Just put up a redirection at .info domain and you&#8217;r done. Challenge 2 is interesting.</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span><br />
Goto your theme editor (old wordpress blog) and edit the template for which you want to setup redirection. For me, it was all posts and all pages. Next, insert this javascript code at the top of template code&#8230;</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&lt;script type=<span class="st0">&quot;text/javascript&quot;</span>&gt;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Redirecting makuchaku.info to makuchaku.in</span></div>
</li>
<li class="li1">
<div class="de1">document.<span class="me1">location</span> = document.<span class="me1">location</span>.<span class="me1">href</span>.<span class="me1">replace</span><span class="br0">&#40;</span><span class="re0">/makuchaku\.<span class="me1">info</span>/</span>, <span class="st0">&quot;makuchaku.in&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&lt;/script&gt;</div>
</li>
</ol>
</div>
<p>Thats it. Now whenever you&#8217;ll hit http://makuchaku.info/blog/why-makuchaku &#8211; you will be redirected to http://makuchaku.in/blog/why-makuchaku &#8211; sweet!</p>
<p><span style="text-decoration: underline;"><strong>Assumptions</strong></span><br />
This solution assumes that your new blog is a mirror replica of your old blog.</p>
<p>Please Digg this post if it helped. Thanks.</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/an-interesting-problem-to-solve-when-migrating-wordpress-blog-to-a-new-url&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/an-interesting-problem-to-solve-when-migrating-wordpress-blog-to-a-new-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto fix slow and choppy flash/video on ThinkPad T61 running Ubuntu Jaunty</title>
		<link>http://www.makuchaku.in/blog/howto-fix-slow-and-choppy-flash-and-video-on-thinkpad-t61-running-ubuntu-jaunty</link>
		<comments>http://www.makuchaku.in/blog/howto-fix-slow-and-choppy-flash-and-video-on-thinkpad-t61-running-ubuntu-jaunty#comments</comments>
		<pubDate>Tue, 29 Sep 2009 21:06:30 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=774</guid>
		<description><![CDATA[Very recently, I upgraded from Ubuntu Intrepid to Ubuntu Jaunty &#8211; and to my horror, the system went very slow! I wasn&#8217;t sure what was causing the problem but Xorg reported near 100% CPU utilization in &#8220;top&#8221; output, Firefox felt very very heavy, flash videos on youtube were choppy and slow &#8211; even Gedit felt [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/howto-fix-slow-and-choppy-flash-and-video-on-thinkpad-t61-running-ubuntu-jaunty&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Very recently, I upgraded from Ubuntu Intrepid to Ubuntu Jaunty &#8211; and to my horror, the system went very slow! I wasn&#8217;t sure what was causing the problem but Xorg reported near 100% CPU utilization in &#8220;top&#8221; output, Firefox felt very very heavy, flash videos on youtube were choppy and slow &#8211; even Gedit felt like a 200 megs java app &#8211; &#8230;that slow!</p>
<p>I googled a bit and realized that many were facing the same problem. Reason were the Intel video drivers in Jaunty.</p>
<p><span style="text-decoration: underline;"><strong>This is how I fixed my Lenovo ThinkPad T61 running on Ubuntu Jaunty</strong></span></p>
<p><strong>Installed Kernel</strong></p>
<blockquote><p>Linux Warrior 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux</p></blockquote>
<p><strong>My T61&#8242;s Graphics Card</strong></p>
<blockquote><p>00:02.0 &#8220;VGA compatible controller&#8221; &#8220;Intel Corporation&#8221; &#8220;Mobile GM965/GL960 Integrated Graphics Controller&#8221; -r0c &#8220;Lenovo&#8221; &#8220;Device 20b5&#8243;</p></blockquote>
<p><strong>Step 1</strong><br />
Follow the guide at <a href="https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4" target="_blank">https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4</a> and install xserver-xorg-video-intel-2.4 package/drivers. Restart GDM.<br />
After installing these drivers, my system was back to sanity (firefox, gedit, etc) &#8211; however, flash videos were still choppy.</p>
<p><strong>Step 2</strong><br />
Follow the changes mentioned at <a href="https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance#Problem:%20EXA%20performance%20has%20regressed%20since%20Intrepid,%20but%20returns%20when%20using%20Greedy%20Migration" target="_blank">https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance</a> and reboot.<br />
This fixed the choppy flash issues for me.</p>
<p><strong>Step 3</strong><br />
Thanks to the comment <a href="http://allredb.wordpress.com/2009/05/07/speed-up-flash-and-firefox-in-ubuntu-jaunty-904/#comment-2" target="_blank">http://allredb.wordpress.com/2009/05/07/speed-up-flash-and-firefox-in-ubuntu-jaunty-904/#comment-2</a> &#8211; use the CPU Frequency scaling applet to make your CPU cores perform permanently at peak levels. Though this will cause higher battery consumption, I guess you are looking for better CPU speed (considering you are reading this post <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>Thats it folks!<br />
I hope this helps&#8230; my $0.02 &#8211; to make Ubuntu a better $home <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/howto-fix-slow-and-choppy-flash-and-video-on-thinkpad-t61-running-ubuntu-jaunty&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/howto-fix-slow-and-choppy-flash-and-video-on-thinkpad-t61-running-ubuntu-jaunty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup a remote GIT repository and play with branching</title>
		<link>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching</link>
		<comments>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:38:23 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Just for archive]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[peepcode]]></category>
		<category><![CDATA[scm]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=739</guid>
		<description><![CDATA[Given, you are a new GIT user/admin and want to setup an SVN like client-server architecture for your git repositories, wherein a server hosts the repository and many developers use that repository to track source code. Do checkout Peepcode&#8217;s screencast on using Git. It is a MUST watch for any new Git user/admin. ORIGIN (we [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Given, you are a new GIT user/admin and want to setup an SVN like client-server architecture for your git repositories, wherein a server hosts the repository and many developers use that repository to track source code.</p>
<p>Do checkout <a href="http://peepcode.com/products/git" target="_blank">Peepcode&#8217;s screencast on using Git</a>. It is a MUST watch for any new Git user/admin.</p>
<blockquote><p>
ORIGIN<br />
(we cannot create a &#8211;bare repo as redmine needs a .git directory, while &#8211;bare does not creates a .git dir)<br />
git init<br />
git add .<br />
git commit -m &#8220;initial import&#8221;</p>
<p>LOCALHOST<br />
git clone user@origin_server.com:/path/to/git/repo<br />
git remote show origin    # Confirm that master is tracking master<br />
git commit -a -m &#8220;some changes&#8221;<br />
git push        # push to origin, content from local master as master is tracking master</p>
<p>## Creating a new branch on the clone<br />
git branch experiment<br />
git commit -av &#8220;changes i made&#8221;<br />
git push origin experiment    # To be done only once after creating a branch. Next time onwards, just &#8220;git pull/push&#8221;.<br />
git remote show origin        # confirm that master is tracking master, experiment on local is tracking experiment on origin</p>
<p>## Using someone&#8217;s branch from origin<br />
git branch -a<br />
-&gt; *master<br />
-&gt;  origin/master<br />
-&gt;  origin/new_experiment<br />
git branch &#8211;track new_experiment origin/new_experiment        # Creates a new tracker with new_experiment of local is tracking new_experiment on origin<br />
git branch -a<br />
-&gt; *master<br />
-&gt;  new_experiment<br />
-&gt;  origin/master<br />
-&gt;  origin/new_experiment<br />
git checkout -b new_experiment<br />
git commit -av &#8220;my changes to new_experiment&#8221;<br />
git push   # Commits changes to new_experiment branch</p></blockquote>
<p>Once you are through with creating initial repos, and your branches on local are tracking the respective branches on remote, pushing/pulling is just a matter of doing &#8220;git push&#8221; and &#8220;git pull&#8221;.</p>
<p>I am simply loving it&#8230; err&#8230; git <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create subdomains for domains bought via Google Apps (Enom)</title>
		<link>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom</link>
		<comments>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom#comments</comments>
		<pubDate>Fri, 28 Aug 2009 22:42:28 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Domains and Hosting]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Just for archive]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=733</guid>
		<description><![CDATA[This was supposed to be the easiest thing (as in CPanel &#8211; goto Subdomains, click create a new subdomain, specify a directory and you&#8217;r done!)&#8230; but allas! It took me a full day to figure this out I&#8217;m sad&#8230; Anyways&#8230; as Enom&#8217;s Domain control panel is, there is no way of doing this. All you [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>This was supposed to be the easiest thing (as in CPanel &#8211; goto Subdomains, click create a new subdomain, specify a directory and you&#8217;r done!)&#8230; but allas! It took me a full day to figure this out <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I&#8217;m sad&#8230;</p>
<p>Anyways&#8230; as Enom&#8217;s Domain control panel is, there is no way of doing this. All you can do, is create A/CNAME/Redirection/TXT records. Ofcourse, they are not providing the hosting&#8230; so them knowing about the directory structure is perfectly &#8211; a valid problem.</p>
<p>After conversing with Enom&#8217;s helpful support staff (in near realtime), I was able to solve the problem&#8230;</p>
<p><strong><span style="text-decoration: underline;">Problem</span></strong><br />
But then, how do you create a subdomain on a domain which is bought via Google Apps and who&#8217;s DNS is managed by Enom?<br />
<span style="background-color: #ffffff;"><strong></strong></span></p>
<p><span style="background-color: #ffffff;"><strong><span style="text-decoration: underline;">Assumptions</span></strong></span></p>
<ul>
<li><span style="background-color: #ffffff;">You want to create a subdomain test.example.com</span></li>
<li><span style="background-color: #ffffff;">You have a r00t access</span></li>
<li><span style="background-color: #ffffff;">You are using Ubuntu with Apache2</span></li>
<li><span style="background-color: #ffffff;">Your example.com resolves to 1.2.3.4</span></li>
</ul>
<p><strong><span style="text-decoration: underline;">Solution<br />
</span></strong> At Enom control panel &#8211; add an &#8220;A&#8221; record with the value of 1.2.3.4 (address field) and &#8220;test&#8221; as hostname field (without the &#8220;&#8221;) and save.</p>
<p>At your hosting server end&#8230;<br />
Apache2 needs to be told to create a VirtualHost for your subdomain<br />
Your /etc/apache2/sites-available/example-com file (example-com is just a random name, replace it with your virtual hosts file name) should look like</p>
<blockquote><p>NameVirtualHost *:80</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName example.com<br />
DocumentRoot /my/document/root<br />
&lt;/VirtualHost&gt;</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName test.example.com<br />
DocumentRoot /my/document/root/test<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>Restart apache2 and you&#8217;r done!<br />
Wait for a few minutes for the changes to propogate&#8230; and try hitting http://test.example.com in your browser.</p>
<p>Good Luck!</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to check if the $file is as original as installed by the rpm?</title>
		<link>http://www.makuchaku.in/blog/how-to-check-if-the-file-is-as-original-as-installed-by-the-rpm</link>
		<comments>http://www.makuchaku.in/blog/how-to-check-if-the-file-is-as-original-as-installed-by-the-rpm#comments</comments>
		<pubDate>Wed, 01 Nov 2006 13:29:00 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Fedora Core]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=199</guid>
		<description><![CDATA[I assume that you are running a version of FC 1) Import the GPG key from the fedora server Assuming you are doing it on a FC6 base system wget -c http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/RPM-GPG-KEY rpm &#8211;import RPM-GPG-KEY 2) Once import is done, check your rpm with rpm -V rpm_name &#8230;thanks to paranoid Lap_64 to bring this up! [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-check-if-the-file-is-as-original-as-installed-by-the-rpm&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>I assume that you are running a version of FC</p>
<p>1) Import the GPG key from the fedora server</p>
<blockquote><p>Assuming you are doing it on a FC6 base system<br />
wget -c http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/RPM-GPG-KEY<br />
rpm &#8211;import RPM-GPG-KEY</p></blockquote>
<p>2) Once import is done, check your rpm with</p>
<blockquote><p>rpm -V rpm_name</p></blockquote>
<p>&#8230;thanks to paranoid <a href="http://www.orkut.com/Profile.aspx?uid=5688134477964136182">Lap_64</a> to bring this up!<br />
lolz!</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-check-if-the-file-is-as-original-as-installed-by-the-rpm&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-check-if-the-file-is-as-original-as-installed-by-the-rpm/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

