<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NamHuy &#187; Linux</title>
	<atom:link href="http://namhuy.org/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://namhuy.org/blog</link>
	<description>Includes news, help, tutorials, programming, tips and how-to guides for Linux, UNIX, and BSD</description>
	<lastBuildDate>Fri, 20 Jan 2012 19:37:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux defacements and Linux hacking</title>
		<link>http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/</link>
		<comments>http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 17:36:26 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking Linux]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[Linux hacking]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=329</guid>
		<description><![CDATA[Zone-h.org has an excellent site to see defacements and what is going on across the internet.   Reviewing the archives and live defacements, Linux is defaced (hacked) more times than Windows.   What exactly does this mean?  Is Linux unsafe? &#8230; <a href="http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://zone-h.org/archive/published=0" target="_blank">Zone-h.org </a>has an excellent site to see defacements and what is going on across the internet.   Reviewing the archives and live defacements, Linux is defaced (hacked) more times than Windows.   What exactly does this mean?  Is Linux unsafe?  Not at all.  It truly falls on the administrator who configured Linux.   There is a false sense of security when you install Linux based on all of the sites and forums that support Linux’s ability to be safe and reliable.   Truly it can be the safest if the following holds true -</p>
<ul>
<li>Proper configuration</li>
<li>Updates</li>
<li>Reading materials</li>
<li>Frequent penetration tests</li>
<li>Monitoring and logging</li>
<li>Experience with advanced configurations</li>
</ul>
<p><a href="http://zone-h.org/archive/published=0" target="_blank">Zone-h archives</a></p>
<p>All operating systems have vulnerabilities.  And yes Apple, Microsoft and Linux is only as safe as the end user.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2011%2F11%2F15%2Flinux-defacements-and-linux-hacking%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/"  data-text="Linux defacements and Linux hacking" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2011/11/15/linux-defacements-and-linux-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Linux</title>
		<link>http://namhuy.org/blog/2011/06/19/introduction-to-linux/</link>
		<comments>http://namhuy.org/blog/2011/06/19/introduction-to-linux/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 20:47:16 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Helsinki]]></category>
		<category><![CDATA[Linus Torvalds]]></category>
		<category><![CDATA[operating system]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=216</guid>
		<description><![CDATA[What is Linux Linux is an operating system. Created in October,1991 in university of Helsinki by Linus Torvalds. It is superset of kernel and application tools. How to get it It is available in forms of various distros or distribution. &#8230; <a href="http://namhuy.org/blog/2011/06/19/introduction-to-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>What is Linux</strong></p>
<p>Linux is an operating system.<br />
Created in October,1991 in university of Helsinki by Linus Torvalds.<br />
It is superset of kernel and application tools.</p>
<p><strong>How to get it</strong></p>
<p>It is available in forms of various distros or distribution.<br />
Distros include kernel and application tools.<br />
Examples are Ubuntu, Red Hat, Debian etc.<br />
<span id="more-216"></span><br />
<strong>Cost of Linux</strong></p>
<p>It is available free of cost.<br />
It is distributed under GNU-GPL(GNU General Public License).</p>
<p><strong>Who develop and maintains Linux</strong></p>
<p>Distros of Linux are maintained by organizations such as Red Hat,Canonical and others.<br />
These are developed by volunteers and linux-community.</p>
<p><strong>Why to use Linux</strong></p>
<p>Mostly virus-free environment.<br />
Free of cost.<br />
Extensive support for programmers.<br />
It runs 10 fastest super computer on planet.</p>
<p><strong>Why not to use Linux</strong></p>
<p>No professional support(excluding Red Hat).<br />
Mostly bad UI than windows(although Ubuntu and others are giving a cut-throat competition).<br />
If you are a gamer.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2011%2F06%2F19%2Fintroduction-to-linux%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2011/06/19/introduction-to-linux/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2011/06/19/introduction-to-linux/"  data-text="Introduction to Linux" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2011/06/19/introduction-to-linux/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2011/06/19/introduction-to-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ten reasons Linux is the best choice for kids</title>
		<link>http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/</link>
		<comments>http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 18:10:16 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=185</guid>
		<description><![CDATA[written by Jack Wallen for TechRepublic &#8220;The problem with working in IT is that when we go home, our job often continues. Sometimes, keeping our children’s computers running can be a bigger challenge than sorting out the adults at work. &#8230; <a href="http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>written by Jack Wallen for TechRepublic</p>
<p>&#8220;The problem with working in IT is that when we go home, our job often continues. Sometimes, keeping our children’s computers running can be a bigger challenge than sorting out the adults at work.</p>
<p>But if you install Linux at home, you can avoid the headaches. That’s because sound reasons exist for migrating young users from other operating systems.&#8221;</p>
<p>He gives the following reasons…</p>
<p>1. Viruses and malware<br />
2. Security<br />
3. Cost effectiveness<br />
4. Age-specific tools<br />
5. Netbooks<br />
6. Agile learners</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F11%2F07%2Ften-reasons-linux-is-the-best-choice-for-kids%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/"  data-text="Ten reasons Linux is the best choice for kids" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/11/07/ten-reasons-linux-is-the-best-choice-for-kids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terminal or shell command to shutdown or reboot Ubuntu Linux</title>
		<link>http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/</link>
		<comments>http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 23:05:35 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=181</guid>
		<description><![CDATA[So how do you shutdown or reboot Ubuntu Linux from a terminal or a shell prompt? If GUI is working you can always click on a Quit button. If GUI is not working or if you are working remotely over &#8230; <a href="http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So how do you shutdown or reboot Ubuntu Linux from a terminal or a shell prompt? If GUI is working you can always click on a Quit button. If GUI is not working or if you are working remotely over ssh type the following command:</p>
<p>To shutdown / poweroff Ubuntu Linux<br />
Type the command:<br />
<strong>sudo halt</strong><br />
OR<br />
<strong>sudo shutdown -h now</strong></p>
<p>To reboot Ubuntu Linux<br />
Type the command:<br />
<strong>sudo reboot</strong></p>
<p>More information can be found about these two commands by typing following commands (man page):<br />
<strong>man reboot</strong><br />
<strong>man shutdown</strong></p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F11%2F03%2Fterminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/"  data-text="Terminal or shell command to shutdown or reboot Ubuntu Linux" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/11/03/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to get the size of a folder in Linux CLI</title>
		<link>http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/</link>
		<comments>http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 09:38:50 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[size]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=176</guid>
		<description><![CDATA[It seems like a simple request…and it mostly is. But if you want to get the size of a folder – including sub-folders – in Linux from the command line, you need to use the du command. The simplest trick &#8230; <a href="http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It seems like a simple request…and it mostly is. But if you want to get the size of a folder – including sub-folders – in Linux from the command line, you need to use the du command. The simplest trick (thanks <a title="how to get the size of a folder in Linux CLI" href="http://www.linuxforums.org/forum/programming-scripting/13287-how-find-directory-size.html" target="_blank">linuxforums.org</a>) to get the total size without listing all the sub-folders is to use the following:</p>
<p>du -h | grep -v &#8216;/&#8217; | awk &#8216;{print $1}&#8217;</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F10%2F24%2Fhow-to-get-the-size-of-a-folder-in-linux-cli%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/"  data-text="how to get the size of a folder in Linux CLI" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/10/24/how-to-get-the-size-of-a-folder-in-linux-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a Drive On Linux System</title>
		<link>http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/</link>
		<comments>http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 08:07:06 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=171</guid>
		<description><![CDATA[This post is meant to be a simple walk-through on how to mount a new drive on your Linux System. Here we will take a scenario of mounting a new drive ?backup to store backup of your system.. ***WARNING*** ***WARNING*** &#8230; <a href="http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post is meant to be a simple walk-through on how to mount a new drive on your Linux System.</p>
<p>Here we will take a scenario of mounting a new drive ?backup to store backup of your system..</p>
<p>***WARNING*** ***WARNING*** ***WARNING***</p>
<p>&#8221; What ever you do make sure to NOT use the command &#8220;fdisk /dev/sda&#8221; or &#8220;fdisk /dev/hda&#8221; as that means you are editing your main and boot partition &#8221;</p>
<p>So let us begin..</p>
<p>Quote:</p>
<p>First run fdisk to look at your available disks.</p>
<p># fdisk -l</p>
<p>Disk /dev/hda: 80.0 GB, 80000000000 bytes<br />
255 heads, 63 sectors/track, 9726 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot Start End Blocks Id System<br />
/dev/hda1 * 1 13 104391 83 Linux<br />
/dev/hda2 14 268 2048287+ 82 Linux swap<br />
/dev/hda3 269 9726 75971385 83 Linux</p>
<p>Disk /dev/hdc: 80.0 GB, 80000000000 bytes<br />
255 heads, 63 sectors/track, 9726 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot Start End Blocks Id System</p>
<p>What we see above is two separate disks, one being hda and the other is hdc. The hda is the main boot drive which should not be played with !</p>
<p>Quote:</p>
<p>The second step is to format the drive. ( If the drive is hdb, hdd, sdb, sdc, sdd simply replace it with &#8220;hdc&#8221; )</p>
<p>#fdisk /dev/hdc</p>
<p>-press &#8220;n&#8221; for new partion<br />
-press &#8220;p&#8221; for primary partition<br />
-press &#8220;1″ for the first partition<br />
-press enter for the first AND last cylinders. This will make it automatically use the entire disk<br />
-press &#8220;w&#8221; for write out to save what you have done</p>
<p>The next step is to make the file-system readable by Linux. You need to format it using ext3 which is widely used file-system .</p>
<p>#mkfs.ext3 /dev/hdc1</p>
<p>Note that I have used &#8220;hdc1″ because it is the first partition. Now we are going to set the disk to automatically be mounted on boot as /backup.</p>
<p>Quote:</p>
<p>#mkdir /backup</p>
<p>#vi /etc/fstab</p>
<p>Add the following line:<br />
/dev/hdc1 /backup ext3 defaults 1 1</p>
<p>Verify if this new drive is mounted.</p>
<p>#mount /backup</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F10%2F22%2Fmounting-a-drive-on-linux-system%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/"  data-text="Mounting a Drive On Linux System" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/10/22/mounting-a-drive-on-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Research: Types of Linux Users</title>
		<link>http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/</link>
		<comments>http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 02:29:17 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[dual booter]]></category>
		<category><![CDATA[foss]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=166</guid>
		<description><![CDATA[In the three years I have been using Linux as my primary operating system I’ve taken note that in general there are four different types of Linux users. Each one fits a distinct niche and it is possible to change &#8230; <a href="http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the three years I have been using Linux as my primary operating system I’ve taken note that in general there are four different types of Linux users. Each one fits a distinct niche and it is possible to change from one type into another over time.</p>
<p><strong>The Computer User:</strong><br />
This is a person that feels no emotional ties to FOSS/Linux. The computer is a tool to get the job done and they use Linux because it is the best tool for the job they are trying to accomplish. If Windows or OSX was better suited for the task, then they would be using that instead. They may have no idea of what FOSS or Linux is, they just know their computer works when they need it to. Odds are Linux was installed on their system by friend or relative who is a Linux Advocate or FOSS Extremist who was tried of fixing issues that kept popping up on Windows.</p>
<p><strong>The Dual Booter:</strong><br />
Typically someone who has some computer savvy about them. Odds are they decided to give Linux a try because they just caught an interesting article about a shiny new distro release on Digg or because they know a Linux Advocate who recommended it. They might make a forum post or two to try and solve an issue they are having, but odds are if the distro doesn’t “just work” they will start going on about how Linux “isn’t ready for the average user” or “will never make it as a desktop operating system”. If their Linux install does work, they still keep Windows around because they are a “gamer” or because they need to use a piece of Windows software that does not have a decent FOSS/Linux alternative as of yet.</p>
<p><strong>Linux Advocate:</strong><br />
Someone who uses Linux because they feel it is a superior or more stable operating environment. Typically this is someone who knows their way around the computer a bit and isn’t afraid to post on a forum asking a question or get their hands dirty with a bit of terminal code to get their system up and running. While they love the power of FOSS they realize at the same time that the entire world does not work in this manner (although it would be great if it did). They are typically willing to use restricted codecs and closed source video drivers to get the performance and functionality they need out of their system. While it is not uncommon for them to recommend Linux to their family and friends, most times they will even help them get it setup, they realize that some people are happy with Windows and they acknowledge this.</p>
<p><strong>FOSS Extremist:</strong><br />
They use Linux not only because it is fast and stable, but because it is FOSS. They view software that is closed source as something evil that must be conquered or changed for the good of man kind. The know the ins and outs of their system – most times for an FOSS Extremist the GUI is optional. If their hardware does not work right “out of the box” on their favorite distro they are willing to spend hours pouring over manuals and help pages to get it working. They almost constantly preach about the evils of Windows and Apple and take every chance they get to convert those they know to Linux or and FOSS operating system.</p>
<p>Do you think I covered most Linux users here? If not let me know other “types” of Linux users you think there are in the world. If I did cover them all where do you fit into my four different categories? Perhaps you are even a mix of two, personally I find myself somewhere inbetween FOSS Extremist and Linux Advocate depending on my mood.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F10%2F05%2Fresearch-types-of-linux-users%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/"  data-text="Research: Types of Linux Users" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/10/05/research-types-of-linux-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Microsoft Office 2007 on Linux</title>
		<link>http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/</link>
		<comments>http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 17:37:58 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=125</guid>
		<description><![CDATA[This guide is for Linux enthusiasts who would prefer to use the Microsoft office suite as opposed to one of the many Linux alternatives.This is convenient for an easy transfer of operating systems throughout a company, household or organization that &#8230; <a href="http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>This guide is for Linux enthusiasts who would prefer to use the Microsoft office suite as opposed to one of the many Linux alternatives.This is convenient for an easy transfer of operating systems throughout a company, household or organization that uses their computers for word processing and other document processing as it will allow the user to experience the operating system thoroughly without giving them the added burden of having to use the alien document processing suites. Note: This guide will only work on select Linux systems and holds no warranty of any kind. Read below to find out how easy it is to use your Linux system to produce any document that a Windows PC could.</p></blockquote>
<p>Firstly you will need to make sure that your Linux computer has an internet connection.</p>
<p>Next, you will need to locate your Microsoft Office 2007 CD and insert it into your Linux computer.</p>
<p>Now, you will need to acquire the latest version of Wine for your Linux system. You can do so by visiting the download page: <a href="http://www.winehq.org/download" target="_blank">http://www.winehq.org/download</a></p>
<p>Once you have downloaded Wine and installed it on your Linux computer then you may run the Microsoft Office 2007 Setup. To do this you will need to click the bottom left of the bar on your desktop and opening your “Media” folder. Once you have opened your “Media” folder then locate your disk drive which should now be named “MSOFFICE” (or similar, depending on your Microsoft Office 2007 distribution).</p>
<p>You will now need to open the CD drive and then locate the “setup.exe” file within the CD and right-click it and select “Open with/Wine”, “Open with Wine” or “Open With (and then select Wine from the pop-up dialogue).</p>
<p>Now, assuming that you have downloaded and installed the latest functional version of Wine; you will be presented with the setup screen for Microsoft Office 2007, just as you would on a Microsoft Windows system.</p>
<p>You will now need to run through the setup just as you would on a Microsoft Windows system, of course replacing the default Microsoft Windows directories with the corresponding Linux directories.</p>
<p>Once you have completed the setup then you will be able to search the C:\ drive (or the drive that you chose to install the office suite on) for the installation folder that you selected. Once you find the .exe file for the office suite program that you want to use from the Linux desktop you can right-click the .exe file and copy a shortcut to the desktop.</p>
<p>Now, assuming you have followed the steps correctly, with the slight alterations made based on your Linux system you will have a fully functional office suite accessible from your desktop.</p>
<p>To run your office software all you will need to do is double-left-click the program shortcut of your choice and it will open itself in Wine. If it does not open restart your computer to let all registry and system changes occur and then try executing the program again. If it still does not work then retry all of the steps in my guide.</p>
<blockquote><p>You should now have a fully functional Microsoft Office suite accessible from your Linux desktop. Enjoy your newfound Linux knowledge.</p></blockquote>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F09%2F20%2Fhow-to-install-microsoft-office-2007-on-linux%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/"  data-text="How to install Microsoft Office 2007 on Linux" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/09/20/how-to-install-microsoft-office-2007-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Change root Password</title>
		<link>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/</link>
		<comments>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 08:39:11 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[freebsb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=100</guid>
		<description><![CDATA[How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session? Setting up mysql password is one of the essential tasks. By default root user is MySQL admin account. Please &#8230; <a href="http://namhuy.org/blog/2010/07/23/mysql-change-root-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session?</p>
<p>Setting up mysql password is one of the essential tasks. By default root user is MySQL admin account. Please note that the Linux / UNIX login root account for your operating system and MySQL root are different. They are separate and nothing to do with each other (indeed some admin removes root account and setup admin as mysql super user).<br />
mysqladmin command to change root password</p>
<p>If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:</p>
<p>$ mysqladmin -u root password NEWPASSWORD</p>
<p>However, if you want to change (or update) a root password, then you need to use following command</p>
<p>$ mysqladmin -u root -p&#8217;oldpassword&#8217; password newpass</p>
<p>For example, If old password is abc, and set new password to 123456, enter:</p>
<p>$ mysqladmin -u root -p&#8217;abc&#8217; password &#8217;123456&#8242;</p>
<p>Change MySQL password for other user</p>
<p>To change a normal user password you need to type (let us assume you would like to change password for vivek):</p>
<p>$ mysqladmin -u vivek -p oldpassword password newpass</p>
<p>Changing MySQL root user password using MySQL sql command</p>
<p>This is another method. MySQL stores username and passwords in user table inside MySQL database. You can directly update password using the following method to update or change password for user vivek:</p>
<p>1) Login to mysql server, type following command at shell prompt:</p>
<p>$ mysql -u root -p</p>
<p>2) Use mysql database (type command at mysql&gt; prompt):</p>
<p>mysql&gt; use mysql;</p>
<p>3) Change password for user vivek:</p>
<p>mysql&gt; update user set password=PASSWORD(&#8220;NEWPASSWORD&#8221;) where User=&#8217;vivek&#8217;;</p>
<p>4) Reload privileges:</p>
<p>mysql&gt; flush privileges;<br />
mysql&gt; quit</p>
<p>This method you need to use while using PHP or Perl scripting.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F07%2F23%2Fmysql-change-root-password%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/07/23/mysql-change-root-password/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/07/23/mysql-change-root-password/"  data-text="MySQL Change root Password" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/07/23/mysql-change-root-password/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Karmik and Eclipse Galileo</title>
		<link>http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/</link>
		<comments>http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 21:46:45 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=83</guid>
		<description><![CDATA[The great Ubuntu Karmik is just around the corner. If you happen to use Eclipse from the official eclipse webpage and you see that some eclipse buttons do not work, then apply the following hack. Make yourself a one line &#8230; <a href="http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The great Ubuntu Karmik is just around the corner. If you happen to use Eclipse from the official eclipse webpage and you see that some eclipse buttons do not work, then apply the following hack. Make yourself a one line script to execute eclipse like follows:</p>
<blockquote><p>#!/bin/bash</p>
<p>export GDK_NATIVE_WINDOWS=1<br />
./eclipse</p></blockquote>
<p>and it will work again. For tptp (the profiling tools for eclipse) you’ll need libstdc++5 package from debian.</p>
<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnamhuy.org%2Fblog%2F2010%2F01%2F11%2Fubuntu-karmik-and-eclipse-galileo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=80px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/"></g:plusone>
			</div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/"  data-text="Ubuntu Karmik and Eclipse Galileo" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/01/11/ubuntu-karmik-and-eclipse-galileo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.451 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-04 17:13:14 -->
<!-- Compression = gzip -->
