<?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>One day at a time &#187; system</title>
	<atom:link href="http://www.terencekwan.com/category/system/feed" rel="self" type="application/rss+xml" />
	<link>http://www.terencekwan.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 14 Mar 2010 18:28:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mac OS setup apache and php</title>
		<link>http://www.terencekwan.com/mac-os-setup-apache-and-php</link>
		<comments>http://www.terencekwan.com/mac-os-setup-apache-and-php#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:42:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=108</guid>
		<description><![CDATA[here is the steps to setup apache and php in your Mac OS X.


Apache and PHP already came with your OS. You just need to enable it.
Go to the apple icon on the menu bar.  Select &#8220;System Preferences&#8230;&#8221; -&#62; &#8220;Internet &#38; Network&#8221; -&#62; &#8220;Sharing&#8221;
Enable &#8220;Web Sharing&#8221; by click on it
You just enabled the web server. [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/mac-os-setup-apache-and-php/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>How to use ftp in a shell script</title>
		<link>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script</link>
		<comments>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:51:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=102</guid>
		<description><![CDATA[First way:
#!/bin/sh
HOST='ftp.users.qwest.net'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -n $HOST &#60;&#60;END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
Second way:
#!/bin/sh
USER=userid
PASSWD=userpw
ftp -n f2dev &#60;&#60;SCRIPT
user $USER $PASSWD
binary
get some.file
quit
SCRIPT
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/how-to-use-ftp-in-a-shell-script/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HAProxy &#8211; a load balancing tool</title>
		<link>http://www.terencekwan.com/haproxy-a-load-balancing-tool</link>
		<comments>http://www.terencekwan.com/haproxy-a-load-balancing-tool#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:51:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=100</guid>
		<description><![CDATA[If you are worry about load balancing. The first thing you should tried is HAProxy.
http://haproxy.1wt.eu/
However, it is not a sure thing. Need some testing on it.
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/haproxy-a-load-balancing-tool/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Install Linux From External USB hard drive</title>
		<link>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive</link>
		<comments>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:49:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=98</guid>
		<description><![CDATA[After getting that new USB external hard drive case and installing that new hard drive, you need to get it installed and working with your Linux box. These instructions worked for me on Ubuntu and they should work for those with other distributions.
After putting the drive in the case, connecting it to power and plugging [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/install-linux-from-external-usb-hard-drive/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find all large files on a Linux machine</title>
		<link>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine</link>
		<comments>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:49:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=96</guid>
		<description><![CDATA[Finds all files over 20,000KB (roughly 20MB) in size and presents their names and size in a human readable format:
find / -type f -size +20000k -exec ls -lh {} \; &#124; awk '{ print $9 ": " $5 }'
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/find-all-large-files-on-a-linux-machine/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Yum Hangs</title>
		<link>http://www.terencekwan.com/yum-hangs</link>
		<comments>http://www.terencekwan.com/yum-hangs#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:48:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=94</guid>
		<description><![CDATA[Sometime yum takes a long time to finish, it is because there is a lot of old temporary rpm database is created.
To fix the problem, just do the following:
rm -f /var/lib/rpm/__db.*
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/yum-hangs/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Adding a second IP address to Fedora Linux</title>
		<link>http://www.terencekwan.com/adding-a-second-ip-address-to-fedora-linux</link>
		<comments>http://www.terencekwan.com/adding-a-second-ip-address-to-fedora-linux#comments</comments>
		<pubDate>Tue, 06 Jan 2009 23:19:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=35</guid>
		<description><![CDATA[http://www.oclc.org/support/documentation/ezproxy/technote/2l.htm
These are the steps to add the second IP address to your existing network adapter under non-SUSE distributions of Linux.

 Become root on your system, either by logging into that account or using the su command.
Change your current directory to the /etc/sysconfig/network-scripts directory with the command:

cd /etc/sysconfig/network-scripts


 Check for existing network adapters with the command:
 [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/adding-a-second-ip-address-to-fedora-linux/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>sendmail 451 Name server timeout</title>
		<link>http://www.terencekwan.com/sendmail-451-name-server-timeout</link>
		<comments>http://www.terencekwan.com/sendmail-451-name-server-timeout#comments</comments>
		<pubDate>Fri, 17 Oct 2008 16:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=17</guid>
		<description><![CDATA[This is something related to sendmail IPv6 support.

cd /etc/mail
sendmail.mc and add the following at the end of the file:
define(`confBIND_OPTS&#8217;, `WorkAroundBrokenAAAA&#8217;)dnl
type make
restart sendmail

]]></description>
		<wfw:commentRss>http://www.terencekwan.com/sendmail-451-name-server-timeout/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>hadoop hbase ec2 installation</title>
		<link>http://www.terencekwan.com/hadoop-hbase-ec2-installation</link>
		<comments>http://www.terencekwan.com/hadoop-hbase-ec2-installation#comments</comments>
		<pubDate>Sun, 12 Oct 2008 05:18:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hbase]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=15</guid>
		<description><![CDATA[Here is the steps by steps hbase ec2 installation.

start elasticfox

create a &#8220;keypairs&#8221;
on your &#8220;security groups&#8221; default group, add port 50000-51000 (for hadoop) and port 60000-61000 (for hbase)
search for hbase AMI (ami-4de30724)
launch the install with the newly create keypair and default group permission


on you desktop linux/window machine do: ssh -i &#60;keypair.pem&#62; root@&#60;your new instance IP&#62;

replace the [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/hadoop-hbase-ec2-installation/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>file /etc/avahi/avahi-autoipd.action from install of avahi-autoipd-0.6.22-10.fc9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386</title>
		<link>http://www.terencekwan.com/file-etcavahiavahi-autoipdaction-from-install-of-avahi-autoipd-0622-10fc9i386-conflicts-with-file-from-package-avahi-0617-1fc7i386</link>
		<comments>http://www.terencekwan.com/file-etcavahiavahi-autoipdaction-from-install-of-avahi-autoipd-0622-10fc9i386-conflicts-with-file-from-package-avahi-0617-1fc7i386#comments</comments>
		<pubDate>Wed, 01 Oct 2008 05:34:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=13</guid>
		<description><![CDATA[Today, try to do a &#8220;yum update&#8221;.
It complains about:
Transaction Check Error:
file /etc/avahi/avahi-autoipd.action from install of avahi-autoipd-0.6.22-10.f
c9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386
file /usr/sbin/avahi-autoipd from install of avahi-autoipd-0.6.22-10.fc9.i386
conflicts with file from package avahi-0.6.17-1.fc7.i386
file /usr/share/man/man8/avahi-autoipd.8.gz from install of avahi-autoipd-0.6.
22-10.fc9.i386 conflicts with file from package avahi-0.6.17-1.fc7.i386
To fix it, do the following:
su
rpm -e &#8211;noscripts avahi-0.6.17-1.fc7.i386
yum update
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/file-etcavahiavahi-autoipdaction-from-install-of-avahi-autoipd-0622-10fc9i386-conflicts-with-file-from-package-avahi-0617-1fc7i386/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
