<?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; Ubuntu</title>
	<atom:link href="http://namhuy.org/blog/category/open-source/linux/ubuntu/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>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" 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/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"></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>Install all programs on a newly installed ubuntu system</title>
		<link>http://namhuy.org/blog/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/</link>
		<comments>http://namhuy.org/blog/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 20:51:17 +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[dpkg]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=259</guid>
		<description><![CDATA[If you&#8217;re running Ubuntu there is a neat way of installing all of your programs on a newly installed Ubuntu system. Run the following command on the &#8216;old&#8217; Ubuntu installation. &#8220;dpkg &#8211;get-selections &#62; installed-software&#8221; You&#8217;ll end up with a file &#8230; <a href="http://namhuy.org/blog/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Ubuntu there is a neat way of installing all of your programs on a newly installed Ubuntu system.<br />
Run the following command on the &#8216;old&#8217; Ubuntu installation.<br />
&#8220;dpkg &#8211;get-selections &gt; installed-software&#8221;</p>
<p>You&#8217;ll end up with a file called installed-software. Copy the file to a usb key and copy it to a location on your backtrack machine.<br />
Run: &#8220;dpkg &#8211;set-selections &lt; installed-software&#8221; in the directory where you copied the file installed-software.<br />
Finally the &#8220;sudo apt-get dselect-upgrade&#8221; commands completes all of this. Be aware that is might take while until the installtion finishes.</p>
<p>If the above doesn&#8217;t work, you probably do not have dselect installed.<br />
In that case, run &#8220;apt-get install deselect&#8221;<br />
The above instructions also work on BackTrack 5</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%2F07%2F22%2Finstall-all-programs-on-a-newly-installed-ubuntu-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/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-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/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/"  data-text="Install all programs on a newly installed ubuntu 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/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2011/07/22/install-all-programs-on-a-newly-installed-ubuntu-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install tomcat 7 from source in ubuntu 11.04 manually ?</title>
		<link>http://namhuy.org/blog/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/</link>
		<comments>http://namhuy.org/blog/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 23:12:02 +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[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[timcat]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=230</guid>
		<description><![CDATA[In this post, i will show you how to install tomcat 7 in ubuntu 11.04. 1. First download apache tomcat 7 linux version zipped file, then extract it. 2. now u place the tomcat wherever you like using following command &#8230; <a href="http://namhuy.org/blog/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this post, i will show you how to install tomcat 7 in ubuntu 11.04.</p>
<p>1. First download apache tomcat 7 linux version zipped file, then extract it.</p>
<p>2. now u place the tomcat wherever you like using following command</p>
<p><strong>sudo mv apachetomcat /usr/local/tomcat</strong><br />
<span id="more-230"></span><br />
3. make *.sh file executable inside /usr/local/tomcat/bin folder</p>
<p><strong>sudo chmod +x *.sh</strong></p>
<p>make sure you are inside the /usr/local/tomcat/bin folder..</p>
<p>4. you can install open jdk and jre or sun jdk and jre.</p>
<p>define JAVA_HOME path in .bashrc file or /etc/environment file</p>
<p>export JAVA_HOME=/usr/lib/jvm/sun-java-jdk…in my case..check yours</p>
<p>5. now write the script to run the tomcat at startup..</p>
<p>by creating a file tomcat in /etc/init.d directory</p>
<p><strong>sudo nano /etc/init.d/tomcat</strong></p>
<p>after that</p>
<p>in tomcat script file..</p>
<p>write script to start stop and restart</p>
<p>case “$1″ in</p>
<p>start)</p>
<p><strong>sh /etc/local/tomcat/bin/startup.sh</strong></p>
<p>;;</p>
<p>stop)</p>
<p><strong>sh /etc/local/tomcat/bin/shutdown.sh</strong></p>
<p>;;</p>
<p>restart)</p>
<p><strong>sh /etc/local/tomcat/bin/shutdown.sh</strong></p>
<p><strong>sh /etc/local/tomcat/bin/startup.sh</strong></p>
<p>;;</p>
<p><strong>esac</strong></p>
<p><strong>exit 0</strong></p>
<p>6. to run this tomcat script at startup, you can run this script in rc.local script which runs at startup or rc0 which is run at rebooting or rc6 which runs at shutdown..</p>
<p>for automatic handling by ubuntu,you can run following command</p>
<p><strong>sudo update-rc.d tomcat defaults</strong></p>
<p>it may show some warning message like LSB ..but you can ignore it because it is just a comment to write in any script in standard pattern.</p>
<p>reboot you computer or just login logout, you are ready to run your apache tomcat 7..</p>
<p><strong>issue:: http://localhost:8080</strong></p>
<p>for manager and host manager application of tomcat 7, you need to write following code..</p>
<p><strong>sudo nano /usr/local/tomcat/conf/tomcat-users.xml</strong></p>
<p>That’s all done..</p>
<p>For check..some commands can be useful..</p>
<p><strong>echo $JAVA_HOME</strong></p>
<p><strong>sudo update-alternatives –config java</strong></p>
<p><strong>sudo update-alternatives –config javac</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%2F2011%2F07%2F16%2Fhow-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually%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/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/"></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/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/"  data-text="How to install tomcat 7 from source in ubuntu 11.04 manually ?" 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/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2011/07/16/how-to-install-tomcat-7-from-source-in-ubuntu-11-04-manually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing Ubuntu Cache Memory</title>
		<link>http://namhuy.org/blog/2011/07/16/clearing-ubuntu-cache-memory/</link>
		<comments>http://namhuy.org/blog/2011/07/16/clearing-ubuntu-cache-memory/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 23:09:17 +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[cache]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=228</guid>
		<description><![CDATA[Did a search for help on clearing up Ubuntu’s Cache System as my system keeps using up my memory for cache system. Though using up my memory for cache doesn’t actually hinder my system’s operation, I find it quite irritating &#8230; <a href="http://namhuy.org/blog/2011/07/16/clearing-ubuntu-cache-memory/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Did a search for help on clearing up Ubuntu’s Cache System as my system keeps using up my memory for cache system. Though using up my memory for cache doesn’t actually hinder my system’s operation, I find it quite irritating to see it being used up even though I have 8GB of RAM. This command should work for most Debian based Linux Operating System, but I haven’t try them as I don’t own any now. Here is the link to the document.<br />
<span id="more-228"></span><br />
Before using the below commands, do a sync to flush any cache data to the disk so data that’s required isn’t lost.</p>
<p>To free pagecache:<br />
echo 1 &gt; /proc/sys/vm/drop_caches</p>
<p>To free dentries and inodes:<br />
echo 2 &gt; /proc/sys/vm/drop_caches</p>
<p>To free pagecache, dentries and inodes:<br />
echo 3 &gt; /proc/sys/vm/drop_caches</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%2F07%2F16%2Fclearing-ubuntu-cache-memory%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/2011/07/16/clearing-ubuntu-cache-memory/"></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/07/16/clearing-ubuntu-cache-memory/"  data-text="Clearing Ubuntu Cache Memory" 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/2011/07/16/clearing-ubuntu-cache-memory/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2011/07/16/clearing-ubuntu-cache-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a User on Ubuntu Server</title>
		<link>http://namhuy.org/blog/2010/12/22/add-a-user-on-ubuntu-server/</link>
		<comments>http://namhuy.org/blog/2010/12/22/add-a-user-on-ubuntu-server/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 01:15:38 +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[adduser]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[useradd]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=193</guid>
		<description><![CDATA[Ubuntu Server is like any Linux variety, and has full multi-user capabilities, and a common task on any server is adding users. useradd The useradd command will let you add a new user easily from the command line: useradd This &#8230; <a href="http://namhuy.org/blog/2010/12/22/add-a-user-on-ubuntu-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu Server is like any Linux variety, and has full multi-user capabilities, and a common task on any server is adding users.</p>
<p><strong>useradd</strong></p>
<p>The useradd command will let you add a new user easily from the command line:</p>
<blockquote><p>useradd</p></blockquote>
<p>This command adds the user, but without any extra options your user won’t have a password or a home directory.</p>
<p>You can use the -d option to set the home directory for the user. The -m option will force useradd to create the home directory. We’ll try creating a user account with those options, and then use the passwd command to set the password for the account. You can alternatively set a password using -p on the useradd command, but I prefer to set the password using passwd.</p>
<blockquote><p>sudo useradd -d /home/testuser -m testuser<br />
sudo passwd testuser</p></blockquote>
<p><strong>adduser</strong></p>
<p>The adduser command is even easier than the useradd command, because it prompts you for each piece of information. I find it slightly funny that there are two virtually identically named commands that do the same thing, but that’s linux for you. Here’s the syntax:</p>
<blockquote><p>adduser</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%2F12%2F22%2Fadd-a-user-on-ubuntu-server%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/12/22/add-a-user-on-ubuntu-server/"></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/12/22/add-a-user-on-ubuntu-server/"  data-text="Add a User on Ubuntu Server" 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/12/22/add-a-user-on-ubuntu-server/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/12/22/add-a-user-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to add proftpd user to /var/www</title>
		<link>http://namhuy.org/blog/2010/11/18/how-to-add-proftpd-user-to-varwww/</link>
		<comments>http://namhuy.org/blog/2010/11/18/how-to-add-proftpd-user-to-varwww/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 01:43:54 +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[chown]]></category>
		<category><![CDATA[proftpd]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=191</guid>
		<description><![CDATA[Here is how you add an user to ftp server on Ubuntu LAMP (Linux, Apache, MySQL, PHP). chown username /var/www/username or chown username /var/www]]></description>
			<content:encoded><![CDATA[<p>Here is how you add an user to ftp server on Ubuntu LAMP (Linux, Apache, MySQL, PHP).</p>
<p>chown username /var/www/username</p>
<p>or chown username /var/www</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%2F18%2Fhow-to-add-proftpd-user-to-varwww%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/11/18/how-to-add-proftpd-user-to-varwww/"></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/18/how-to-add-proftpd-user-to-varwww/"  data-text="how to add proftpd user to /var/www" 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/11/18/how-to-add-proftpd-user-to-varwww/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/11/18/how-to-add-proftpd-user-to-varwww/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu basic commands</title>
		<link>http://namhuy.org/blog/2010/11/12/ubuntu-basic-commands/</link>
		<comments>http://namhuy.org/blog/2010/11/12/ubuntu-basic-commands/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 20:08:54 +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[copy]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[move]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=187</guid>
		<description><![CDATA[These are some basic ubuntu commands you will have use at some point of time. How to make a new folder ? sudo mkdir /home/namhuy/foler How to delete a file/folder ? sudo rm /media/disk/file.extension sudo rm -rf /media/disk/directory How to &#8230; <a href="http://namhuy.org/blog/2010/11/12/ubuntu-basic-commands/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>These are some basic ubuntu commands you will have use at some point of time.</p>
<p>How to make a new folder ?<br />
sudo mkdir /home/namhuy/foler</p>
<p>How to delete a file/folder ?<br />
sudo rm /media/disk/file.extension<br />
sudo rm -rf /media/disk/directory</p>
<p>How to to copy files ?<br />
sudo cp <file> /usr/local/base/..</p>
<p>How to to move files ?<br />
sudo mv </file><file> /usr/local/base/..</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%2F11%2F12%2Fubuntu-basic-commands%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/11/12/ubuntu-basic-commands/"></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/12/ubuntu-basic-commands/"  data-text="ubuntu basic commands" 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/11/12/ubuntu-basic-commands/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/11/12/ubuntu-basic-commands/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" 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/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"></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>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>List of things to be done after every Ubuntu install</title>
		<link>http://namhuy.org/blog/2010/10/17/list-of-things-to-be-done-after-every-ubuntu-install/</link>
		<comments>http://namhuy.org/blog/2010/10/17/list-of-things-to-be-done-after-every-ubuntu-install/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 08:03:23 +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[drivers]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=168</guid>
		<description><![CDATA[Here is a list of things that I must do every time I upgrade my Ubuntu version. Create root password Install multimedia codecs to play songs and other files Install VLC and Mplayer Install new graphic and sound drivers if &#8230; <a href="http://namhuy.org/blog/2010/10/17/list-of-things-to-be-done-after-every-ubuntu-install/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a list of things that I must do every time I upgrade my Ubuntu version.</p>
<ol>
<li>Create root password</li>
<li>Install multimedia codecs to play songs and other files</li>
<li>Install VLC and Mplayer</li>
<li>Install new graphic and sound drivers if available</li>
<li>Install new version of Mozilla Firefox</li>
<li>Install Gimp (Ubuntu 10.04 LTS)</li>
<li>Install Mozilla Thunderbird</li>
<li>Install Microsoft Windows Fonts</li>
<li>Install Skype</li>
<li>Install Xorg-edit</li>
<li>Install TeamViewer</li>
</ol>
<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%2F17%2Flist-of-things-to-be-done-after-every-ubuntu-install%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/17/list-of-things-to-be-done-after-every-ubuntu-install/"></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/17/list-of-things-to-be-done-after-every-ubuntu-install/"  data-text="List of things to be done after every Ubuntu install" 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/17/list-of-things-to-be-done-after-every-ubuntu-install/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div>]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/10/17/list-of-things-to-be-done-after-every-ubuntu-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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