<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Mohamed Aslam</title>
	
	<link>http://mohamedaslam.com</link>
	<description>Freelance Web Developer, Rubyist, Visual Designer and Blogger based on Kandy, Sri Lanka.</description>
	<lastBuildDate>Mon, 14 Sep 2009 22:58:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/MohamedAslam" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>How to uninstall / remove Ruby Gems (on Ubuntu)?</title>
		<link>http://feedproxy.google.com/~r/MohamedAslam/~3/p6tPEyrunSA/</link>
		<comments>http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 11:44:34 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Gem]]></category>

		<guid isPermaLink="false">http://mohamedaslam.com/?p=187</guid>
		<description><![CDATA[
First we need to find out the exact location that the Ruby installs it&#8217;s libraries. In the terminal program, You can type the following command to find out the exact location.

ruby -e 'puts $:'

You&#8217;ll get list of paths. This is the output that I got in my machine.
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/i486-linux
/usr/local/lib/site_ruby/1.8/i386-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/vendor_ruby/1.8
/usr/lib/ruby/vendor_ruby/1.8/i486-linux
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i486-linux
/usr/lib/ruby/1.8/i386-linux
.
Next we need to change our directory in [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/uninstall_ruby_gems.png" alt="Uninstall Ruby Gems" title="Uninstall Ruby Gems" width="258" height="159" class="size-full wp-image-140  post-thumb" /></p>
<p>First we need to find out the exact location that the Ruby installs it&#8217;s libraries. In the terminal program, You can type the following command to find out the exact location.</p>
<div class="clear"></div>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ruby -e 'puts $:'</div></div>
<p><span id="more-187"></span></p>
<p>You&#8217;ll get list of paths. This is the output that I got in my machine.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/usr/local/lib/site_ruby/1.8<br />
/usr/local/lib/site_ruby/1.8/i486-linux<br />
/usr/local/lib/site_ruby/1.8/i386-linux<br />
/usr/local/lib/site_ruby<br />
/usr/lib/ruby/vendor_ruby/1.8<br />
/usr/lib/ruby/vendor_ruby/1.8/i486-linux<br />
/usr/lib/ruby/vendor_ruby<br />
/usr/lib/ruby/1.8<br />
/usr/lib/ruby/1.8/i486-linux<br />
/usr/lib/ruby/1.8/i386-linux<br />
.</div></div>
<p>Next we need to change our directory in to /usr/local/lib/site_ruby/1.8 and type following command to list the files.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ls -la</div></div>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">drwxr-xr-x 5 root root &nbsp; 4096 2009-07-15 12:15 .<br />
drwxr-xr-x 3 root root &nbsp; 4096 2009-07-15 12:14 ..<br />
-rw-r--r-- 1 root root &nbsp; 1415 2009-07-15 12:15 gauntlet_rubygems.rb<br />
drwxrwsr-x 2 root staff &nbsp;4096 2009-07-15 12:14 i486-linux<br />
drwxr-xr-x 2 root root &nbsp; 4096 2009-07-15 12:15 rbconfig<br />
drwxr-xr-x 6 root root &nbsp; 4096 2009-07-15 12:15 rubygems<br />
-rw-r--r-- 1 root root &nbsp;29116 2009-07-15 12:15 rubygems.rb<br />
-rw-r--r-- 1 root root &nbsp; &nbsp;268 2009-07-15 12:15 ubygems.rb</div></div>
<p>Now we are ready to remove the gems. Type,</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rm -r rubygems.rb ubygems.rb rubygems</div></div>
<p>If you wish to remove all gems installed in your computer, first find out the location by executing following commands</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;which gem gem1.8</div></div>
<p>Next you can remove them by using following commands. That&#8217;s it!</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rm -r /usr/local/bin/gem<br />
rm -r /usr/bin/gem1.8</div></div>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-caring"><ul class="socials"><li class="sexy-delicious"><a href="http://del.icio.us/post?url=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/&amp;title=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li class="sexy-digg"><a href="http://digg.com/submit?phase=2&amp;url=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/&amp;title=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li class="sexy-twitter"><a href="http://twitter.com/home?status=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F+-+http://tinyurl.com/n5ay7b+(via+@mohamedaslam)" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit?url=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/&amp;title=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li class="sexy-technorati"><a href="http://technorati.com/faves?add=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li><li class="sexy-reddit"><a href="http://reddit.com/submit?url=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/&amp;title=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li class="sexy-comfeed"><a href="http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li class="sexy-mail"><a href="mailto:?subject=%22How%20to%20uninstall%20%2F%20remove%20Ruby%20Gems%20%28on%20Ubuntu%29%3F%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22%0D%0A%0D%0AFirst%20we%20need%20to%20find%20out%20the%20exact%20location%20that%20the%20Ruby%20installs%20it%27s%20libraries.%20In%20the%20terminal%20program%2C%20You%20can%20type%20the%20following%20command%20to%20find%20out%20the%20exact%20location.%0D%0A%0D%0A%0D%0A%0D%0Aruby%20-e%20%27puts%20%24%3A%27%0D%0A%0D%0A%0D%0A%0D%0AYou%27ll%20get%20list%20of%20paths.%20This%20is%20the%20output%20that%20I%20got%20in%20my%20machine.%0D%0A%0D%0A%0D%0A%2Fusr%2Flocal%2Fl%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li class="sexy-facebook"><a href="http://www.facebook.com/share.php?u=http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/&amp;t=How+to+uninstall+%2F+remove+Ruby+Gems+%28on+Ubuntu%29%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li></ul><div style="clear:both;"></div></div><h3  class="related_post_title">Related Articles </h3><ul class="related_post"><li><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" title="Screencast: How to Install Ruby on Rails on Ubuntu?">Screencast: How to Install Ruby on Rails on Ubuntu?</a></li><li><a href="http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/" title="How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)">How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)</a></li><li><a href="http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/" title="How to setup PHP for IIS 7 server on Vista?">How to setup PHP for IIS 7 server on Vista?</a></li><li><a href="http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" title="How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu ">How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu </a></li></ul><img src="http://feeds.feedburner.com/~r/MohamedAslam/~4/p6tPEyrunSA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/</feedburner:origLink></item>
		<item>
		<title>Screencast: How to Install Ruby on Rails on Ubuntu?</title>
		<link>http://feedproxy.google.com/~r/MohamedAslam/~3/Jh-gVnPVk0E/</link>
		<comments>http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:08:48 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Screencast]]></category>

		<guid isPermaLink="false">http://mohamedaslam.com/?p=170</guid>
		<description><![CDATA[
This screencast will teach you to set up the Ruby on Rails development environment on Ubuntu.



Don&#8217;t forget to toggle the full screen button on the player.
Share this on del.icio.usDigg this!Tweet This!Stumble upon something good? Share it on StumbleUponShare this on TechnoratiShare this on RedditSubscribe to the comments for this post?Email this to a friend?Share this [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/sc_ubuntu_ror.gif" alt="Screencast: How to Install Ruby on Rails on Ubuntu?" title="sc_ubuntu_ror" width="258" height="159" class="alignleft size-full wp-image-171 post-thumb" /></p>
<p>This screencast will teach you to set up the Ruby on Rails development environment on Ubuntu.</p>
<p><span id="more-170"></span></p>
<div class="clear"></div>
<p><object type="application/x-shockwave-flash" data="http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&#038;file=http%3A//blip.tv/rss/flash/2279213&#038;feedurl=http%3A//mohamedaslam.blip.tv/rss/&#038;autostart=false&#038;brandname=mohamedaslam&#038;brandlink=http%3A//mohamedaslam.blip.tv/" width="550" height="448" allowfullscreen="true" id="showplayer"><param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?enablejs=true&#038;file=http%3A//blip.tv/rss/flash/2279213&#038;feedurl=http%3A//mohamedaslam.blip.tv/rss/&#038;autostart=false&#038;brandname=mohamedaslam&#038;brandlink=http%3A//mohamedaslam.blip.tv/" /><param name="quality" value="best" /></object></p>
<p>Don&#8217;t forget to toggle the full screen button on the player.</p>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-caring"><ul class="socials"><li class="sexy-delicious"><a href="http://del.icio.us/post?url=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/&amp;title=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li class="sexy-digg"><a href="http://digg.com/submit?phase=2&amp;url=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/&amp;title=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li class="sexy-twitter"><a href="http://twitter.com/home?status=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F+-+http://tinyurl.com/kmlzre+(via+@mohamedaslam)" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit?url=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/&amp;title=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li class="sexy-technorati"><a href="http://technorati.com/faves?add=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li><li class="sexy-reddit"><a href="http://reddit.com/submit?url=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/&amp;title=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li class="sexy-comfeed"><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li class="sexy-mail"><a href="mailto:?subject=%22Screencast%3A%20How%20to%20Install%20Ruby%20on%20Rails%20on%20Ubuntu%3F%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22%0D%0A%0D%0AThis%20screencast%20will%20teach%20you%20to%20set%20up%20the%20Ruby%20on%20Rails%20development%20environment%20on%20Ubuntu.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0ADon%27t%20forget%20to%20toggle%20the%20full%20screen%20button%20on%20the%20player.%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li class="sexy-facebook"><a href="http://www.facebook.com/share.php?u=http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/&amp;t=Screencast%3A+How+to+Install+Ruby+on+Rails+on+Ubuntu%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li></ul><div style="clear:both;"></div></div><h3  class="related_post_title">Related Articles </h3><ul class="related_post"><li><a href="http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" title="How to uninstall / remove Ruby Gems (on Ubuntu)?">How to uninstall / remove Ruby Gems (on Ubuntu)?</a></li><li><a href="http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" title="How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu ">How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu </a></li><li><a href="http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/" title="How to setup PHP for IIS 7 server on Vista?">How to setup PHP for IIS 7 server on Vista?</a></li><li><a href="http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/" title="How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)">How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)</a></li></ul><img src="http://feeds.feedburner.com/~r/MohamedAslam/~4/Jh-gVnPVk0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/</feedburner:origLink></item>
		<item>
		<title>How to setup PHP for IIS 7 server on Vista?</title>
		<link>http://feedproxy.google.com/~r/MohamedAslam/~3/qzR24jvPi6U/</link>
		<comments>http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/#comments</comments>
		<pubDate>Fri, 22 May 2009 19:43:34 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS7]]></category>

		<guid isPermaLink="false">http://mohamedaslam.com/?p=147</guid>
		<description><![CDATA[
Are you a .NET developer? Looking forward to learn or switch to PHP (which is quit impossible. May be I&#8217;m dreaming&#8230;!  . However if you are,  you are mostly welcome to the word of light..! I mean LAMP) You can setup PHP in IIS server. I&#8217;ll walk you through step by step. So, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/php-iis.jpg" alt="php-iis" title="php-iis" width="258" height="159" class="alignleft size-full wp-image-163 post-thumb" /></p>
<p>Are you a .NET developer? Looking forward to learn or switch to PHP (which is quit impossible. May be I&#8217;m dreaming&#8230;! <img src='http://mohamedaslam.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . However if you are,  you are mostly welcome to the word of light..! I mean LAMP) You can setup PHP in IIS server. I&#8217;ll walk you through step by step. So, are you ready for the journey..? Let&#8217;s go.. </p>
<p>I’m writing this tutorial to understand even by a newbie. So bare with me for some very basics stuffs.</p>
<p><span id="more-147"></span></p>
<p>First of all you need to install PHP to your computer. You can download PHP at </p>
<p><a href="http://www.php.net/downloads.php">http://www.php.net/downloads.php</a> </p>
<p>PHP installation is pretty straight forward. I believe you can manage it.</p>
<p>Next you need to ensure whether the IIS server installed in your computer. Regular windows installation won’t install IIS server. So, to test whether it is there or not, right click on My Computer icon and select Manage. Then expand the Services and Application node. </p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp1.png" alt="iisphp1" title="iisphp1" width="411" height="344"  /></p>
<p>If you don’t see Internet information Service, that means that you should install IIS server manually. It’s pretty simple.</p>
<p>Go to Control Panel and select Classic View in the left pane. Then double click on the Programs and Features icon. Now you’ll have a list of option in your right pane. Select Turn Windows features on or off.</p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp2.png" alt="iisphp2" title="iisphp2" width="565" height="287" /></p>
<p>Click the Internet Information Server check box and expand the node. </p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp3.png" alt="iisphp3" title="iisphp3" width="539" height="440" /></p>
<p>Again expand the World Wide Web Services , Application Development Features and click the ISAPI Extensions. Then click OK. It will take several minutes to installation.</p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp4.png" alt="iisphp4" title="iisphp4" width="439" height="386" /></p>
<p>Now you can check whether the server working properly. Open up your internet browser and type http://localhost/ . You’ll get a page as follows</p>
<p><a href="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp5.png" rel="prettyPhoto" title="How to setup PHP for IIS 7 server on Vista?"><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp5-300x247.png" alt="iisphp5" title="iisphp5" width="300" height="247" /></a></p>
<p>Now you need to configure the server for PHP. Go to the Computer Management window again (Right click on My Computer and select Manage) and expand the Services and Applications node and click the Internet Information Services link. Then in the connection area select Default Web Site. </p>
<p><a href="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp6.png" rel="prettyPhoto" title="How to setup PHP for IIS 7 server on Vista?"><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp6-300x218.png" alt="iisphp6" title="iisphp6" width="300" height="218"  /></a></p>
<p>Click on Handler Mappings.</p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp7.png" alt="iisphp7" title="iisphp7" width="535" height="363" /></p>
<p>On the right side of the window, click on &#8220;Add Script Map&#8230;&#8221;  </p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp8.png" alt="iisphp8" title="iisphp8" width="418" height="284" /></p>
<p>Once you clicked a pop up window will appear. Fill up the fields with following values.</p>
<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp9.png" alt="iisphp9" title="iisphp9" width="488" height="402" /></p>
<p>Click OK. Then a Dialog box will appear. Say Yes! to that. Thats it!</p>
<p>Now you need to check whether the server working with PHP. Open up your favorite text editor and type</p>
<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/phpinfo"><span style="color: #990000;">phpinfo</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Save the file as phpinfo.php under “C:\inetpub\wwwroot”.</p>
<p>Then open up your browser and navigate to http://localhost/phpinfo.php<br />
If you get following page.., you are done..!</p>
<p><a href="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp10.png" rel="prettyPhoto" title="How to setup PHP for IIS 7 server on Vista?"><img src="http://mohamedaslam.com/wp-content/uploads/2009/06/iisphp10-300x277.png" alt="PHP info page" title="iisphp10" width="300" height="277" /></a></p>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-caring"><ul class="socials"><li class="sexy-delicious"><a href="http://del.icio.us/post?url=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/&amp;title=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li class="sexy-digg"><a href="http://digg.com/submit?phase=2&amp;url=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/&amp;title=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li class="sexy-twitter"><a href="http://twitter.com/home?status=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F+-+http://tinyurl.com/lhywb8+(via+@mohamedaslam)" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit?url=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/&amp;title=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li class="sexy-technorati"><a href="http://technorati.com/faves?add=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li><li class="sexy-reddit"><a href="http://reddit.com/submit?url=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/&amp;title=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li class="sexy-comfeed"><a href="http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li class="sexy-mail"><a href="mailto:?subject=%22How%20to%20setup%20PHP%20for%20IIS%207%20server%20on%20Vista%3F%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22%0D%0A%0D%0AAre%20you%20a%20.NET%20developer%3F%20Looking%20forward%20to%20learn%20or%20switch%20to%20PHP%20%28which%20is%20quit%20impossible.%20May%20be%20I%27m%20dreaming...%21%20%3AD.%20However%20if%20you%20are%2C%20%20you%20are%20mostly%20welcome%20to%20the%20word%20of%20light..%21%20I%20mean%20LAMP%29%20You%20can%20setup%20PHP%20in%20IIS%20server.%20I%27ll%20walk%20you%20through%20step%20by%20step.%20So%2C%20are%20you%20ready%20for%20t%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li class="sexy-facebook"><a href="http://www.facebook.com/share.php?u=http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/&amp;t=How+to+setup+PHP+for+IIS+7+server+on+Vista%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li></ul><div style="clear:both;"></div></div><h3  class="related_post_title">Related Articles </h3><ul class="related_post"><li><a href="http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" title="How to uninstall / remove Ruby Gems (on Ubuntu)?">How to uninstall / remove Ruby Gems (on Ubuntu)?</a></li><li><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" title="Screencast: How to Install Ruby on Rails on Ubuntu?">Screencast: How to Install Ruby on Rails on Ubuntu?</a></li><li><a href="http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" title="How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu ">How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu </a></li></ul><img src="http://feeds.feedburner.com/~r/MohamedAslam/~4/qzR24jvPi6U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/</feedburner:origLink></item>
		<item>
		<title>How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)</title>
		<link>http://feedproxy.google.com/~r/MohamedAslam/~3/ac8eby0emcI/</link>
		<comments>http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 06:52:09 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://mohamedaslam.com/?p=23</guid>
		<description><![CDATA[
Few of my friends have started to learn Ruby on Rails recently. According to my point of view, Windows is not a suitable and enjoyable  environment for RoR development. So, I recommended them to start with Ubuntu. Most of them have installed Ubuntu 8.10 and 9.04. So, I wish to write a small guide to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/04/install_ror_on_ubuntu.png" alt="install_ror_on_ubuntu" title="install_ror_on_ubuntu" width="258" height="159" class="alignleft size-full wp-image-137 post-thumb" /><br />
Few of my friends have started to learn Ruby on Rails recently. According to my point of view, Windows is not a suitable and enjoyable  environment for RoR development. So, I recommended them to start with Ubuntu. Most of them have installed Ubuntu 8.10 and 9.04. So, I wish to write a small guide to setup the Ruby on Rails environment on Ubuntu 8.10 and 9.04</p>
<p><span id="more-23"></span></p>
<p>If you like to watch the screencast of this title, rather than reading whole post, you can find my screencast here.</p>
<p><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/">http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/</a></p>
<h3>Ruby installation</h3>
<p>First we need to update the repositories.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get update</div></div>
<p>It&#8217;s always a best practice to upgrade the system.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get dist-upgrade</div></div>
<p>This installation will take few minutes and also require approximately 100 MB disk space.</p>
<p>Now that we are up to date. Let&#8217;s start install the RoR recipices. We need following Rails prerequisites.</p>
<p>ruby = An interpreter of object-oriented scripting language Ruby<br />
ri = Ruby Interactive reference<br />
rdoc = Generate documentation from ruby source files<br />
irb = Interactive Ruby</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get install ruby ri rdoc irb libopenssl-ruby ruby-dev</div></div>
<h3>Ruby Gem installation</h3>
<p>Next we need to install the Ruby gem package manager. You can download the latest Ruby gems by following link.</p>
<p><a href="http://rubyforge.org/projects/rubygems/" target="_blank">http://rubyforge.org/projects/rubygems/</a></p>
<p>Download and extract the files. (By the time I&#8217;m writing this tutorial the latest version is 1.3.1)</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tar xvzf  rubygems-1.3.1.tgz<br />
cd rubygems-1.3.1<br />
sudo ruby setup.rb</div></div>
<p>Once it&#8217;s done you can delete the .tgz file and rubygems directory.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd ..<br />
rm -r rubygems-1.3.1 rubygems-1.3.1.tgz</div></div>
<p>Next we need to create a set of simlinks. Otherwise it will be a tedious task to type commands with the version (1.8).  For an example if we need to call the gem command we&#8217;ve to type gem1.8. I don&#8217;t prefer that. Hope you too. So, let&#8217;s create the necessary simlinks.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem<br />
sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby<br />
sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc<br />
sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri<br />
sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb</div></div>
<h3>Rails Installation</h3>
<p>Now we can install Rails using gem.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo gem install rails</div></div>
<h3>Server Installation</h3>
<p>Rails by default comes with the WEBrick server. But most Rails developers prefer the Mongrel server. If you satisfied with WEBrick you can skip this step, else type the following command to install Mongrel server.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo gem install mongrel</div></div>
<p>If you got any error while installing the Mongrel server, install the ruby-dev / ruby1.8-dev and try again.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get install ruby-dev</div></div>
<h3>Database Installation</h3>
<p>Rails 2.3 shipped with  SQLite3 as it&#8217;s default database instead of  MySQL. You can install SQLite3 libraries by following commands.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;sudo apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev<br />
sudo gem install sqlite3-ruby</div></div>
<p>If you prefer MySQL,</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get install mysql-client libmysqlclient15-dev<br />
sudo gem install mysql</div></div>
<h3>Create Ruby on Rails App</h3>
<p>Now that we have completed everything successfully. You can create your new Ruby on Rail applicaion by following command.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rails test_app</div></div>
<p>If you need MySQL supported applicaion you need to specify as follows</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;rails test_app -d mysql</div></div>
<h3>Run the app</h3>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd test_app<br />
script/server</div></div>
<p>navigate you browser to http://localhost:3000</p>
<p><a href="http://mohamedaslam.com/wp-content/uploads/2009/04/ubu.png"><img class="alignnone size-full wp-image-33" title="ubu" src="http://mohamedaslam.com/wp-content/uploads/2009/04/ubu.png" alt="ubu" width="496" height="383" /></a></p>
<p>Wola.. you have done it&#8230;!</p>
<p>Happy Rails&#8230;!</p>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-caring"><ul class="socials"><li class="sexy-delicious"><a href="http://del.icio.us/post?url=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/&amp;title=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li class="sexy-digg"><a href="http://digg.com/submit?phase=2&amp;url=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/&amp;title=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li class="sexy-twitter"><a href="http://twitter.com/home?status=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29+-+http://tinyurl.com/lcwhhm+(via+@mohamedaslam)" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit?url=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/&amp;title=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li class="sexy-technorati"><a href="http://technorati.com/faves?add=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li><li class="sexy-reddit"><a href="http://reddit.com/submit?url=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/&amp;title=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li class="sexy-comfeed"><a href="http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li class="sexy-mail"><a href="mailto:?subject=%22How%20to%20Install%20Ruby%20on%20Rails%20on%20Ubuntu%209.04%20%28Jaunty%20Jackalope%29%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22%0D%0AFew%20of%20my%20friends%20have%20started%20to%20learn%20Ruby%20on%20Rails%20recently.%20According%20to%20my%20point%20of%20view%2C%20Windows%20is%20not%20a%20suitable%20and%20enjoyable%C2%A0%20environment%20for%20RoR%20development.%20So%2C%20I%20recommended%20them%20to%20start%20with%20Ubuntu.%20Most%20of%20them%20have%20installed%20Ubuntu%208.10%20and%209.04.%20So%2C%20I%20wish%20to%20write%20a%20small%20guide%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li class="sexy-facebook"><a href="http://www.facebook.com/share.php?u=http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/&amp;t=How+to+Install+Ruby+on+Rails+on+Ubuntu+9.04+%28Jaunty+Jackalope%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li></ul><div style="clear:both;"></div></div><h3  class="related_post_title">Related Articles </h3><ul class="related_post"><li><a href="http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" title="How to uninstall / remove Ruby Gems (on Ubuntu)?">How to uninstall / remove Ruby Gems (on Ubuntu)?</a></li><li><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" title="Screencast: How to Install Ruby on Rails on Ubuntu?">Screencast: How to Install Ruby on Rails on Ubuntu?</a></li><li><a href="http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" title="How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu ">How to fix Apache &#8211; &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; Error on Ubuntu </a></li></ul><img src="http://feeds.feedburner.com/~r/MohamedAslam/~4/ac8eby0emcI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		<feedburner:origLink>http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/</feedburner:origLink></item>
		<item>
		<title>How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” Error on Ubuntu</title>
		<link>http://feedproxy.google.com/~r/MohamedAslam/~3/ZkVbZKO9X4k/</link>
		<comments>http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 04:54:39 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache server]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>

		<guid isPermaLink="false">http://mohamedaslam.com/?p=66</guid>
		<description><![CDATA[
You might probably faced the same following error while you were restarting the Apache server on Ubuntu.

aslam@aslam:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;apache2: Could not reliably determine the server's fully [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mohamedaslam.com/wp-content/uploads/2009/04/ubuntu_apache_error.gif" alt="ubuntu_apache_error" title="ubuntu_apache_error" width="258" height="159" class="alignleft size-full wp-image-134 post-thumb" /><br />
You might probably faced the same following error while you were restarting the Apache server on Ubuntu.</p>
<div class="clear"></div>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">aslam@aslam:~$ sudo /etc/init.d/apache2 restart<br />
* Restarting web server apache2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName</div></div>
<p><span id="more-66"></span></p>
<p>To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo gedit /etc/apache2/httpd.conf</div></div>
<p>Now, simply add the follwing line to the httpd.conf file.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ServerName localhost</div></div>
<p>Save the file and exit from gEdit.</p>
<p>Finally restart the server.</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo /etc/init.d/apache2 restart</div></div>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-caring"><ul class="socials"><li class="sexy-delicious"><a href="http://del.icio.us/post?url=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/&amp;title=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2C+using+127.0.1.1+for+ServerName%22+Error+on+Ubuntu+" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li class="sexy-digg"><a href="http://digg.com/submit?phase=2&amp;url=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/&amp;title=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2C+using+127.0.1.1+for+ServerName%22+Error+on+Ubuntu+" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li class="sexy-twitter"><a href="http://twitter.com/home?status=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+d%5B..%5D+-+http://tinyurl.com/maupao+(via+@mohamedaslam)" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li class="sexy-stumbleupon"><a href="http://www.stumbleupon.com/submit?url=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/&amp;title=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2C+using+127.0.1.1+for+ServerName%22+Error+on+Ubuntu+" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li class="sexy-technorati"><a href="http://technorati.com/faves?add=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a></li><li class="sexy-reddit"><a href="http://reddit.com/submit?url=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/&amp;title=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2C+using+127.0.1.1+for+ServerName%22+Error+on+Ubuntu+" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li class="sexy-comfeed"><a href="http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li class="sexy-mail"><a href="mailto:?subject=%22How%20to%20fix%20Apache%20-%20%22Could%20not%20reliably%20determine%20the%20server%27s%20fully%20qualified%20domain%20name%2C%20using%20127.0.1.1%20for%20ServerName%22%20Error%20on%20Ubuntu%20%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22%0D%0AYou%20might%20probably%20faced%20the%20same%20following%20error%20while%20you%20were%20restarting%20the%20Apache%20server%20on%20Ubuntu.%0D%0A%0D%0A%0D%0A%0D%0Aaslam%40aslam%3A%7E%24%20sudo%20%2Fetc%2Finit.d%2Fapache2%20restart%0D%0A%2A%20Restarting%20web%20server%20apache2%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20apache2%3A%20Could%20not%20reliably%20determine%20the%20server%27s%20fully%20q%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li class="sexy-facebook"><a href="http://www.facebook.com/share.php?u=http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/&amp;t=How+to+fix+Apache+-+%22Could+not+reliably+determine+the+server%27s+fully+qualified+domain+name%2C+using+127.0.1.1+for+ServerName%22+Error+on+Ubuntu+" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a></li></ul><div style="clear:both;"></div></div><h3  class="related_post_title">Related Articles </h3><ul class="related_post"><li><a href="http://mohamedaslam.com/screencast-how-to-install-ruby-on-rails-on-ubuntu/" title="Screencast: How to Install Ruby on Rails on Ubuntu?">Screencast: How to Install Ruby on Rails on Ubuntu?</a></li><li><a href="http://mohamedaslam.com/how-to-uninstall-remove-ruby-gems/" title="How to uninstall / remove Ruby Gems (on Ubuntu)?">How to uninstall / remove Ruby Gems (on Ubuntu)?</a></li><li><a href="http://mohamedaslam.com/how-to-setup-php-for-iis-7-server-on-vista/" title="How to setup PHP for IIS 7 server on Vista?">How to setup PHP for IIS 7 server on Vista?</a></li><li><a href="http://mohamedaslam.com/install-ruby-on-rails-on-ubuntu-904-jaunty-jacklope/" title="How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)">How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)</a></li></ul><img src="http://feeds.feedburner.com/~r/MohamedAslam/~4/ZkVbZKO9X4k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		<feedburner:origLink>http://mohamedaslam.com/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu/</feedburner:origLink></item>
	</channel>
</rss>
