<?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"
	>

<channel>
	<title>NamHuy</title>
	<atom:link href="http://namhuy.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://namhuy.org/blog</link>
	<description>Linux tips and tricks</description>
	<pubDate>Sun, 20 Apr 2008 19:55:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>add delete and switch user in ubuntu by command lines</title>
		<link>http://namhuy.org/blog/2008/04/20/add-delete-and-switch-user-in-ubuntu-by-command-lines/</link>
		<comments>http://namhuy.org/blog/2008/04/20/add-delete-and-switch-user-in-ubuntu-by-command-lines/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 19:55:33 +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[add switch delete user commands ubuntu linux]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=44</guid>
		<description><![CDATA[First, I want to add a user. So how to do it?
+ To add user:
sudo adduser &#60;username&#62;
to add password for your user
sudo passwd &#60;username&#62;
+ How can i switch from one user to another one? In this example, i want to switch from one user to another one.
su &#60;username&#62;
and type in your password to login
after that, [...]]]></description>
			<content:encoded><![CDATA[<p>First, I want to add a user. So how to do it?</p>
<p>+ To add user:</p>
<p style="padding-left: 30px;">sudo adduser &lt;username&gt;</p>
<p>to add password for your user</p>
<p style="padding-left: 30px;">sudo passwd &lt;username&gt;</p>
<p>+ How can i switch from one user to another one? In this example, i want to switch from one user to another one.</p>
<p style="padding-left: 30px;">su &lt;username&gt;</p>
<p>and type in your password to login</p>
<p>after that, you will be at a &#8216;$&#8217; prompt. type:</p>
<p style="padding-left: 30px;">bash</p>
<p>to get to a normal prompt.</p>
<p>+ How can I delete a user?</p>
<p style="padding-left: 30px;">sudo userdel &lt;username&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/04/20/add-delete-and-switch-user-in-ubuntu-by-command-lines/feed/</wfw:commentRss>
		</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[ubuntu command terminal shell shutdown reboot]]></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 ssh type the following command:

To shutdown / poweroff Ubuntu Linux
Type the command:
sudo halt
OR
sudo shutdown -h [...]]]></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>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/09/terminal-or-shell-command-to-shutdown-or-reboot-ubuntu-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Linux enable telnet service</title>
		<link>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/</link>
		<comments>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 00:00:50 +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[ubuntu telnet service]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/</guid>
		<description><![CDATA[What is telnet?
Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else&#8217;s computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user [...]]]></description>
			<content:encoded><![CDATA[<p>What is telnet?</p>
<p>Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else&#8217;s computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you log on as a regular user with whatever privileges you may have been granted to the specific application and data on that computer.</p>
<p>A Telnet command request looks like this (the computer name is made-up):</p>
<blockquote><p>telnet namhuy.org</p></blockquote>
<p>The result of this request would be an invitation to log on with a userid and a prompt for a password. If accepted, you would be logged on like any user who used this computer every day.</p>
<p>Telnet is most likely to be used by program developers and anyone who has a need to use specific applications or data located at a particular host computer.</p>
<p><strong> Install telnetd server</strong></p>
<blockquote><p>$ sudo apt-get install telnetd</p></blockquote>
<p>Restart inetd service:</p>
<blockquote><p>$ sudo /etc/init.d/openbsd-inetd restart</p></blockquote>
<p>You should now be able to telnet to the server from Windows or Linux desktop system to Ubentu Linux telnet server. Type the following command to connect to Telnet server:</p>
<blockquote><p>$ telnet ubentu-linux-server-ip<br />
$ telnet 192.168.1.200<br />
$ telnet ubentu.mydomain.com</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/feed/</wfw:commentRss>
		</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[ubuntu cvs 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 change(or if there is a new version of cvs updated):

sudo cvsd-buildroot /var/lib/cvsd
If the folder cvsrepo does not exist, then create it [...]]]></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><br />
<span style="font-size: 85%"></span><br />
<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 style="font-family: 宋体"></span></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>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/05/cvs-server-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Auto login in Ubuntu</title>
		<link>http://namhuy.org/blog/2008/01/25/auto-login-in-ubuntu/</link>
		<comments>http://namhuy.org/blog/2008/01/25/auto-login-in-ubuntu/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 03:30:08 +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>

		<guid isPermaLink="false">http://namhuy.org/blog/2008/01/25/auto-login-in-ubuntu/</guid>
		<description><![CDATA[I know that I’m the only user in my system and no one else will have access to it. I don’t see a point to have a login screen. With Windows, I know we can set to auto login using a userid. I was searching for similar thing in Ubuntu. Found one 
Go to terminal [...]]]></description>
			<content:encoded><![CDATA[<p>I know that I’m the only user in my system and no one else will have access to it. I don’t see a point to have a login screen. With Windows, I know we can set to auto login using a userid. I was searching for similar thing in Ubuntu. Found one <img src="http://blog.grprakash.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley" /></p>
<p>Go to terminal and type “sudo gdmsetup”. You will get login window preferences. Select Security tab; check “Enable automatic Login” and select the user. You are done! Simple ha? But why there is no shortcut in the</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/01/25/auto-login-in-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Securing Linux Server with IPKungfu</title>
		<link>http://namhuy.org/blog/2007/10/31/securing-linux-server-with-ipkungfu/</link>
		<comments>http://namhuy.org/blog/2007/10/31/securing-linux-server-with-ipkungfu/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 08:01:55 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Tips - Tricks]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/10/31/securing-linux-server-with-ipkungfu/</guid>
		<description><![CDATA[Ipkungfu or linuxkungfu is an iptables firewall script. With ipkungfu, you can easily configure as to which port of the server will be opened for connection, restrict who can access the server plus other security features. You can refer to the website of ipkungfu at http://www.linuxkungfu.org/ for the list of complete features.
Ipkungfu is available a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linuxkungfu.org/" target="_blank">Ipkungfu</a> or <a href="http://www.linuxkungfu.org/" target="_blank">linuxkungfu</a> is an iptables firewall script. With ipkungfu, you can easily configure as to which port of the server will be opened for connection, restrict who can access the server plus other security features. You can refer to the website of ipkungfu at <a href="http://www.linuxkungfu.org/" target="_blank">http://www.linuxkungfu.org/</a> for the list of complete features.</p>
<p>Ipkungfu is available a the <a href="http://namhuy.org/blog/category/open-source/linux/ubuntu/" target="_blank">Ubuntu</a> repositories. To install ubuntu,</p>
<blockquote><p># aptitude install ipkungfu</p></blockquote>
<p>Ipkungfu should now be working.</p>
<p>After installing ipkungfu, type<span id="more-39"></span></p>
<blockquote><p># ipkungfu</p></blockquote>
<p>to configure ipkungfu and answer “yes” if you are prompted.</p>
<blockquote><p>At this point, if you connecting remotely via ssh, make sure you are not disconnected because by default, ipkungfu is blocking all incoming connections. If you are working directly at the terminal, then there’s no problem. Open the file /etc/ipkungfu/services.conf</p></blockquote>
<p>and append ACCEPT beside the port that you want to open.</p>
<blockquote><p># Service Names and Protocols are lowercase, Targets are UPPERCASE.<br />
#<br />
# Example:<br />
# ssh:22:tcp:ACCEPT<br />
ftp-data:20:tcp<br />
ftp:21:tcp<br />
ssh:22:tcp:ACCEPT<br />
telnet:23:tcp<br />
smtp:25:tcp<br />
domain:53:tcp<br />
bootps:63:tcp<br />
http:80:tcp:ACCEPT<br />
pop3:110:tcp<br />
auth:113:tcp<br />
ntp:123:tcp<br />
imap:143:tcp<br />
https:443:tcp<br />
imaps:993:tcp<br />
pop3s:995:tcp<br />
socks:1080:tcp<br />
# Add your services below. The rule is:<br />
# ServiceName:ServicePort:Protocol[:ACCEPT|DROP|REJECT|or any valid target)] # extra comments<br />
#</p></blockquote>
<p>The, save the file. In the example, I have allowed connection for ports 22 (SSH) and 80 (HTTP). Open the file</p>
<blockquote><p>/etc/ipkungfu/ipkungfu.conf</p></blockquote>
<p>and configure it based on your server’s setting and your preferred setting.</p>
<blockquote><p># =========================================================================<br />
# $Id: ipkungfu.conf 57 2005-11-02 17:04:20Z s0undt3ch $<br />
# =========================================================================<br />
# Please read the README and FAQ for more information<br />
# Some distros (most notably Redhat) don&#8217;t have<br />
# everything we need in $PATH so we specify it here.<br />
# Make sure modprobe, iptables, and route are here,<br />
# as well as ordinary items such as echo and grep.</p>
<p># Default is as shown in the example below.<br />
#PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin</p>
<p># Set the path to ipkungfu&#8217;s runtime error log.<br />
# Default: /var/log/ipkungfu.log<br />
#IPKUNGFU_LOG=</p>
<p># Your external interface<br />
# This is the one that connects to the internet.<br />
# Ipkungfu will detect this if you don&#8217;t specify.<br />
EXT_NET=&#8221;eth0&#8243;<br />
#EXT_NET=&#8221;eth1&#8243;<br />
#EXT_NET=&#8221;ppp0&#8243;</p>
<p># Your internal interfaces, if any.  If you have more<br />
# than 1 internal interface, separate them with<br />
# spaces.  If you only have one interface, put &#8220;lo&#8221;<br />
# here. Default is auto-detected.<br />
#INT_NET=&#8221;eth0&#8243;<br />
#INT_NET=&#8221;eth1&#8243;<br />
#INT_NET=&#8221;lo&#8221;</p>
<p># IP Range of your internal network.  Use &#8220;127.0.0.1&#8243;<br />
# for a standalone machine.  Default is a reasonable<br />
# guess. Separate multiple ranges with spaces.<br />
#LOCAL_NET=&#8221;192.168.0.0/255.255.0.0 10.0.0.0/255.0.0.0&#8243;</p>
<p># Set this to 0 for a standalone machine, or 1 for<br />
# a gateway device to share an Internet connection.<br />
# Default is 1.<br />
GATEWAY=0</p>
<p># TCP ports you want to allow for incoming traffic<br />
# Don&#8217;t add ports here that you intend to forward.<br />
# This should be a list of tcp ports that have<br />
# servers listening on them on THIS machine,<br />
# separated by spaces. You can add port ranges<br />
# delimited by hyphens, such as &#8220;20-22&#8243;. Default<br />
# is none.<br />
#ALLOWED_TCP_IN=&#8221;22 80&#8243;</p>
<p># UDP ports to allow for incoming traffic<br />
# See the comments above for ALLOWED_TCP_IN<br />
#ALLOWED_UDP_IN=&#8221;"</p>
<p># Temporarily block future connection attempts from an<br />
# IP that hits these ports (If module is present)<br />
# Hits to these ports will be logged as &#8220;BADGUY&#8221; hits<br />
# regardless of log.conf settings.<br />
FORBIDDEN_PORTS=&#8221;135 137 139&#8243;</p>
<p># Drop all ping packets?<br />
# Set to 1 for yes, 0 for no. Default is no.<br />
BLOCK_PINGS=0</p>
<p># Possible values here are &#8220;DROP&#8221;, &#8220;REJECT&#8221;, or &#8220;MIRROR&#8221;<br />
#<br />
# &#8220;DROP&#8221; means your computer will not respond at all. &#8220;Stealth mode&#8221;<br />
#<br />
# &#8220;REJECT&#8221; means your computer will respond with a<br />
# message that the packet was rejected.<br />
#<br />
# &#8220;MIRROR&#8221;, if your kernel supports it, will swap the source and<br />
#   destination IP addresses, and send the offending packet back<br />
#   where it came from.  USE WITH EXTREME CAUTION! Only use this if you fully<br />
#   understand the consequences.<br />
#<br />
# The safest option, and the default in each case,,  is &#8220;DROP&#8221;. Don&#8217;t change<br />
# unless you fully understand this.<br />
# What to do with &#8216;probably malicious&#8217; packets<br />
#SUSPECT=&#8221;REJECT&#8221;<br />
SUSPECT=&#8221;DROP&#8221;</p>
<p># What to do with obviously invalid traffic<br />
# This is also the action for FORBIDDEN_PORTS<br />
#KNOWN_BAD=&#8221;REJECT&#8221;<br />
KNOWN_BAD=&#8221;DROP&#8221;</p>
<p># What to do with port scans<br />
#PORT_SCAN=&#8221;REJECT&#8221;<br />
PORT_SCAN=&#8221;DROP&#8221;</p>
<p># How should ipkungfu determine your IP address? The default<br />
# answer, &#8220;NONE&#8221;, will cause ipkungfu to not use the few<br />
# features that require it to know your external IP address.<br />
# This option is good for dialup users who run ipkungfu on<br />
# bootup, since dialup users rarely use the features that<br />
# require this, and the IP address for a dialup connection<br />
# generally isn&#8217;t known at bootup.  &#8220;AUTO&#8221; will cause<br />
# ipkungfu to automatically determine the IP address of<br />
# $EXT_NET when it is started.  If you have a static IP<br />
# address you can simply enter your IP address here.<br />
# If you do port forwarding and your ISP changes your IP<br />
# address, choose NONE here, or your port forwarding<br />
# will break when your IP address changes. Default is<br />
# &#8220;NONE&#8221;.<br />
#GET_IP=&#8221;NONE&#8221;<br />
#GET_IP=&#8221;AUTO&#8221;<br />
GET_IP=&#8221;202.92.148.101&#8243;</p>
<p># If the target for identd (113/tcp) is DROP, it can take<br />
# a long time to connect to some IRC servers. Set this to<br />
# 1 to speed up these connections with a negligible cost<br />
# to security.  Identd probes will be rejected with the<br />
# &#8216;reject-with-tcp-reset&#8217; option to close the connection<br />
# gracefully. If you want to actually allow ident probes,<br />
# and you&#8217;re running an identd, and you&#8217;ve allowed port<br />
# 113 in ALLOWED_TCP_IN, set this to 0. Default is 0.<br />
#DONT_DROP_IDENTD=0<br />
# Set this to 0 if you&#8217;re running ipkungfu on a machine<br />
# inside your LAN.  This will cause private IP addresses<br />
# coming in on $EXT_NET to be identified as a spoof,<br />
# which would be inaccurate on intra-LAN traffic<br />
# This will cause private IP addresses coming in on<br />
# $EXT_NET to be identified as a spoof. Default is 1.<br />
#DISALLOW_PRIVATE=1</p>
<p># For reasons unknown to me, ipkungfu sometimes causes<br />
# kernel panics when run at init time. This is my<br />
# attempt to work around that.  Ipkungfu will wait<br />
# the specified number of seconds before starting, to<br />
# let userspace/kernel traffic catch up before executing.<br />
# Default is 0.<br />
#WAIT_SECONDS=5</p>
<p># This option, if enabled, will cause ipkungfu to set<br />
# the default policy on all builtin chains in the filter<br />
# table to ACCEPT in the event of a failure.  This is<br />
# intended for remote administrators who may be locked<br />
# out of the firewall if ipkungfu fails.  A warning to<br />
# this effect will be echoed so that the situation can be<br />
# rectified quickly.  This is the same as running<br />
# ipkungfu with &#8211;failsafe.  Default is 0.<br />
#FAILSAFE=0</p>
<p># Configurable list of kernel modules to load at runtime.<br />
# If no list is provided, the default and needed ones,<br />
# ip_nat_irc, ip_conntrack_ftp ip_nat_ftp ip_conntrack_irc,<br />
# will still be loaded.<br />
#MODULES_LIST=&#8221;"</p></blockquote>
<p>The</p>
<blockquote><p>EXT_NET=&#8221;eth0&#8243;</p></blockquote>
<p>is you the active network interface.</p>
<blockquote><p>GATEWAY=0</p></blockquote>
<p>because I’m configuring a standalone server. I have also set the forbidden ports</p>
<blockquote><p>FORBIDDEN_PORTS=&#8221;135 137 139&#8243;</p></blockquote>
<p>I don’t block pings</p>
<blockquote><p>BLOCK_PINGS=0</p></blockquote>
<p>because the ping tool is an effective use to test for the connectivity of the server.<br />
For suspected, bad ports and port scan, I drop the packets.</p>
<blockquote><p>SUSPECT=&#8221;DROP&#8221;<br />
KNOWN_BAD=”DROP”<br />
PORT_SCAN=”DROP”</p></blockquote>
<p>If you have a static IP address, set GET_IP to your IP address.</p>
<blockquote><p>GET_IP=&#8221;202.92.148.101&#8243;</p></blockquote>
<p>The save the file. Restart by ipkungfu</p>
<blockquote><p>/etc/init.d/ipkungfu restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/10/31/securing-linux-server-with-ipkungfu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading to Ubuntu 7.10</title>
		<link>http://namhuy.org/blog/2007/10/16/upgrading-to-ubuntu-710/</link>
		<comments>http://namhuy.org/blog/2007/10/16/upgrading-to-ubuntu-710/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 22:18:41 +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[Gutsy Gibbon]]></category>

		<category><![CDATA[upgrading]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/10/16/upgrading-to-ubuntu-710/</guid>
		<description><![CDATA[When Ubuntu&#8217;s Gutsy Gibbon (7.10) is released on Thrusday there will be a mad rush to download updates and ISOs from Ubuntu&#8217;s servers. This article will explain various ways to upgrade to the latest and greatest by avoiding to download rush.
Upgrading to Ubuntu 7.10 now, before the rush
To upgrade to Ubuntu 7.10 now, before the [...]]]></description>
			<content:encoded><![CDATA[<p align="left" class="tableHeading">When Ubuntu&#8217;s Gutsy Gibbon (7.10) is released on Thrusday there will be a mad rush to download updates and ISOs from Ubuntu&#8217;s servers. This article will explain various ways to upgrade to the latest and greatest by avoiding to download rush.</p>
<p align="left" class="tableHeading"><strong>Upgrading to Ubuntu 7.10 now, before the rush<br />
</strong>To upgrade to Ubuntu 7.10 now, before the rush, by following these instructions:</p>
<blockquote>
<p align="left" class="tableHeading">1. Open a terminal window (<em>Applications -&gt; Accessories -&gt; Terminal</em>)<br />
2. Run the following command:<br />
<em><br />
update-manager -d </em>(after Oct 18th, remove the -d option)</p></blockquote>
<p align="left">This will upgrade to the release candidate, which is considered complete and stable. On Oct 18th, apply the updates and you will be running 7.10 final release.<span id="more-38"></span></p>
<p>Note: <em>This works only if you are running Ubuntu 7.04. If you are running an older version apply the upgrades in steps (for example, Ubuntu 6.10 -&gt; Ubuntu 7.04 -&gt; Ubuntu 7.10) using the update-manager. Otherwise you may break your Ubuntu installation. </em></p>
<p align="left"><strong>Installing Ubuntu 7.10 Release Canidate<br />
</strong>If you are not running Ubuntu download the release canidate ISO image and install it:<br />
<a href="http://releases.ubuntu.com/7.10/ubuntu-7.10-rc-desktop-i386.iso"><font color="#003399">http://releases.ubuntu.com/7.10/ubuntu-7.10-rc-desktop-i386.iso</font></a><br />
or <a href="http://releases.ubuntu.com/7.10/ubuntu-7.10-rc-desktop-amd64.iso"><font color="#003399">http://releases.ubuntu.com/7.10/ubuntu-7.10-rc-desktop-amd64.iso</font></a></p>
<p>After installing Ubuntu using the release canidate ISO, apply updates on Oct 18th and you will be running 7.10 final release.</p>
<p align="left"><strong>Downloading Ubuntu 7.10 Final Release </strong><br />
If you want to wait until the final release is available:<br />
Try downloading from an <a href="http://www.thelinuxstore.ca/static/ubuntu_mirrors.html"><font color="#003399">Ubuntu mirror</font></a><br />
Download the torrent, watch <a href="http://www.linuxtracker.org/browse.php?cat=30"><font color="#003399">LinuxTracker.org </font></a></p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/10/16/upgrading-to-ubuntu-710/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HOWTO: Playing DVDs in Ubuntu Edgy Eft</title>
		<link>http://namhuy.org/blog/2007/10/05/howto-playing-dvds-in-ubuntu-edgy-eft/</link>
		<comments>http://namhuy.org/blog/2007/10/05/howto-playing-dvds-in-ubuntu-edgy-eft/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 17:11:54 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Tips - Tricks]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[dvds]]></category>

		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/10/05/howto-playing-dvds-in-ubuntu-edgy-eft/</guid>
		<description><![CDATA[To play most DVDs you’ll need the libdvdread3 package installed. Install it, and then run the following:
sudo /usr/share/doc/libdvdread3/install-css.sh
In other distros the install-css.sh perhaps is inside the examples directory like this:
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
]]></description>
			<content:encoded><![CDATA[<p>To play most DVDs you’ll need the libdvdread3 package installed. Install it, and then run the following:</p>
<blockquote><p>sudo /usr/share/doc/libdvdread3/install-css.sh</p></blockquote>
<p>In other distros the install-css.sh perhaps is inside the examples directory like this:</p>
<blockquote><p>sudo /usr/share/doc/libdvdread3/examples/install-css.sh</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/10/05/howto-playing-dvds-in-ubuntu-edgy-eft/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to use rar files on ubuntu</title>
		<link>http://namhuy.org/blog/2007/08/18/how-to-use-rar-files-on-ubuntu/</link>
		<comments>http://namhuy.org/blog/2007/08/18/how-to-use-rar-files-on-ubuntu/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 02:10: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[rar]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/08/18/how-to-use-rar-files-on-ubuntu/</guid>
		<description><![CDATA[Open a terminal window and type in:
 sudo apt-get install rar
sudo ln -fs /usr/bin/rar /usr/bin/unrar
After that you can find Archive Manager in the Gnome menu under Applications -&#62; Accessories.
]]></description>
			<content:encoded><![CDATA[<p>Open a terminal window and type in:</p>
<blockquote><p> sudo apt-get install rar<br />
sudo ln -fs /usr/bin/rar /usr/bin/unrar</p></blockquote>
<p>After that you can find Archive Manager in the Gnome menu under Applications -&gt; Accessories.</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/08/18/how-to-use-rar-files-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to install nmap into ubuntu</title>
		<link>http://namhuy.org/blog/2007/08/16/how-to-install-nmap-into-ubuntu/</link>
		<comments>http://namhuy.org/blog/2007/08/16/how-to-install-nmap-into-ubuntu/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 20:30:49 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Tips - Tricks]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[nmap ubuntu howto]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2007/08/16/how-to-install-nmap-into-ubuntu/</guid>
		<description><![CDATA[open a terminal and enter:
apt-get install nmap
]]></description>
			<content:encoded><![CDATA[<p>open a terminal and enter:</p>
<p>apt-get install nmap</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2007/08/16/how-to-install-nmap-into-ubuntu/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
