<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>TechRecipes</title>
	
	<link>http://www.techrecipes.net</link>
	<description>linux, web, security</description>
	<lastBuildDate>Mon, 26 Oct 2009 03:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/tech-recipes" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Show latest friend’s updates in Facebook</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/AaIn5sQBZ90/show-latest-friends-updates-in-facebook.html</link>
		<comments>http://www.techrecipes.net/web/show-latest-friends-updates-in-facebook.html#comments</comments>
		<pubDate>Mon, 26 Oct 2009 03:05:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=633</guid>
		<description><![CDATA[
	When Facebook changed it&#39;s layout recently, it introduced &#39;News Feed&#39;, which will actually display what Facebook think might be interesting to the user, though in my opinion it is not always the case. This is not actually desirable for those who actually refresh their Facebook page once in every few minutes.

	

	To change it, just click [...]]]></description>
			<content:encoded><![CDATA[<p>
	When Facebook changed it&#39;s layout recently, it introduced &#39;News Feed&#39;, which will actually display what Facebook think might be interesting to the user, though in my opinion it is not always the case. This is not actually desirable for those who actually refresh their Facebook page once in every few minutes.</p>
<p style="text-align: center;">
	<img alt="" height="201" src="http://www.techrecipes.net/wp-content/uploads/image/2009/10/facebook-viewlatestfeed.png" width="568" /></p>
<p>
	To change it, just click on the &#39;View Live Feed&#39; link, and your Facebook should turn to normal.</p>
<p style="text-align: center;">
	<img alt="" height="221" src="http://www.techrecipes.net/wp-content/uploads/image/2009/10/facebook-viewnewsfeed.png" width="578" /></p>
<p>
	dasda</p>
<p>
	&nbsp;</p>
<p>
	&nbsp;</p>
<p>
	asdas</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=AaIn5sQBZ90:C_cKzJc6aEw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=AaIn5sQBZ90:C_cKzJc6aEw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=AaIn5sQBZ90:C_cKzJc6aEw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=AaIn5sQBZ90:C_cKzJc6aEw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=AaIn5sQBZ90:C_cKzJc6aEw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/AaIn5sQBZ90" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/web/show-latest-friends-updates-in-facebook.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/web/show-latest-friends-updates-in-facebook.html</feedburner:origLink></item>
		<item>
		<title>Install new template in Joomla</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/i4PB7-jXyQI/install-new-template-in-joomla.html</link>
		<comments>http://www.techrecipes.net/web/install-new-template-in-joomla.html#comments</comments>
		<pubDate>Tue, 10 Mar 2009 07:06:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=579</guid>
		<description><![CDATA[Templates decides the look and feel of a Joomla site. A template typically consist of some HTML, PHP, CSS, XML, Javascript and image files and directories.
There are few ways to install a Joomla template, but this post will only discuss one method, which is to install from a zip packaged template file stored in our [...]]]></description>
			<content:encoded><![CDATA[<p>Templates decides the look and feel of a Joomla site. A template typically consist of some HTML, PHP, CSS, XML, Javascript and image files and directories.</p>
<p>There are few ways to install a Joomla template, but this post will only discuss one method, which is to install from a zip packaged template file stored in our local computer.</p>
<p>The first step is to download the template package file to our local machine. While many Joomla templates are available for free over the Internet, some premium templates are not. The sites <em>http://www.siteground.com/joomla-hosting/joomla-templates.htm</em> and <em>http://www.joomla24.com/</em> provide thousands of free Joomla templates for us to choose from. Download one from these sites if you don&#8217;t have any.</p>
<p>To start with the installation, login to the administration panel of our Joomla site. Once there, go to the <em>Extensions -&gt; Install/Uninstall</em> menu.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/Screenshot-JoomlaTestSite-Administration-1.png."><img width="500" height="391" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/mini-Screenshot-JoomlaTestSite-Administration-1.png.jpg" /></a></p>
<p>We&#8217;ll come to the <em>Extension Manager</em> page, and here we&#8217;ll need to specify the path of our downloaded template file in the <em>Package file</em> text field.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/Screenshot-ExtensionManager-Install.png"><img width="500" height="391" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/mini-Screenshot-ExtensionManager-Install.png.jpg" /></a></p>
<p>Rather than typing the path manually, simply click the <em>Browse</em> button, and a file chooser window should appear, and we can just select our template file from here.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/Screenshot-FileUpload.png"><img width="500" height="431" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/mini-Screenshot-FileUpload.png.jpg" /></a></p>
<p>Once done, click the <em>Upload File &amp; Install</em> button and that&#8217;s just it. To configure the site to use our newly installed template, follow the following <a href="http://www.techrecipes.net/web/change-default-template-in-joomla.html">link</a>.</p>
<p>The previous steps assume we&#8217;ll come to no error in the process. There are few possible error however, such as improperly packaged or corrupted template file, and write permission error on the server.</p>
<p>Installing a Joomla template requires two directory to be writeable by the web server. We&#8217;ll probably get any if not both of these errors;</p>
<ol>
<li>Warning! Failed to move file.</li>
<li>JFolder::create: Could not create directory; Template Install: Failed to create directory. &quot;&lt;Joomla templates directory&gt;&quot;</li>
</ol>
<p><a href="javascript:void(0);/*1236668285136*/"><img width="500" height="395" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/mini-Screenshot-ExtensionManager-Install2.png.jpg" /></a></p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/Screenshot-ExtensionManager-Install3.png"><img alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-template/mini-Screenshot-ExtensionManager-Install3.png.jpg" /></a></p>
<p>They are caused by write permission problem on the folder <em>tmp</em> and <em>templates</em>&nbsp; in the Joomla installation directory.</p>
<p>To fix it, just enable write permission on the directories, and in Linux, these commands would help;</p>
<pre>
# cd &lt;Joomla installation directory&gt;
# chmod a+w tmp templates
</pre>
<p>&nbsp;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=i4PB7-jXyQI:gPmmHMdP_IE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=i4PB7-jXyQI:gPmmHMdP_IE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=i4PB7-jXyQI:gPmmHMdP_IE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=i4PB7-jXyQI:gPmmHMdP_IE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=i4PB7-jXyQI:gPmmHMdP_IE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/i4PB7-jXyQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/web/install-new-template-in-joomla.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/web/install-new-template-in-joomla.html</feedburner:origLink></item>
		<item>
		<title>Reset forgotten Linux root password</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/-uhk9Etqs6g/reset-forgotten-linux-root-password.html</link>
		<comments>http://www.techrecipes.net/linux/reset-forgotten-linux-root-password.html#comments</comments>
		<pubDate>Sun, 08 Mar 2009 23:37:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=91</guid>
		<description><![CDATA[Depending on your GRUB setting, you might see this screen first when you boot your Linux, Press your Esc key here to go to kernel selection window.

Select the working kernel that you normally use, and press the key &#34;e&#34; to edit the GRUB entry for that kernel.

&#160;You&#8217;ll come to this screen which displays the settings [...]]]></description>
			<content:encoded><![CDATA[<p>Depending on your <em>GRUB</em> setting, you might see this screen first when you boot your Linux, Press your <em>Esc</em> key here to go to kernel selection window.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot.png"><img width="500" height="277" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot.png.jpg" alt="" /></a></p>
<p>Select the working kernel that you normally use, and press the key &quot;e&quot; to edit the <em>GRUB</em> entry for that kernel.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-1.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-1.png.jpg" /></a></p>
<p>&nbsp;You&#8217;ll come to this screen which displays the settings for the particular kernel.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-2.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-2.png.jpg" /></a></p>
<p>&nbsp;Select the kernel configuration line, and press the key &#8216;<em>e</em>&#8216; again.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-3.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-3.png.jpg" /></a></p>
<p>Here you need to add <em>init=/bin/bash</em> at the end of the line. This is to tell your Linux system to run <em>Bash</em> directly, rather than executing other init scripts that normally runs during normal bootup.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-4.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-4.png.jpg" /></a></p>
<p>&nbsp;Press the &quot;<em>Enter</em>&quot; key and you&#8217;ll be brought back to this screen. Press the key &quot;<em>b</em>&quot; to boot that particular kernel.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-5.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-5.png.jpg" /></a></p>
<p>&nbsp;Your Linux system will boot straight to <em>Bash</em>, bypassing almost everything including the login prompt, giving you superuser access. Here you&#8217;ll probably need to remount the root filesystem in a read and write mode with the command <em>mount -o remount,rw /</em> as the following;</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-6.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-6.png.jpg" /></a></p>
<p>You&#8217;ll then come to the part that you&#8217;ll set the new password for your root account. At the prompt, type the command <em>passwd</em>, and enter your new password when requested.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/Screenshot-7.png"><img width="500" height="277" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/reset/mini-Screenshot-7.png.jpg" /></a></p>
<p>And that&#8217;s just it. Reboot your Linux machine to test if it really works. You can also change password for other users here by typing the command <em>passwd</em> followed by the desired username, and enter the new password when requested.</p>
<p>&nbsp;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=-uhk9Etqs6g:V7Fodf7fUf8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=-uhk9Etqs6g:V7Fodf7fUf8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=-uhk9Etqs6g:V7Fodf7fUf8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=-uhk9Etqs6g:V7Fodf7fUf8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=-uhk9Etqs6g:V7Fodf7fUf8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/-uhk9Etqs6g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/linux/reset-forgotten-linux-root-password.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/linux/reset-forgotten-linux-root-password.html</feedburner:origLink></item>
		<item>
		<title>Change default template in Joomla</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/OVlng8TkmPI/change-default-template-in-joomla.html</link>
		<comments>http://www.techrecipes.net/web/change-default-template-in-joomla.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 04:10:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=573</guid>
		<description><![CDATA[Joomla is one of the most popular Content Management System (CMS) today. It is PHP based and requires no programming knowledge to add contents and do customisations of the default Joomla installation, including to change the look and feel of the pages. The following is the view of a default Joomla installation&#8217;s frontpage.

Joomla uses templates [...]]]></description>
			<content:encoded><![CDATA[<p><em>Joomla</em> is one of the most popular <em>Content Management System</em> (CMS) today. It is PHP based and requires no programming knowledge to add contents and do customisations of the default Joomla installation, including to change the look and feel of the pages. The following is the view of a default Joomla installation&#8217;s frontpage.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/Screenshot-WelcometotheFrontpage.png"><img width="500" height="341" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/mini-Screenshot-WelcometotheFrontpage.png.jpg" alt="" /></a></p>
<p>Joomla uses templates to set the display of it&#8217;s pages. With that, changing the look and feel of a Joomla page is just a matter of changing it&#8217;s templates. To view the list of installed Joomla templates, first log in to Joomla&#8217;s administration page. At the <em>Administration panel</em>, choose the <em>Extensions -&gt; Template Manager</em> from the menu as the following;</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/Screenshot-TamanTropika-Administration-1.png"><img width="500" height="341" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/mini-Screenshot-TamanTropika-Administration-1.png.jpg" alt="" /></a></p>
<p><em>Template Manager</em> lists the installed template in your Joomla installation.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/Screenshot-TamanTropika-Administration-2.png"><img width="500" height="341" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/mini-Screenshot-TamanTropika-Administration-2.png.jpg" alt="" /></a></p>
<p>To change the template used by all the pages in Joomla, simply click on the radio button next to the template you desire and then click on the <em>Default</em> icon on the upper right of the page.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/Screenshot-TamanTropika-Administration-3.png"><img width="500" height="341" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/mini-Screenshot-TamanTropika-Administration-3.png.jpg" alt="" /></a></p>
<p>From this point forward, all the pages will use the template you have just selected.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/Screenshot-WelcometotheFrontpage-1.png"><img src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/template/mini-Screenshot-WelcometotheFrontpage-1.png.jpg" alt="" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=OVlng8TkmPI:2_ceOKNGXiA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=OVlng8TkmPI:2_ceOKNGXiA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=OVlng8TkmPI:2_ceOKNGXiA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=OVlng8TkmPI:2_ceOKNGXiA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=OVlng8TkmPI:2_ceOKNGXiA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/OVlng8TkmPI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/web/change-default-template-in-joomla.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/web/change-default-template-in-joomla.html</feedburner:origLink></item>
		<item>
		<title>Change default frontpage title in Joomla</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/1lq5UT_nivA/change-default-page-title-in-joomla.html</link>
		<comments>http://www.techrecipes.net/web/change-default-page-title-in-joomla.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 03:16:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=567</guid>
		<description><![CDATA[Joomla is a PHP based Content Management System (CMS) which enables people to build websites without requiring any programming knowledge.
Joomla by default displays &#34;Welcome to the Frontpage&#34; as it&#8217;s default frontpage title. Some people would want to have a different frontpage title, and the following is how you can change it to any text you [...]]]></description>
			<content:encoded><![CDATA[<p>Joomla is a PHP based <em>Content Management System</em> (CMS) which enables people to build websites without requiring any programming knowledge.</p>
<p>Joomla by default displays &quot;Welcome to the Frontpage&quot; as it&#8217;s default frontpage title. Some people would want to have a different frontpage title, and the following is how you can change it to any text you would want to.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-WelcometotheFrontpage.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-WelcometotheFrontpage.png.jpg" /></a></p>
<p>The first step surely is to login to Joomla&#8217;s administration panel;</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-TamanTropika-Administration.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-TamanTropika-Administration.png.jpg" /></a></p>
<p>Once logged in, you&#8217;ll come to Joomla&#8217;s <em>Control Panel</em> as the following. At this page choose <em>Menus -&gt; Main Menu</em> from the menu.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-TamanTropika-Administration2.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-TamanTropika-Administration2.png.jpg" /></a></p>
<p>At <em>mainmenu</em>&#8217;s <em>Menu Item Manager</em>, click on <em>Home</em>;</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-ViewMenu.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-ViewMenu.png.jpg" /></a></p>
<p>Here is the place to actually change the Joomla&#8217;s frontpage title. Select <em>Parameters (System)</em> on the right toolbar, and edit <em>Page Title</em> textfield to any page title you would like to, and then click on the <em>Save</em> icon on the upper right of the page.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-MenuItem.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-MenuItem.png.jpg" /></a></p>
<p>From now on the frontpage of your Joomla site will display the title you&#8217;ve previously changed.</p>
<p><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/Screenshot-TamanTropika.png"><img width="500" height="341" alt="" src="http://www.techrecipes.net/wp-content/uploads/image/2009/03/joomla-title/mini-Screenshot-TamanTropika.png.jpg" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=1lq5UT_nivA:tpqB5IjG3mM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=1lq5UT_nivA:tpqB5IjG3mM:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=1lq5UT_nivA:tpqB5IjG3mM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=1lq5UT_nivA:tpqB5IjG3mM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=1lq5UT_nivA:tpqB5IjG3mM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/1lq5UT_nivA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/web/change-default-page-title-in-joomla.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/web/change-default-page-title-in-joomla.html</feedburner:origLink></item>
		<item>
		<title>Configure Apache reverse proxy in SuSe</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/dSOxmz6rCMQ/configure-apache-reverse-proxy-in-suse.html</link>
		<comments>http://www.techrecipes.net/linux/configure-apache-reverse-proxy-in-suse.html#comments</comments>
		<pubDate>Fri, 27 Feb 2009 01:45:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=544</guid>
		<description><![CDATA[I have a web application hosted in my local network, and it is not accessible from the internet as it is served behind a NAT. One of the way to make it accessible from the Internet is to configure reverse proxy in Apache web server at the gateway.
A reverse proxy server routes connection addressed to [...]]]></description>
			<content:encoded><![CDATA[<p>I have a web application hosted in my local network, and it is not accessible from the internet as it is served behind a <em>NAT</em>. One of the way to make it accessible from the Internet is to configure reverse proxy in <em>Apache</em> web server at the gateway.</p>
<p>A reverse proxy server routes connection addressed to the internal server, and the client sees the reverse proxy server itself as the origin server.</p>
<p>To configure <em>Apache</em> to run as a reverse proxy server in <em>SuSe</em>, we must first make sure the required modules are loaded by Apache. The required modules are <em>proxy</em> and <em>proxy_http</em>, and the file to configure is<em> /etc/sysconfig/apache2</em>. Add the 2 modules among other modules in the <em>APACHE_MODULES</em> directive as the following example;</p>
<pre>
APACHE_MODULES=&quot;actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 rewrite proxy proxy_http&quot;
</pre>
<p>The second part is to configure the reverse proxy itself. Assuming the web application is located internally in <em>http://192.168.0.10/myapp</em>, and we would like people from the outside network to see it as <em>http://www.domain.com/webapp</em>, add the following lines in the <em>/etc/apache2/default-server.conf</em></p>
<pre>
ProxyRequests Off

ProxyPass /webapp http://192.168.0.10/myapp
ProxyPassReverse /webapp  http://192.168.0.10/myapp
</pre>
<p>That&#8217;s all what it takes to configure the reverse proxy, and changes should take effect after the <em>Apache</em> web server is restarted.</p>
<p>&nbsp;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/tech-recipes?a=dSOxmz6rCMQ:OA_m2mullf0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=dSOxmz6rCMQ:OA_m2mullf0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=dSOxmz6rCMQ:OA_m2mullf0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/tech-recipes?i=dSOxmz6rCMQ:OA_m2mullf0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/tech-recipes?a=dSOxmz6rCMQ:OA_m2mullf0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tech-recipes?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/dSOxmz6rCMQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/linux/configure-apache-reverse-proxy-in-suse.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/linux/configure-apache-reverse-proxy-in-suse.html</feedburner:origLink></item>
		<item>
		<title>What are Page Impressions, Clicks, CTR, and eCPM in Google Adsense report</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/IRnqT52t1E0/what-are-page-impressions-clicks-ctr-and-ecpm-in-google-adsense-report.html</link>
		<comments>http://www.techrecipes.net/web/what-are-page-impressions-clicks-ctr-and-ecpm-in-google-adsense-report.html#comments</comments>
		<pubDate>Wed, 25 Feb 2009 05:30:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=557</guid>
		<description><![CDATA[The following is a reporting page for Google AdSense publishers. Other than the column &#34;Earnings&#34;, some publishers might not know what other columns really are, and so I&#8217;ll just brief it here;

&#160;
1. Page Impressions
Page impressions are the number of times a page containing Google ads are loaded or viewed. One page impression is reported per [...]]]></description>
			<content:encoded><![CDATA[<p>The following is a reporting page for Google AdSense publishers. Other than the column &quot;Earnings&quot;, some publishers might not know what other columns really are, and so I&#8217;ll just brief it here;</p>
<p style="text-align: center;"><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/02/Screenshot-GoogleAdSense-Reports-MozillaFirefox.png"><img src="http://www.techrecipes.net/wp-content/uploads/image/2009/02/mini-Screenshot-GoogleAdSense-Reports-MozillaFirefox.jpg" alt="" /></a></p>
<p>&nbsp;</p>
<p><em><strong>1. Page Impressions</strong></em></p>
<p>Page impressions are the number of times a page containing Google ads are loaded or viewed. One page impression is reported per page load regardless of how many ads are there in the page. If a particular page contains 3 ads, one page impression is recorded every time the page is loaded.</p>
<p>&nbsp;</p>
<p><em><strong>2. Clicks</strong></em></p>
<p>Clicks is the number of time visitors click on the ads appearing on your pages.</p>
<p>&nbsp;</p>
<p><em><strong>3. Page CTR</strong></em></p>
<p>Page CTR is the number of ad clicks divided by the number of impressions for the page of ads that appears when a link unit is clicked.</p>
<p>&nbsp;</p>
<p><em><strong>4. Page eCPM</strong></em></p>
<p>Page eCPM or effective cost-per-thousand impressions is just a reporting feature to compare revenue across different channels and advertising programs, It is calculated by dividing total earnings by the number of impressions in thousands.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/tech-recipes?a=tDeQ0LLH"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=PaF0rygu"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=REkdM3R6"><img src="http://feeds.feedburner.com/~f/tech-recipes?i=REkdM3R6" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=C0HLsfup"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=52" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/IRnqT52t1E0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/web/what-are-page-impressions-clicks-ctr-and-ecpm-in-google-adsense-report.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/web/what-are-page-impressions-clicks-ctr-and-ecpm-in-google-adsense-report.html</feedburner:origLink></item>
		<item>
		<title>Compress PNG image file</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/L2oPc3jILbs/compress-png-image-file.html</link>
		<comments>http://www.techrecipes.net/linux/compress-png-image-file.html#comments</comments>
		<pubDate>Fri, 20 Feb 2009 07:59:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=548</guid>
		<description><![CDATA[PNG or Portable Network Graphics is a file format for image that employs lossless data compression. It is meant to replace patent encumbered GIF file format, hence the acronym itself is optionally recursive, which unofficially stands for PNG&#8217;s Not Gif.
Employing a lossless data compression, PNG&#8217;s images while being sharp can sometimes relatively be big in [...]]]></description>
			<content:encoded><![CDATA[<p><em>PNG</em> or <em>Portable Network Graphics</em> is a file format for image that employs lossless data compression. It is meant to replace patent encumbered <em>GIF</em> file format, hence the acronym itself is optionally recursive, which unofficially stands for <em>PNG&#8217;s Not Gif</em>.</p>
<p>Employing a lossless data compression, <em>PNG</em>&#8217;s images while being sharp can sometimes relatively be big in size. To keep the file size small while maintaining the sharpness of the image, there is a tool available that can further compress a <em>PNG</em> image, losslessly.</p>
<p>The command line based program is called <em>Pngcrush</em>, and is available for both Windows and Linux. The program can reduce the file size for up to 40% less from the original by trying various compression levels of <em>PNG</em> filter methods.</p>
<p>Running the program is as simple as supplying the input and output file, as in the following example;</p>
<pre>
$ pngcrush  input.png output.png

 | pngcrush 1.6.6
 |    Copyright (C) 1998-2002,2006-2008 Glenn Randers-Pehrson
 |    Copyright (C) 2005      Greg Roelofs
 | This is a free, open-source program.  Permission is irrevocably
 | granted to everyone to use this version of pngcrush without
 | payment of any fee.
 | Executable name is pngcrush
 | It was built with libpng version 1.2.27, and is
 | running with  libpng version 1.2.27 - April 29, 2008

 |    Copyright (C) 1998-2004,2006-2008 Glenn Randers-Pehrson,
 |    Copyright (C) 1996, 1997 Andreas Dilger,
 |    Copyright (C) 1995, Guy Eric Schalnat, Group 42 Inc.,
 | and zlib version 1.2.3.3, Copyright (C) 1998-2002 (or later),
 |    Jean-loup Gailly and Mark Adler.
 | It was compiled with gcc version 4.3.1 and gas version 2.18.50.20080610.

   Recompressing input.png
   Total length of data found in IDAT chunks    =    90188
unknown chunk handling done.
   IDAT length with method   1 (fm 0 zl 4 zs 0) =    94524
   IDAT length with method   2 (fm 1 zl 4 zs 0) =    94871
   IDAT length with method   3 (fm 5 zl 4 zs 1) =    93666
   IDAT length with method   9 (fm 5 zl 2 zs 2) =   181820
   IDAT length with method  10 (fm 5 zl 9 zs 1) =    88388
   Best pngcrush method = 10 (fm 5 zl 9 zs 1) for output.png
     (2.00% IDAT reduction)
     (2.14% filesize reduction)

   CPU time used = 0.510 seconds (decoding 0.060,
          encoding 0.450, other 0.000 seconds)
</pre>
<p><em>Pngcrush</em> can also run in batch mode, where running the following command will compress all the <em>PNG</em> files in the current folder, and save it to a folder named <em>compressed</em>, adding the suffix <em>-compr</em> to the file name. </p>
<pre>
pngcrush -d compressed -e -compr.png *.png
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/tech-recipes?a=ODgZITxo"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=5zcAEJBB"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=W4zhDhKi"><img src="http://feeds.feedburner.com/~f/tech-recipes?i=W4zhDhKi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=V861reTH"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=52" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/L2oPc3jILbs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/linux/compress-png-image-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/linux/compress-png-image-file.html</feedburner:origLink></item>
		<item>
		<title>Process and convert RAW image files in Linux</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/qqvNXgSl--s/process-and-convert-raw-image-files-in-linux.html</link>
		<comments>http://www.techrecipes.net/linux/process-and-convert-raw-image-files-in-linux.html#comments</comments>
		<pubDate>Wed, 18 Feb 2009 03:18:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=441</guid>
		<description><![CDATA[A raw image file is a supposedly un-processed image file taken directly from the image sensor of a digital camera. Depending on digital camera manufacturers, a raw image file is stored using various file extensions such as NEF, CRW, SRF, DCR, and ORF.
While manufacturers normally bundle RAW image editing software along with their digital cameras, [...]]]></description>
			<content:encoded><![CDATA[<p>A raw image file is a supposedly un-processed image file taken directly from the image sensor of a digital camera. Depending on digital camera manufacturers, a raw image file is stored using various file extensions such as NEF, CRW, SRF, DCR, and ORF.</p>
<p>While manufacturers normally bundle RAW image editing software along with their digital cameras, the software most likely doesn&#8217;t run in Linux. Popular third party software such as Adobe Photoshop or Apple Aperture doesn&#8217;t run in Linux as well.<a title="Dragonia Magazine" href="http://dragonia.pl/"><br />
</a></p>
<p>This however doesn&#8217;t mean that it&#8217;s not possible at all to do the RAW image file processing in Linux, as there are alternative softwares, and they function just well.</p>
<p>&nbsp;</p>
<p><strong>1- Dcraw</strong></p>
<p>This is a very feature rich command line based program that is actually the backend for few other GUI based RAW processing programs. While being useful for being able to be scripted for easy batch processing, there&#8217;s no way to preview the RAW image other than to see the finished products and that makes it less appealing for most users.</p>
<p>The following is an example on how to convert a RAW image</p>
<pre><code>dcraw -n 150 -H 5 -w -q 3 -b 1.5 DSC_1704.NEF</code></pre>
<p>with the followings are explanations on each of the option switches;</p>
<ul>
<li><em>-n 150</em> : Set the noise threshold to 150 (possible value is from 100 to 1000)</li>
<li><em>-H 5</em> : Reconstruct highlights as a compromise between whites and colours</li>
<li><em>-w</em> : Use white balance specified by the camera</li>
<li><em>-q 3</em> : Use Adaptive Homogeneity-Directed (AHD) interpolation.</li>
<li><em>-b 1.5</em> : Set the brightness to 1.5</li>
<li><em>DSC_1704.NEF</em> : The RAW file</li>
</ul>
<p>Running the following command will create a .ppm file which can be opened and edited by popular photo editing software such as The Gimp.</p>
<p>&nbsp;</p>
<p><strong>2- Ufraw</strong></p>
<p style="text-align: center;"><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/02/Screenshot-UFRaw.png"><img width="400" height="338" src="http://www.techrecipes.net/wp-content/uploads/image/2009/02/mini-Screenshot-UFRaw.png" alt="" /></a></p>
<p>This is probably as of now the most popular RAW image editing software in Linux. Even though that it has quite a funny name (which ufraw actually stands for Unidentified Flying Raw), it&#8217;s actually a tool for serious people.</p>
<p>Ufraw is a very mature program for this purpose. The program provides many options for RAW image processing, and the user interface displays a lot of useful information. Ufraw however doesn&#8217;t have photo directory browser which makes it a bit hard to work on many images at once. Ufraw is available as a standalone program and as a plugin to the popular image manipulating program for Linux, the Gimp.</p>
<p>&nbsp;</p>
<p><strong>3- Rawstudio</strong></p>
<p style="text-align: center;"><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/02/Screenshot-Rawstudio.png"><img width="400" height="310" src="http://www.techrecipes.net/wp-content/uploads/image/2009/02/mini-Screenshot-Rawstudio.png" alt="" /></a></p>
<p>Rawstudio is known to be an easy program to operate. By trying to be easy, the program lacks many options as compared to Ufraw. All is not lost however as the program itself in some ways are more desirable when compared to Ufraw.</p>
<p>The program comes with the default dark interface which is easier in the eyes when working with photos. It also displays thumbnails of photos in particular directory, making it easy to navigate between photos while working on multiples photos. Rawstudio also comes with split-screen mode to display two versions of the same photo side by side.</p>
<p>&nbsp;</p>
<p><strong>4- Rawtherapee</strong></p>
<p style="text-align: center;"><a href="http://www.techrecipes.net/wp-content/uploads/image/2009/02/Screenshot-RawTherapee.png"><img width="400" height="234" src="http://www.techrecipes.net/wp-content/uploads/image/2009/02/mini-Screenshot-RawTherapee.png" alt="" /></a></p>
<p>Rawtherapee can be considered as what we get when combining the best of what Ufraw and Rawstudio has to give.</p>
<p>It has a very intuitive interface, a lot of options that we can play with (more than Ufraw), directory browsing with thumbnails, and a very good workflow. I consider this as my personal favorite and would recommend it to anyone.</p>
<p>The only drawbacks of this program that I can think of is that though it&#8217;s a free software, it is not open source. We also need a big screen to comfortably use the program.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/tech-recipes?a=EvzQ5sro"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=v824qdKc"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=RcyO3hQt"><img src="http://feeds.feedburner.com/~f/tech-recipes?i=RcyO3hQt" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=JTFEwVnf"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=52" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/qqvNXgSl--s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/linux/process-and-convert-raw-image-files-in-linux.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/linux/process-and-convert-raw-image-files-in-linux.html</feedburner:origLink></item>
		<item>
		<title>Shutdown Windows machine remotely from Linux command line</title>
		<link>http://feedproxy.google.com/~r/tech-recipes/~3/gF0GJN9QMCA/shutdown-windows-machine-remotely-from-linux-command-line.html</link>
		<comments>http://www.techrecipes.net/linux/shutdown-windows-machine-remotely-from-linux-command-line.html#comments</comments>
		<pubDate>Tue, 17 Feb 2009 09:55:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.techrecipes.net/?p=534</guid>
		<description><![CDATA[The easiest way to shutdown a Windows machine from Linux is by using Samba&#8217;s net command. The following command will send an RPC call to the Windows machine, telling it to shutdown;

net rpc SHUTDOWN -C &#34;Comment here&#34; -f -I xxx.xxx.xxx.xxx -U username%password
If successful, we&#8217;ll be presented with the following mesage;

Shutdown of remote machine succeeded
Change &#34;Comment [...]]]></description>
			<content:encoded><![CDATA[<p>The easiest way to shutdown a <em>Windows</em> machine from <em>Linux</em> is by using <em>Samba</em>&#8217;s <em>net</em> command. The following command will send an <em>RPC</em> call to the <em>Windows</em> machine, telling it to shutdown;</p>
<pre>
net rpc SHUTDOWN -C &quot;Comment here&quot; -f -I xxx.xxx.xxx.xxx -U username%password</pre>
<p>If successful, we&#8217;ll be presented with the following mesage;</p>
<pre>
Shutdown of remote machine succeeded</pre>
<p>Change <em>&quot;Comment here&quot;</em> with whatever shutdown comment that you would like for the shutdown, and replace <em>xxx.xxx.xxx.xxx</em> with the IP address of the <em>Windows</em> machine that we are to shutdown. A valid username and password also need to be supplied as a parameter to the the <em>-U</em> switch.</p>
<p>For this command to be successful, the user we use must have shutdown privilege on the windows machine. The <em>Windows</em> machine also need to have <em>RPC</em> enabled, and no firewall is blocking port 135 as the port used by <em>RPC</em>. The <em>net</em> command itself however is only available if Samba is installed.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/tech-recipes?a=FiW3SQhd"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=pFeI1Q6l"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=ynfWiOnZ"><img src="http://feeds.feedburner.com/~f/tech-recipes?i=ynfWiOnZ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/tech-recipes?a=1ZHtIjLf"><img src="http://feeds.feedburner.com/~f/tech-recipes?d=52" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/tech-recipes/~4/gF0GJN9QMCA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techrecipes.net/linux/shutdown-windows-machine-remotely-from-linux-command-line.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.techrecipes.net/linux/shutdown-windows-machine-remotely-from-linux-command-line.html</feedburner:origLink></item>
	</channel>
</rss>
