<?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>Ganesh DoT Me</title>
	<atom:link href="http://www.ganesh.me/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ganesh.me</link>
	<description>Piss off...</description>
	<lastBuildDate>Wed, 17 Feb 2010 17:07:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is the point of this?</title>
		<link>http://www.ganesh.me/41-what-is-the-point-of-this.html</link>
		<comments>http://www.ganesh.me/41-what-is-the-point-of-this.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 17:05:20 +0000</pubDate>
		<dc:creator>Ganesh Rao</dc:creator>
				<category><![CDATA[Servers & Networking]]></category>

		<guid isPermaLink="false">http://www.ganesh.me/?p=41</guid>
		<description><![CDATA[I&#8217;v been following people on Twitter for a long time now. The first time I decide to tweet, this is what I get:

I don&#8217;t understand why a company would invest time in developing something so annoying to its users. Or would we rather prefer the &#8220;ERROR: Server too busy to respond&#8221; browser error page?
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;v been following people on Twitter for a long time now. The first time I decide to tweet, this is what I get:</p>
<p><a title="Twitter too busy for us!" href="http://i802.photobucket.com/albums/yy301/ganesh-rao/Untitled.png" target="_blank"><img class="aligncenter" title="Twitter too busy for us!" src="http://i802.photobucket.com/albums/yy301/ganesh-rao/Untitled.png" alt="Twitter too busy for us!" width="793" height="590" /></a></p>
<p>I don&#8217;t understand why a company would invest time in developing something so annoying to its users. Or would we rather prefer the &#8220;ERROR: Server too busy to respond&#8221; browser error page?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ganesh.me/41-what-is-the-point-of-this.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reinstall Linux Servers Remotely</title>
		<link>http://www.ganesh.me/29-reinstall-linux-servers-remotely.html</link>
		<comments>http://www.ganesh.me/29-reinstall-linux-servers-remotely.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 17:12:58 +0000</pubDate>
		<dc:creator>Ganesh Rao</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ganesh.me/?p=29</guid>
		<description><![CDATA[This tutorial suggests a method to &#8220;remotely reinstall&#8221; RedHat based Linux distros (Fedora, RHEL, CentOS, etc). Proceed with utmost caution, you will lose all current data on your hard drive!
We make use of the &#8216;vnc&#8217; application that is available on most Linux OS/bootloaders. However, my instructions below are for GRUB on CentOS 5.4 only. I [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial suggests a method to &#8220;remotely reinstall&#8221; RedHat based Linux distros (Fedora, RHEL, CentOS, etc). Proceed with utmost caution, you will lose all current data on your hard drive!</p>
<p>We make use of the &#8216;vnc&#8217; application that is available on most Linux OS/bootloaders. However, my instructions below are for GRUB on CentOS 5.4 only. I use <a title="TightVNC Server &amp; Viewer" href="http://www.tightvnc.com/" target="_blank">TightVNC</a> to connect to the VNC server, you might want to download and install this on your PC now.</p>
<p>To reinstall, you must be able to access your server through SSH and be able to edit files as the root user. If you are unable to do this, you must be able to escalate privileges in your shell by using <em>su</em> OR have sufficient permission on the server to edit the boot loader&#8217;s files (/etc/grub.conf)</p>
<p><span id="more-29"></span></p>
<p>Download the PXE boot <em>initrd.img</em> and <em>vmlinuz</em> files to your /boot. You can download them from a repository closest to your server so that the speed is acceptable. LiteServer.nl is closest to mine.</p>
<blockquote><p>cd /boot<br />
wget http://mirror.liteserver.nl/pub/centos/5.4/os/x86_64/images/pxeboot/initrd.img<br />
wget http://mirror.liteserver.nl/pub/centos/5.4/os/x86_64/images/pxeboot/vmlinuz</p></blockquote>
<p>Edit the following file:</p>
<blockquote><p>/etc/grub.conf</p></blockquote>
<p>If the above file is missing, try editing:</p>
<blockquote><p>/boot/grub/grub.conf</p></blockquote>
<p>Edit the aforementioned file to look like the following:</p>
<blockquote><p># grub.conf generated by anaconda<br />
#<br />
# Note that you do not have to rerun grub after making changes to this file<br />
# NOTICE:  You have a /boot partition.  This means that<br />
#          all kernel and initrd paths are relative to /boot/, eg.<br />
#          root (hd0,0)<br />
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol01<br />
#          initrd /initrd-version.img<br />
#boot=/dev/sda<br />
default=0<br />
timeout=5<br />
splashimage=(hd0,0)/grub/splash.xpm.gz<br />
hiddenmenu<br />
title CentOS<br />
root (hd0,0)<br />
kernel /vmlinuz vnc vncpassword=<em><strong>PASSWORD</strong></em> headless ip=<em><strong>YOURIP</strong></em> netmask=255.255.255.0 gateway=<em><strong>GATEWAY</strong></em> dns=<em><strong>208.67.222.222</strong></em> ksdevice=<em><strong>eth0</strong></em> method=http://mirror.liteserver.nl/pub/centos/5.4/os/x86_64/ lang=en_US keymap=us<br />
initrd /initrd.img</p></blockquote>
<p>PASSWORD : set the password you want to use to access the VNC</p>
<p>YOURIP : this is the IP address of the server, you will use it to access VNC</p>
<p>GATEWAY : this is the gateway to your network/ IP address (contact your network operator for such information)</p>
<p>DNS : I&#8217;m utilizing OpenDNS here. You are free to use any other provider.</p>
<p>KSDEVICE : this is the enternet interface used for accessing the Internet. If you are unsure, please leave it as eth0 (ethZERO).</p>
<p>METHOD : this is the URL of your repository. You can replace it with the closest one to your server. However, remember to maintain the entire URL/ directory structure.</p>
<p><span style="text-decoration: underline;"><strong>IMPORTANT</strong></span>: The kernel line is suppose to be continuous WITHOUT any breaks (just one line). Syntax is very important in this file. Failure in doing so will render the server unbootable and may require physical presence (onsite engineers).</p>
<p>Save grub.conf and reboot the system. Wait for an additional minute or two. If all works well, you can enter <em>YOURIP</em>:1 (port one) in the TightVNC Viewer&#8217;s VNC server field. It will prompt for a password. Enter the same as you have mentioned in your grub.conf file. Your session will be authenticated and you&#8217;ll be shown the CentOS (or Fedora/RHEL) Setup screen. Enjoy <img src='http://www.ganesh.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you have any difficulty or questions, please feel free to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ganesh.me/29-reinstall-linux-servers-remotely.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WP-Admin Gives 404 When Password Protection Is Enabled</title>
		<link>http://www.ganesh.me/21-wp-admin-gives-404-when-password-protection-is-enabled.html</link>
		<comments>http://www.ganesh.me/21-wp-admin-gives-404-when-password-protection-is-enabled.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 14:24:01 +0000</pubDate>
		<dc:creator>Ganesh Rao</dc:creator>
				<category><![CDATA[Website & Email]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[permalink]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://www.ganesh.me/?p=21</guid>
		<description><![CDATA[This site runs on WordPress. We all know how popular a blogging software it is. There are more number of script-kiddies trying to exploit this beautify piece of software than all other blogging softwares combined. I agree, the method of protection I have explained in this post is perhaps very low-tech, but on some level [...]]]></description>
			<content:encoded><![CDATA[<p>This site runs on <a href="http://www.wordpress.org/" target="_blank">WordPress</a>. We all know how popular a blogging software it is. There are more number of script-kiddies trying to exploit this beautify piece of software than all other blogging softwares combined. I agree, the method of protection I have explained in this post is perhaps very low-tech, but on some level it does provide you with security.</p>
<p>I have used Apache&#8217;s HTTP authentication method to password protect my /wp-admin folder. However, since I also utilize URL rewriting (mod_rewrite) on WordPress&#8217; permalink, accessing /wp-admin becomes impossible. WordPress spits a 404 error page.</p>
<p>I can go on to explain what is happening here, but I&#8217;ll explain that at a later date. I made a quick fix for this. However if someone has a better way and <em>cleaner</em> way to do it, share it in the comments.</p>
<p>You must enter this code in your .htaccess file. This problem occurs mostly when you have WP installed directly in the DocumentRoot (www or public_html).</p>
<p><span id="more-21"></span></p>
<blockquote><p>Options +FollowSymLinks</p>
<p>&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On</p>
<p>#  RewriteRule ^(.+)\.html$ http://www.yourDomain.com/$1/ [NC,R=301,L]</p>
<p># Don&#8217;t match internal sub requests (eg. to /index.php).<br />
RewriteCond %{ENV:REDIRECT_STATUS} ^$<br />
# Don&#8217;t continue for /wp-login.php<br />
RewriteCond %{REQUEST_URI} !^/(wp-login)\.php$ [NC]<br />
# Don&#8217;t continue for /wp-admin/*<br />
RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-content|wp-includes)(/.*)?$ [NC]<br />
#  RewriteRule ^(.+)\.php$ http://www.yourDomain.com/$1/ [NC,R=301,L]</p>
<p># BEGIN WordPress Permalink Rewrite<br />
RewriteCond %{SCRIPT_FILENAME} !-f<br />
RewriteCond %{SCRIPT_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
# END WordPress Permalink Rewrite<br />
&lt;/IfModule&gt;</p></blockquote>
<p>If this does not work for you, please do let me know by making a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ganesh.me/21-wp-admin-gives-404-when-password-protection-is-enabled.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh, the Facebook!</title>
		<link>http://www.ganesh.me/13-oh-the-facebook.html</link>
		<comments>http://www.ganesh.me/13-oh-the-facebook.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 17:04:12 +0000</pubDate>
		<dc:creator>Ganesh Rao</dc:creator>
				<category><![CDATA[Hilarious]]></category>

		<guid isPermaLink="false">http://www.ganesh.me/?p=13</guid>
		<description><![CDATA[Let the following screens speak for themselves&#8230;



Thanks to Shawn for such hilarious compilation.
]]></description>
			<content:encoded><![CDATA[<p>Let the following screens speak for themselves&#8230;</p>
<p><span id="more-13"></span></p>
<p><img class="aligncenter" title="FaceBook Joke" src="http://i802.photobucket.com/albums/yy301/ganesh-rao/6zjno.jpg" alt="FaceBook Joke" width="463" height="293" /></p>
<p style="text-align: center;"><a title="Click To See Full" href="http://i802.photobucket.com/albums/yy301/ganesh-rao/q6umm.png" target="_blank"><img class="aligncenter" style="border: 0pt none;" title="FaceBook Blonde" src="http://i802.photobucket.com/albums/yy301/ganesh-rao/q6umm.png" alt="FaceBook Blonde" width="818" height="646" /></a></p>
<p>Thanks to <a title="Shawn Hogan's Fan Club" href="http://www.shawnhogan.com/" target="_blank">Shawn</a> for such hilarious compilation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ganesh.me/13-oh-the-facebook.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why the little search box?</title>
		<link>http://www.ganesh.me/9-why-the-little-search-box.html</link>
		<comments>http://www.ganesh.me/9-why-the-little-search-box.html#comments</comments>
		<pubDate>Tue, 09 Feb 2010 17:03:57 +0000</pubDate>
		<dc:creator>Ganesh Rao</dc:creator>
				<category><![CDATA[Website & Email]]></category>

		<guid isPermaLink="false">http://www.ganesh.me/?p=9</guid>
		<description><![CDATA[Yes, I do realize that I have no current content on this site of mine, yet. But why do I still have that large search box displayed on the site?
To simply put it, I&#8217;m too lazy. I know I&#8217;m lazy. I know if I don&#8217;t put it up now, I&#8217;ll never put it up &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I do realize that I have no <em>current</em> content on this site of mine, yet. But why do I still have that large search box displayed on the site?</p>
<p>To simply put it, I&#8217;m too lazy. I know I&#8217;m lazy. I know if I don&#8217;t put it up now, I&#8217;ll never put it up &#8212; when there is an actual need for it.</p>
<p>OR</p>
<p><span id="more-9"></span>I like to think ahead and scale. As complex as that! My work and interest revolves around high availability and large scale computing, which constantly requires upgrades and additions <span style="text-decoration: underline;">with planning</span>. My though process has been &#8220;upgraded&#8221; to such for my day to day activities (I hope!); which now includes coming out here and adding some purposeless content.</p>
<p>What I&#8217;m trying to convey through this little post here is &#8230; jeez, I lost it. Some other time may be <img src='http://www.ganesh.me/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ganesh.me/9-why-the-little-search-box.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
