<?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; Software</title>
	<atom:link href="http://namhuy.org/blog/category/software/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>Wed, 21 Mar 2012 03:57:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to Install FFmpeg in Linux</title>
		<link>http://namhuy.org/blog/2012/03/20/how-to-install-ffmpeg-in-linux/</link>
		<comments>http://namhuy.org/blog/2012/03/20/how-to-install-ffmpeg-in-linux/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 03:57:54 +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[ffmpeg]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=354</guid>
		<description><![CDATA[FFmpeg is so important if you are planning to run a video website with streaming with conversion of video files to different video formats although you might want to upgrade to dedicated server hosting because it takes a huge amount &#8230; <a href="http://namhuy.org/blog/2012/03/20/how-to-install-ffmpeg-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ffmpeg.mplayerhq.hu/" target="_blank">FFmpeg</a> is so important if you are planning to run a video website with streaming with conversion of video files to different video formats although you might want to upgrade to <a title="dedicated server hosting" href="http://www.webhostingsearch.com/dedicated-server.php">dedicated server hosting</a> because it takes a huge amount of bandwidth. This tutorial is intended for Centos/Redhat versions of Linux where any novice user can install ffmpeg without compiling the source which is a more traditional way of installing the FFmpeg software on linux servers. In this tutorial i will show you the easy way to install ffmpeg and ffmpeg-php (php extension) with just yum rather than compiling ffmpeg from source files.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>FFmpeg (<a href="http://ffmpeg.mplayerhq.hu/" target="_blank">http://ffmpeg.mplayerhq.hu</a>)<br />
Mplayer + Mencoder (<a href="http://www.mplayerhq.hu/design7/dload.html" target="_blank">http://www.mplayerhq.hu/design7/dload.html</a>)<br />
Flv2tool (<a href="http://inlet-media.de/flvtool2" target="_blank">http://inlet-media.de/flvtool2</a>)<br />
Libogg + Libvorbis (<a href="http://www.xiph.org/downloads" target="_blank">http://www.xiph.org/downloads</a>)<br />
LAME MP3 Encoder (<a href="http://lame.sourceforge.net/" target="_blank">http://lame.sourceforge.net</a>)<br />
FlowPlayer &#8211; A Free Flash Video Player &#8211; <a href="http://flowplayer.org/" target="_blank">http://flowplayer.org/</a></p>
<h1>Installing FFMpeg</h1>
<p>yum install ffmpeg ffmpeg-devel</p>
<p>If you get <strong>package not found, </strong>then you will need to add few lines in the yum repository for dag packages installation. Create a file named <strong>dag.repo</strong> in <strong>/etc/yum.repos.d</strong> with the following contents on it</p>
<p>[dag]<br />
name=Dag RPM Repository for Red Hat Enterprise Linux<br />
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag<br />
gpgcheck=1<br />
enabled=1</p>
<p>then</p>
<p>yum install ffmpeg ffmpeg-devel</p>
<p>If everything is fine, then the installation should proceed smoothly. If not you will get something like warning GPG public key missing .</p>
<h2>Common Errors</h2>
<p><strong>To fix rpmforge GPG key warning: </strong></p>
<p>rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</p>
<p>For more information refer to <a href="http://dag.wieers.com/rpm/FAQ.php#B4"><strong>this faq </strong></a>depending on Centos version</p>
<p><strong>Missing Dependency Error:</strong></p>
<p>If you get missing dependency error like shown below, in the middle of ffmpeg installation</p>
<p>Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package ffmpeg<br />
Error: Missing Dependency: libtheora.so.0(libtheora.so.1.0) is needed by package ffmpeg<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package ffmpeg<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package imlib2<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package a52dec<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package imlib2<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package gsm<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package x264<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package xvidcore<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package lame<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package a52dec<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package faad2<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package x264<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package lame<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package xvidcore<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package faac<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package faad2<br />
Error: Missing Dependency: libgif.so.4 is needed by package imlib2<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package faac<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package gsm<br />
Error: Missing Dependency: libpng12.so.0(PNG12_0) is needed by package imlib2<br />
Error: Missing Dependency: rtld(GNU_HASH) is needed by package libmp4v2<br />
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package libmp4v2</p>
<p>then most commonly you have GLIB 2.3 installed instead of GLIB 2.4 version. To check the current GLIB version installed on your server. just use</p>
<p>yum list glib*</p>
<p>and it should list the latest GLIB package version.</p>
<p>The reason i was getting this error was my rpmforge packages was pointed to centos 5 versions instead of centos 4.6.</p>
<p><strong>To fix dependency error:</strong></p>
<p>To fix this error, you might need to check your rpmforge packages compatible to the release of your existing CentOS version.<br />
Check the file <strong>/etc/yum.repos.d/rpmforge.repo </strong>and it should look like for Centos 4.6(Final). If you have lines like <strong>http://apt.sw.be/redhat/<span style="color: #0000ff;">el5</span>/en/mirrors-rpmforge </strong> you might need to make changes to the <strong>rpmforge.repos</strong> like shown below</p>
<p><strong>Note:</strong> Backup the original<strong> rpmforge.repo</strong> file before you edit its content.</p>
<p>[rpmforge]<br />
name = Red Hat Enterprise $releasever &#8211; RPMforge.net &#8211; dag<br />
#baseurl = http://apt.sw.be/redhat/<span style="color: #0000ff;"><strong>el4</strong></span>/en/$basearch/dag<br />
mirrorlist = http://apt.sw.be/redhat/<span style="color: #0000ff;"><strong>el4</strong></span>/en/mirrors-rpmforge<br />
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge<br />
enabled = 1<br />
protect = 0<br />
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag<br />
gpgcheck = 1</p>
<p><strong>To know what linux type and version you are running </strong></p>
<p>cat /etc/redhat-release</p>
<p>Once this is done, do again <strong>yum install ffmpeg. </strong></p>
<p>This trick resolved the problem in my linux box running Centos 4.6 and this is the <em>only way</em> i found to install ffmpeg using yum.</p>
<h2>To check the FFmpeg working:</h2>
<p>Finally, check the ffmpeg whether it is working or not.</p>
<p>&gt; ffmpeg<br />
&gt; ffmpeg -formats<br />
&gt; ffmpeg &#8211;help<br />
// This lists path of mpeg, its modules and other path information<br />
ffmpeg -i Input.file Output.file</p>
<h2>To check what audi/video formats are supported</h2>
<p>ffmpeg -formats &gt; ffmpeg-format.txt</p>
<p>Open the <strong>ffmpeg-formats.txt</strong> to see the ooutput</p>
<p>D means decode<br />
E means encode<br />
V means video<br />
A means audio<br />
T = Truncated</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%2F2012%2F03%2F20%2Fhow-to-install-ffmpeg-in-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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/2012/03/20/how-to-install-ffmpeg-in-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/2012/03/20/how-to-install-ffmpeg-in-linux/"  data-text="How to Install FFmpeg in Linux" data-count="horizontal"></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/2012/03/20/how-to-install-ffmpeg-in-linux/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2012/03/20/how-to-install-ffmpeg-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XEphem on Ubuntu</title>
		<link>http://namhuy.org/blog/2010/10/25/xephem-on-ubuntu/</link>
		<comments>http://namhuy.org/blog/2010/10/25/xephem-on-ubuntu/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 22:16:58 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[libraries]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[xephem]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=179</guid>
		<description><![CDATA[XEphem is an outstanding software for astronomers.It is written in C and there aren’t any packages built for it so you have to compile it using the source codes. When building on Ubuntu, it is most likely that you’ll get &#8230; <a href="http://namhuy.org/blog/2010/10/25/xephem-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.clearskyinstitute.com/xephem/" target="_blank">XEphem</a> is an outstanding software for astronomers.It is written in C and there aren’t any packages built for it so you have to compile it using the source codes.<br />
When building on Ubuntu, it is most likely that you’ll get some error messages, because need some libraries not included in <a href="http://namhuy.org/blog/tag/ubuntu/" target="_self">Ubuntu</a> by default.<br />
Download the source code and extract it.</p>
<p><strong>$ wget http://97.74.56.125/free/xephem-3.7.4.tar.gz</strong></p>
<p><strong>$ tar -xvf xephem-3.7.4.tar.gz</strong></p>
<p>Before compiling, we need these packages installed.<br />
<strong><br />
$ sudo apt-get install libmotif3 libmotif-dev x11proto-print-dev libxp-dev libxmu-dev</strong></p>
<p>If you don’t install these packages, you’ll get errors during compilation from various files, like aavso.c</p>
<p>Now let’s compile!</p>
<p><strong>$ cd xephem-3.7.4/GUI/xephem</strong></p>
<p><strong>$ make MOTIF=../../libXm/linux86</strong></p>
<p>(NOTE : If you’re using an x86_64 system, use <strong>MOTIF=/usr/lib</strong> as make the option since the libXm delivered with xephem won’t do any good for you)<br />
The rest is as stated in the <strong>INSTALL</strong> file.</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%2F25%2Fxephem-on-ubuntu%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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/25/xephem-on-ubuntu/"></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/25/xephem-on-ubuntu/"  data-text="XEphem on Ubuntu" data-count="horizontal"></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/25/xephem-on-ubuntu/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/10/25/xephem-on-ubuntu/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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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"></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>Multimedia on Linux</title>
		<link>http://namhuy.org/blog/2010/10/23/multimedia-on-linux/</link>
		<comments>http://namhuy.org/blog/2010/10/23/multimedia-on-linux/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 17:40:36 +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[Amarok]]></category>
		<category><![CDATA[Banshee]]></category>
		<category><![CDATA[Brasero]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Rhythmbox]]></category>
		<category><![CDATA[VLC]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=173</guid>
		<description><![CDATA[Multimedia content is quite well supported in Linux, contrary to popular perception. Though it requires more customisation, and everything doesnt work out of the box, everything works perfectly when configured. This fact was made clear, by a number of demonstrations &#8230; <a href="http://namhuy.org/blog/2010/10/23/multimedia-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Multimedia content is quite well supported in Linux, contrary to popular perception. Though it requires more customisation, and everything doesnt work out of the box, everything works perfectly when configured. This fact was made clear, by a number of demonstrations of multimedia softwares in Linux, during the Linux InstallFest</p>
<p>Softwares Demonstrated:</p>
<p>1.) Rhythmbox:<br />
The default music player in most GNOME distributions. It supports most music formats, and brings in features such as Podcast support, iPod support, and syncing with Online Radio Stations</p>
<p>2.) Amarok:<br />
The de facto player in KDE based distributions, it is a hot favorite with many people, owing to its large support base, excellent features such as Scripting, Online Music Store support, and support for a large number of audio devices.</p>
<p>3.) Banshee:<br />
It is another GNOME player, developed by Novell. Its interface is quite similar to Rhythmbox. It supports both audio and video formats, and has a large plugin base. Some notable plugins are Youtube videos, Multimedia Key Support among others.</p>
<p>4.) VLC:<br />
VideoLAN Client or VLC has been a popular player due to the fact that it plays almost all known formats, with its large codec set. It is also known for its stream content playback, which was its original purpose. It is by far the preferred player by many for video playback.</p>
<p>5.) Brasero:<br />
The default CD/DVD burning application in most GNOME based distributions. It has a minimalist approach, so users of Nero and other softwares will feel completely at home.</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%2F23%2Fmultimedia-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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/23/multimedia-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/10/23/multimedia-on-linux/"  data-text="Multimedia on Linux" data-count="horizontal"></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/23/multimedia-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/10/23/multimedia-on-linux/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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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"></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>Howto install PlayOnLinux in Karmic-Jaunty-Intrepid-Hardy</title>
		<link>http://namhuy.org/blog/2010/09/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/</link>
		<comments>http://namhuy.org/blog/2010/09/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 07:13:32 +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[hardy]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[playonlinux]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=163</guid>
		<description><![CDATA[What are PlayOnLinux&#8217;s features? Here is a non-exhaustive list of the interesting points to know: * You don&#8217;t have to own a Windows® license to use PlayOnLinux. * PlayOnLinux is based on Wine, and so profits from all its possibilities &#8230; <a href="http://namhuy.org/blog/2010/09/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>What are PlayOnLinux&#8217;s features?</p>
<p>Here is a non-exhaustive list of the interesting points to know:</p>
<p>* You don&#8217;t have to own a Windows® license to use PlayOnLinux.<br />
* PlayOnLinux is based on Wine, and so profits from all its possibilities yet it keeps the user away from its complexity while exploiting some of its advanced functions.<br />
* PlayOnLinux is a free software.<br />
* PlayOnLinux uses Bash and Python</p>
<p>Nevertheless, PlayOnLinux has some defects, as every piece of software:</p>
<p>* Occasional performances decrease (image may be less fluid and graphics less detailed).<br />
* Not all games are supported. Nevertheless, you can use our manual installation module.</p>
<p>Install PlayOnLinux in Jaunty/Intrepid/Hardy</p>
<p><strong><em>Method 1 (Using repository)</em></strong></p>
<p>For Karmic Users</p>
<p>First you need to add the PlayOnLinux repository using the following command</p>
<p><strong>sudo wget http://deb.playonlinux.com/playonlinux_karmic.list -O /etc/apt/sources.list.d/playonlinux.list</strong></p>
<p>Update source list</p>
<p><strong>sudo apt-get update</strong></p>
<p>Install PlayOnLinux using the following command</p>
<p><strong>sudo apt-get install playonlinux</strong></p>
<p>For Jaunty Users</p>
<p>First you need to add the PlayOnLinux repository using the following command</p>
<p><strong>sudo wget http://deb.playonlinux.com/playonlinux_jaunty.list -O /etc/apt/sources.list.d/playonlinux.list</strong></p>
<p>Update source list</p>
<p><strong>sudo apt-get update</strong></p>
<p>Install PlayOnLinux using the following command</p>
<p><strong>sudo apt-get install playonlinux</strong></p>
<p>For Intrepid Users</p>
<p>First you need to add the PlayOnLinux repository using the following command</p>
<p><strong>sudo wget http://deb.playonlinux.com/playonlinux_intrepid.list -O /etc/apt/sources.list.d/playonlinux.list</strong></p>
<p>Update source list</p>
<p><strong>sudo apt-get update</strong></p>
<p>Install PlayOnLinux using the following command</p>
<p><strong>sudo apt-get install playonlinux</strong></p>
<p>For Hardy Users</p>
<p>First you need to add the PlayOnLinux repository using the following command</p>
<p><strong>sudo wget http://deb.playonlinux.com/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list</strong></p>
<p>Update source list</p>
<p><strong>sudo apt-get update</strong></p>
<p>Install PlayOnLinux using the following command</p>
<p><strong>sudo apt-get install playonlinux</strong></p>
<p><em><strong>Method 2 (Using .deb File)</strong></em></p>
<p>Download .deb file from here</p>
<p>Install .deb package using the following command</p>
<p><strong>sudo dpkg -i PlayOnLinux_3.7.deb</strong></p>
<p>If you want to know more about how to use check the o<a href="http://www.playonlinux.com/en/page-2-Documentation.html" target="_blank">fficial documentation</a></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%2F09%2F30%2Fhowto-install-playonlinux-in-karmic-jaunty-intrepid-hardy%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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/"></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/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/"  data-text="Howto install PlayOnLinux in Karmic-Jaunty-Intrepid-Hardy" data-count="horizontal"></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/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/09/30/howto-install-playonlinux-in-karmic-jaunty-intrepid-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure HTTP(WEB) Server in RHEL5</title>
		<link>http://namhuy.org/blog/2010/09/21/configure-httpweb-server-in-rhel5/</link>
		<comments>http://namhuy.org/blog/2010/09/21/configure-httpweb-server-in-rhel5/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 17:50:22 +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[http]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=129</guid>
		<description><![CDATA[Configure HTTP Server in RHEL5 1. To Configure HTTP Server, We should check httpd package installed or -&#62; To check , #rpm qa httpd* and press enter, if it is installed following line will show, httpd-2.2.3-11.el5 httpd-manual-2.2.3-11.el5 2.Then, go to this &#8230; <a href="http://namhuy.org/blog/2010/09/21/configure-httpweb-server-in-rhel5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Configure HTTP Server in RHEL5</strong></p>
<p>1. To Configure HTTP Server, We should check httpd package installed or</p>
<p>-&gt; To check , #rpm qa httpd* and press enter, if it is installed following line will show,</p>
<p>httpd-2.2.3-11.el5</p>
<p>httpd-manual-2.2.3-11.el5</p>
<p>2.Then, go to this path (/etc/httpd/conf), and open the configuration file called httpd.conf by using vi editor</p>
<p>#vi httpd.conf</p>
<p>3. come to bottom of file , then write script for documnt root folder</p>
<p>systax will be like this,</p>
<p>DocumentRoot /var/www/html/</p>
<p>servername localhost.localdomain.com</p>
<p>For Example</p>
<p>DocumentRoot /var/www/html/ -&gt; this where you saved your html file</p>
<p>ServerName localhost.localdomain.com -&gt; this is your webserver full name ex, linux.fedora.com</p>
<p>4.then save the fileby using :wq command</p>
<p>5. then start the httpd service by using thus command</p>
<p>#service httpd start</p>
<p>the service will start</p>
<p>6.Then , to check service is on or off normally when service start it will automatically on , if it is off by using this command</p>
<p>#chkconfig httpd on</p>
<p>to view ,</p>
<p>#chkconfig –list on ,then service willbe on.</p>
<p>7. Now. Create on html fileunder /var/www/html/ by using vi editor and save through :wq command.</p>
<p>for example ,</p>
<p>#vi hello.html</p>
<p>to check , open mozill browser and enter http://full domain name/webpage name</p>
<p>ex, http://192.168.1.1/hello.html</p>
<p>now it will show what you written in hello html file.</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%2F09%2F21%2Fconfigure-httpweb-server-in-rhel5%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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/21/configure-httpweb-server-in-rhel5/"></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/21/configure-httpweb-server-in-rhel5/"  data-text="Configure HTTP(WEB) Server in RHEL5" data-count="horizontal"></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/21/configure-httpweb-server-in-rhel5/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/09/21/configure-httpweb-server-in-rhel5/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/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/</link>
		<comments>http://namhuy.org/blog/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 11:48:55 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/</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/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/">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><strong><br />
To shutdown / poweroff Ubuntu Linux</strong></p>
<p>Type the command:</p>
<blockquote><p>sudo halt</p></blockquote>
<p>OR</p>
<blockquote><p>sudo shutdown -h now</p></blockquote>
<p>OR</p>
<blockquote><p>sudo shutdown -r now</p></blockquote>
<p>OR</p>
<blockquote><p>sudo init 6</p></blockquote>
<p><strong>To reboot Ubuntu Linux</strong></p>
<p>Type the command:</p>
<blockquote><p>sudo reboot</p></blockquote>
<p>More information can be found about these two commands by typing following commands (man page):</p>
<blockquote><p>man reboot<br />
man shutdown</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%2F2008%2F02%2F09%2Fterminal-or-shell-command-to-shutdown-or-reboot-ubuntu-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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-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/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/"  data-text="Terminal or shell command to shutdown or reboot Ubuntu Linux" data-count="horizontal"></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/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CVS server on Ubuntu</title>
		<link>http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/</link>
		<comments>http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 23:46:39 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[CVS server]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/</guid>
		<description><![CDATA[Install CVS files: sudo apt-get install cvs Install the CVS server: sudo apt-get install cvsd When prompted in the cvsd installation process for Repository, type in “/cvsrepo”. Now that the cvsd installation in complete goto /var/lib/cvsd or seeking for a &#8230; <a href="http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 85%">Install CVS files:<br />
<strong><span style="color: #ff0000">sudo apt-get install cvs</span></strong></span></p>
<p>Install the CVS server:<br />
<strong><span style="color: #ff0000">sudo apt-get install cvsd</span></strong></p>
<p>When prompted in the cvsd installation process for Repository, type in “/cvsrepo”.</p>
<p>Now that the cvsd installation in complete goto /var/lib/cvsd<br />
<span style="font-size: 85%">or seeking for a change(or if there is a new version of cvs updated):</span></p>
<p><span style="font-size: 85%"><strong><span style="color: #ff0000">sudo cvsd-buildroot /var/lib/cvsd</span></strong></span><br />
If the folder cvsrepo does not exist, then create it ..<br />
<strong><span style="color: #ff0000">sudo mkdir cvsrepo</span></strong><br />
<strong><span style="color: #ff0000">sudo chown -R cvsd:cvsd cvsrepo</span><br />
</strong><br />
and then initilize the repository<br />
<span style="color: #ff0000"><strong>sudo cvs -d /var/lib/cvsd/cvsrepo init</strong></span><br />
create a user and password<br />
<span style="color: #ff0000"><strong>sudo cvsd-passwd /var/lib/cvsd/cvsrepo +username</strong></span><br />
<span style="font-family: 宋体">sudo vi /</span><span style="font-family: Times New Roman"><strong><span style="color: #ff0000">/var/lib/cvsd/cvsrepo/CVSROOT/config</span></strong></span><br />
<span style="font-family: Times New Roman"><strong><span style="color: #ff0000">Change &#8220;SystemAuto=no&#8221;</span></strong><br />
</span><br />
<span style="font-family: Times New Roman"><span style="font-family: 宋体">Test</span></span><br />
<span style="font-family: Times New Roman"></span><br />
<span style="font-family: Times New Roman"><span style="color: #ff0000"><strong><span style="font-family: 宋体">cvs -d :pserver:username@localhost:/</span><span style="font-family: Times New Roman">cvsrepo login</span></strong></span></span></p>
<p><span style="font-family: Times New Roman"><span style="color: #ff0000"><strong><span style="font-family: 宋体">cvs -d :pserver:username@localhost:/</span><span style="font-family: Times New Roman">cvsrepo checkout .</span></strong></span></span></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%2F2008%2F02%2F05%2Fcvs-server-on-ubuntu%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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/2008/02/05/cvs-server-on-ubuntu/"></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/2008/02/05/cvs-server-on-ubuntu/"  data-text="CVS server on Ubuntu" data-count="horizontal"></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/2008/02/05/cvs-server-on-ubuntu/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOWTO: Monitoring your desktop Linux the easy way</title>
		<link>http://namhuy.org/blog/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/</link>
		<comments>http://namhuy.org/blog/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 05:01:27 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gkrellm]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/</guid>
		<description><![CDATA[There are lots of programs that help us to monitor our personal computer. They provide us with memory consumption, cpu usage, network statistics and lots more. In this article I’m going to introduce gkrellm. I’ve always had gkrellm running in &#8230; <a href="http://namhuy.org/blog/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are lots of programs that help us to monitor our personal computer. They provide us with memory consumption, cpu usage, network statistics and lots more. In this article I’m going to introduce gkrellm. I’ve always had gkrellm running in every desktop Linux. It’s very useful and provides essential information in real time. Installing gkrellm is just very easy, type:sudo apt-get install gkrellm</p>
<p>to run it, type</p>
<p>gkrellm &amp;</p>
<p>and you’ll get several info about your computer in real time.</p>
<p>Gkrellm supports themes, so the app can have several appearances. I always use the “invisible” theme, which is a transparent theme, so you can see the background. Very cool. To install a new theme (Ubuntu) go to</p>
<p><a href="http://www.muhri.net/gkrellm/" target="_blank">http://www.muhri.net/gkrellm/</a></p>
<p>and download the theme you like. Most of the themes come gzipped. Once you download the theme to your home directory, ungzipp it and move the whole directory to ~/.gkrellm2/themes.</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%2F2007%2F07%2F31%2Fhowto-monitoring-your-desktop-linux-the-easy-way%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" allowTransparency="true" style="border:none; overflow:hidden; width:80px; height:21px;"></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/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/"></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/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/"  data-text="HOWTO: Monitoring your desktop Linux the easy way" data-count="horizontal"></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/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/07/31/howto-monitoring-your-desktop-linux-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.408 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 06:26:31 -->
<!-- Compression = gzip -->
