<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.5" -->
<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/"
	>

<channel>
	<title>Open Tech Notes</title>
	<link>http://zft.backupdiy.com</link>
	<description>All about open sources, like linux, apache, php, Zend Framework, MySQL, CentOS, Apachefriends...</description>
	<pubDate>Wed, 07 May 2008 05:32:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>
	<language>en</language>
			<item>
		<title>Let Apachefriends supports Pspell extension for PHP 5.2.5</title>
		<link>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/</link>
		<comments>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 21:45:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
	<dc:subject>Apachefriends</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/</guid>
		<description><![CDATA[Apachefriends is great project that facilitate the configuration of LAMP,&#160; but it&#8217;s latest version(1.6.5a) does not support Pspell extension for PHP which is required in our development team.
Fortunately, Apachefriends project provides a development package so that I can take advantage of it to re-compile the PHP. My Linux version is CentOS 4.5 final, all the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apachefriends.org">Apachefriends</a> is great project that facilitate the configuration of LAMP,&nbsp; but it&#8217;s latest version(1.6.5a) does not support Pspell extension for PHP which is required in our development team.</p>
<p>Fortunately, Apachefriends project provides a <a href="http://www.apachefriends.org/en/xampp-linux.html">development package</a> so that I can take advantage of it to re-compile the PHP. My Linux version is CentOS 4.5 final, all the steps are pretty straightforward:</p>
<p>1) Download latest apachefriends packages (both working package and development package) and install them.<br />
2) Download PHP 5.2.5 and untar it<br />
3) yum install pspell-devel<br />
4) Download libbz2 and install it<br />
5) Hack the PHP configuration<br />
&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp; This is the original apachefriends&#8217;s php configuration</p>
<p>./configure &#8211;prefix=/opt/lampp &#8211;with-apxs2=/opt/lampp/bin/apxs &#8211;with-config-file-path=/opt/lampp/etc &#8211;with-mysql=/opt/lampp &#8211;enable-inline-optimization &#8211;disable-debug &#8211;enable-bcmath &#8211;enable-calendar &#8211;enable-ctype &#8211;enable-dbase &#8211;enable-discard-path &#8211;enable-exif &#8211;enable-filepro &#8211;enable-force-cgi-redirect &#8211;enable-ftp &#8211;enable-gd-imgstrttf &#8211;enable-gd-native-ttf &#8211;with-ttf &#8211;enable-magic-quotes &#8211;enable-memory-limit &#8211;enable-shmop &#8211;enable-sigchild &#8211;enable-sysvsem &#8211;enable-sysvshm &#8211;enable-track-vars &#8211;enable-trans-sid &#8211;enable-wddx &#8211;enable-yp &#8211;with-ftp &#8211;with-gdbm=/opt/lampp &#8211;with-jpeg-dir=/opt/lampp &#8211;with-png-dir=/opt/lampp &#8211;with-freetype-dir=/opt/lampp &#8211;without-xpm &#8211;with-zlib=yes &#8211;with-zlib-dir=/opt/lampp &#8211;with-openssl=/opt/lampp &#8211;with-expat-dir=/opt/lampp &#8211;enable-xslt=/opt/lampp &#8211;with-xsl=/opt/lampp &#8211;with-dom=/opt/lampp &#8211;with-ldap=/opt/lampp &#8211;with-ncurses=/opt/lampp &#8211;with-gd &#8211;with-imap-dir=/opt/lampp &#8211;with-imap-ssl &#8211;with-imap=/opt/lampp &#8211;with-gettext=/opt/lampp &#8211;with-mssql=/opt/lampp &#8211;with-sybase=/opt/lampp &#8211;with-interbase=shared,/opt/interbase &#8211;with-mysql-sock=/opt/lampp/var/mysql/mysql.sock &#8211;with-oci8=shared,instantclient,/opt/lampp/lib/instantclient &#8211;with-mcrypt=/opt/lampp &#8211;with-mhash=/opt/lampp &#8211;enable-sockets &#8211;enable-mbstring=all &#8211;with-curl=/opt/lampp &#8211;enable-mbregex &#8211;enable-zend-multibyte &#8211;enable-exif &#8211;with-bz2=/opt/lampp &#8211;with-sqlite=shared,/opt/lampp &#8211;with-libxml-dir=/opt/lampp &#8211;enable-soap &#8211;enable-pcntl &#8211;with-mysqli=/opt/lampp/bin/mysql_config &#8211;with-mime-magic &#8211;with-pgsql=shared,/opt/lampp/postgresql &#8211;with-iconv &#8211;enable-dio &#8211;with-pdo-mysql=/opt/lampp &#8211;with-pdo-pgsql=/opt/lampp/postgresql &#8211;with-pdo-sqlite &#8211;with-ming=shared,/opt/lampp</p>
<p>Because we only use MySQL , so I remove other database support from it such as:</p>
<p>&#8211;with-pdo-pgsql=/opt/lampp/postgresql<br />
&#8211;with-pgsql=shared,/opt/lampp/postgresql <br />
&#8211;with-oci8=shared,instantclient,/opt/lampp/lib/instantclient<br />
&#8211;with-interbase=shared,/opt/interbase</p>
<p>Of course, in order to support Pspell extension, add this at the end</p>
<p>&#8211;with-pspell=/usr</p>
<p>6) re-compile the php</p>
<p>Done! &nbsp;&nbsp;  
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2008/01/11/let-apachefriends-supports-pspell-extension-for-php-525/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;ip route&#8221; causes problem</title>
		<link>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/</link>
		<comments>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 08:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/</guid>
		<description><![CDATA[After I re setup the server, there are two weird things happened.
1) I use SSH remotely access the server, after I input the password, it took me about 20 seconds to login in.
2) some clients complained that they could not access the website whereas others could.
After dinner, I came across my friend&#8217;s home, in his [...]]]></description>
			<content:encoded><![CDATA[<p>After I re setup the server, there are two weird things happened.</p>
<p>1) I use SSH remotely access the server, after I input the password, it took me about 20 seconds to login in.<br />
2) some clients complained that they could not access the website whereas others could.</p>
<p>After dinner, I came across my friend&#8217;s home, in his computer, the website could not be accessible.</p>
<p>Then, I was thinking &#8230; he used different ISP, the ip address in his computer starts with 64 whereas mine starts with 24.</p>
<p>I login the server again and type &quot;ip route&quot; and found there was an entry forward all ip start with 64 to one special ip address.(who set this?)</p>
<p>After I deleted this ip route, the two problems above are gone!</p>
<p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/11/22/ip-route-causes-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>post commit</title>
		<link>http://zft.backupdiy.com/2007/10/16/post-commit/</link>
		<comments>http://zft.backupdiy.com/2007/10/16/post-commit/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 21:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/10/16/post-commit/</guid>
		<description><![CDATA[Programmers require that they want see the effect right after they commit their codes and fortunately the SVN system provides such a great tool to do so.
Under /repository name/hooks/, there is a file called post-commit.tmpl, it is a template file that you can revise it to fit your needs.
Upon the requirements from programmers, I have [...]]]></description>
			<content:encoded><![CDATA[<p>Programmers require that they want see the effect right after they commit their codes and fortunately the SVN system provides such a great tool to do so.</p>
<p>Under /repository name/hooks/, there is a file called post-commit.tmpl, it is a template file that you can revise it to fit your needs.</p>
<p>Upon the requirements from programmers, I have implemented two post commit scripts:</p>
<p>1) the website and the SVN server&nbsp; reside in the same machine<br />
2) the website and the SVN server&nbsp; reside in two different machine</p>
<p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/10/16/post-commit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL Could not start on Apache Friends</title>
		<link>http://zft.backupdiy.com/2007/09/02/mysql-could-not-start-on-apache-friends/</link>
		<comments>http://zft.backupdiy.com/2007/09/02/mysql-could-not-start-on-apache-friends/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 07:36:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>MySQL</dc:subject>
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/09/02/mysql-could-not-start-on-apache-friends/</guid>
		<description><![CDATA[Today, I setup security for&#160; Apache Friends package on one of my CentOS (5.0 final) servers. After I followed the command:
./lampp security
setup password for the lampp demo web page
turn off access Mysql via the network
Then, the Mysql server could not start. Even I use command:
./lampp startmysql
it said
Mysql Starting and exit to command line.
(note: the apache [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I setup security for&nbsp; Apache Friends package on one of my CentOS (5.0 final) servers. After I followed the command:</p>
<p><strong>./lampp security</strong></p>
<p>setup password for the lampp demo web page<br />
turn off access Mysql via the network</p>
<p>Then, the Mysql server could not start. Even I use command:</p>
<p>.<strong>/lampp startmysql</strong></p>
<p>it said</p>
<p>Mysql Starting and exit to command line.</p>
<p>(note: the apache friends package version is 1.63a)</p>
<p>So, I went to apachefriends.org to find the answer and unfortunately I did not find anything that can help. I decided to upgrade it to the latest version(1.63b) because this server is currently not in service. I don&#8217;t worry about the data lose. Upgrading was smooth, but it did not work too.</p>
<p>Anyway, the last result, I removed the whole folder /lampp from /opt and re-installed&nbsp; apache friends version 1.63b. It worked fine.</p>
<p>One thing I need to remember: <strong>Don&#8217;t forget stop lampp before remove the folder /lampp</strong>, otherwise, it will waste a lot of time to kill some process manually.</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/09/02/mysql-could-not-start-on-apache-friends/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setup Clam Antivirus &#038; SpamAssassin</title>
		<link>http://zft.backupdiy.com/2007/07/23/setup-clam-antivirus-spamassassin/</link>
		<comments>http://zft.backupdiy.com/2007/07/23/setup-clam-antivirus-spamassassin/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 19:45:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
	<dc:subject>Qmail</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/07/23/setup-clam-antivirus-spamassassin/</guid>
		<description><![CDATA[I followed the original setup guide (part 14) and will make some modifications here
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
vi /etc/clamd.conf
&#34;Example&#34; - should already be commented out. However, if it is not, make sure that it is commented out (#) 
&#34;LogFile&#34; - should be set to /var/log/clamav/clamd.log 
&#34;LogTime&#34; - should be uncommmented. 
&#34;LogSyslog&#34; - should be uncommented. 
&#34;User&#34; - should be [...]]]></description>
			<content:encoded><![CDATA[<p>I followed the <a target="_blank" href="http://www.qmailrocks.org/clamspam_rh.htm">original setup guide (part 14)</a> and will make some modifications here</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>vi /etc/clamd.conf</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">&quot;Example&quot; - should already be commented out. However, if it is not, make sure that it <strong>is</strong> commented out (#) <br />
&quot;LogFile&quot; - should be set to /var/log/clamav/clamd.log <br />
&quot;LogTime&quot; - should be uncommmented. <br />
&quot;LogSyslog&quot; - should be uncommented. <br />
&quot;User&quot; - should be set to <strong>qscand </strong></font><br />
<font size="2" face="Arial, Helvetica, sans-serif">&quot;ScanMail&quot; - should be uncommented. <br />
</font></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Because the user is set to qscand, I have to change the owner and group of /var/log/clamav to qscand. the commands as follow:</p>
<p>chgrp -R qscand /var/log/clamav<br />
chown -R qscand /var/log/clamav</p>
<p>otherwise, it won&#8217;t start.</p>
<p>And </p>
<p>I need grant write permission to others, otherwise the virus definition update can&#8217;t proceed. the command is:</p>
<p>chmond -R o=rwx /var/log/clamav&nbsp;&nbsp; (the original permission is rx)</p>
<p>Furthermore, here is the good place to download the latest version of Clamav</p>
<p><a href="http://dag.wieers.com/rpm/packages/clamav/" target="_blank"> http://dag.wieers.com/rpm/packages/clamav/</a></p>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
</font></p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/07/23/setup-clam-antivirus-spamassassin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setup Qmail on CentOS 4.4</title>
		<link>http://zft.backupdiy.com/2007/07/18/setup-qmail-on-centos-44/</link>
		<comments>http://zft.backupdiy.com/2007/07/18/setup-qmail-on-centos-44/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 18:29:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
	<dc:subject>command</dc:subject>
	<dc:subject>Qmail</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/07/18/setup-qmail-on-centos-44/</guid>
		<description><![CDATA[Although Eric Siegel have done great job on how to setup Qmail on Liunx, I&#8217;d like to make a notes on how to setup Qmail on CentOS 4.4 Final. 
My system is Linux&#160; 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686 i686 i386 GNU/Linux with full latest updates. And also, I have already [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2" face="Arial, Helvetica, sans-serif">Although <a href="http://www.qmailrocks.org/about.htm" target="_blank">Eric Siegel</a> have done great job on how to setup <a href="http://www.qmailrocks.org/" target="_blank">Qmail on Liunx</a>, I&#8217;d like to make a notes on how to setup Qmail on CentOS 4.4 Final. </p>
<p>My system is Linux&nbsp; 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686 i686 i386 GNU/Linux with full latest updates. And also, I have already installed<a href="http://www.apachefriends.org/en/index.html" target="_blank"> Apache Friends</a>.</p>
<p>So let me start:</p>
<p>Because of &quot; </font><font size="-1">CentOS is an open source free GNU Linux distribution which aims to be <strong>100% compatible</strong> with and based on Red Hat Enterprise Linux. </font><font size="2" face="Arial, Helvetica, sans-serif">&quot; , I choose &quot;<a target="_blank" href="http://www.qmailrocks.org/install_rh.htm">Red hat</a>&quot; (from the flavor list)&nbsp; to start. </p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
After I run </font><strong><font size="2" face="Arial, Helvetica, sans-serif">./config-fast newemail</font></strong><br />
<font size="2" face="Arial, Helvetica, sans-serif">I got this&nbsp; message, it might be useful in the feature.</p>
<p>Now qmail will refuse to accept SMTP messages except to newemail.<br />
Make sure to change rcpthosts if you add hosts to locals or virtualdomains!</p>
<p>Note: newemail is my system&#8217;s hostname<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
In Part 6</p>
<p>For my case (apache friends)</p>
<p></font><font size="2" face="Arial, Helvetica, sans-serif">./configure          &#8211;enable-cgibindir=/opt/lampp/cgi-bin &#8211;enable-htmldir=/opt/lampp/htdocs</p>
<p>After configure it, I got <br />
Current settings<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
vpopmail directory = /home/vpopmail<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uid = 507<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gid = 502<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cgi-bin dir = /opt/lampp/cgi-bin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vqadmin dir = /opt/lampp/cgi-bin/vqadmin<br />
&nbsp;&nbsp;&nbsp; mysql features = disabled<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>In opt/lampp/etc/httpd.conf<br />
after line of &quot;Include etc/extra/httpd-default.conf&quot;, add<br />
Include etc/extra/httpd-qmail.conf</p>
<p>Then in /opt/lampp/etc/extra/<br />
create a file named httpd-qmail.conf</p>
<p>and edit this file, add contents as follow:</p>
<p></font><font size="2" face="Arial, Helvetica, sans-serif"><font color="#009900">&lt;Directory &quot;<strong><font color="#ff0000">/opt/lampp/cgi-bin/vqadmin</font></strong>&quot;&gt;<br />
deny from all<br />
Options ExecCGI<br />
AllowOverride AuthConfig<br />
Order deny,allow<br />
&lt;/Directory&gt;</font></font><br />
<font size="2" face="Arial, Helvetica, sans-serif"><br />
In /opt/lampp/cgi-bin/vqadmin/, there is a file .htaccess, edit it as follow</p>
<p></font><font size="2" face="Arial, Helvetica, sans-serif" color="#009900">AuthType          Basic<br />
AuthUserFile <strong><font color="#ff0000">/opt/lampp/etc/.htpasswd</font></strong><br />
AuthName vQadmin<br />
require valid-user<br />
satisfy any</font><br />
<font size="2" face="Arial, Helvetica, sans-serif"><br />
and run <br />
</font><font size="2" face="Arial, Helvetica, sans-serif"><strong>chown nobody          .htaccess&nbsp; ( for the apache friends case, the username running apache is nobody)</strong></font><br />
<strong><font size="2" face="Arial, Helvetica, sans-serif">htpasswd          -bc /opt/lampp/etc/.htpasswd admin          &#8216;admin_password&#8217; </font></strong><br />
<font size="2" face="Arial, Helvetica, sans-serif"><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; </font><br />
<font size="2" face="Arial, Helvetica, sans-serif"><br />
In part 8</p>
<p>after configure <br />
I got </p>
<p>&nbsp;qmailadmin 1.2.9<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current settings<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cgi-bin dir = /opt/lampp/cgi-bin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html dir = /opt/lampp/htdocs<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image dir = /opt/lampp/htdocs/images/qmailadmin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image URL = /images/qmailadmin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; template dir = /usr/local/share/qmailadmin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; qmail dir = /var/qmail<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vpopmail dir = /home/vpopmail<br />
&nbsp;&nbsp; autorespond dir = /usr/bin<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ezmlm dir = /usr/local/bin/ezmlm<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ezmlm idx = yes<br />
&nbsp;&nbsp; mysql for ezmlm = yes<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; help = no<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modify quota = no<br />
&nbsp;&nbsp; domain autofill = no<br />
&nbsp;modify spam check = no<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
In part 11 I got <br />
[root@newemail lib]# qmailctl stat<br />
/service/qmail-send: up (pid 8454) 12 seconds<br />
/service/qmail-send/log: up (pid 8455) 12 seconds<br />
/service/qmail-smtpd: up (pid 8460) 12 seconds<br />
/service/qmail-smtpd/log: up (pid 8465) 12 seconds<br />
/service/qmail-pop3d: up (pid 8468) 12 seconds<br />
/service/qmail-pop3d/log: up (pid 8469) 12 seconds<br />
messages in queue: 0<br />
messages in queue but not yet preprocessed: 0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>
</font>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/07/18/setup-qmail-on-centos-44/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Incompetent power supply could cause hard drive error</title>
		<link>http://zft.backupdiy.com/2007/07/14/incompetent-power-supply-could-cause-hard-drive-error/</link>
		<comments>http://zft.backupdiy.com/2007/07/14/incompetent-power-supply-could-cause-hard-drive-error/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 05:16:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/07/14/incompetent-power-supply-could-cause-hard-drive-error/</guid>
		<description><![CDATA[It&#8217;s very interesting! see someone discussed it here

If you are serious on&#160; your business, don&#8217;t save money on the hardware, you will pay more on the labor cost!
By the way, this command might be useful on checking hard drive
smartctl
For example: 
smartctl -a /dev/* (* can be hda, hdb, sda, sdb etc.)

]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very interesting! see someone discussed it <a href="https://www.centos.org/modules/newbb/viewtopic.php?forum=12&amp;topic_id=3367&amp;viewmode=flat" target="_blank">here</a></p>
<p>
If you are serious on&nbsp; your business, don&#8217;t save money on the hardware, you will pay more on the labor cost!</p>
<p>By the way, this command might be useful on checking hard drive</p>
<p><strong>smartctl</strong></p>
<p>For example: </p>
<p>smartctl -a /dev/* (* can be hda, hdb, sda, sdb etc.)
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/07/14/incompetent-power-supply-could-cause-hard-drive-error/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sync time with the time server</title>
		<link>http://zft.backupdiy.com/2007/07/06/sync-time-with-time-server/</link>
		<comments>http://zft.backupdiy.com/2007/07/06/sync-time-with-time-server/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 04:58:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>command</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/07/06/sync-time-with-time-server/</guid>
		<description><![CDATA[Just some command to remember
ntpdate ca.pool.ntp.org (or  rdate -s ca.pool.ntp.org)
date
hwclock &#8211;systohc
hwclock

]]></description>
			<content:encoded><![CDATA[<p>Just some command to remember</p>
<p>ntpdate ca.pool.ntp.org (or  rdate -s ca.pool.ntp.org)<br />
date<br />
hwclock &#8211;systohc<br />
hwclock
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/07/06/sync-time-with-time-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PC over IP</title>
		<link>http://zft.backupdiy.com/2007/06/20/pc-over-ip/</link>
		<comments>http://zft.backupdiy.com/2007/06/20/pc-over-ip/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 06:28:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>Linux Admin</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/06/20/pc-over-ip/</guid>
		<description><![CDATA[Just learned from news paper that Teradici&#160; introduced its amazing PC-over-IP product. Back to decade or so ago, thin client was a hot topic but it was not success as a true product. However, a lot of things have been changed, high speed Internet, high energy cost, high labor cost etc. I bet this company [...]]]></description>
			<content:encoded><![CDATA[<p>Just learned from news paper that <a href="http://www.teradici.com/">Teradici</a>&nbsp; introduced its amazing PC-over-IP product. Back to decade or so ago, thin client was a hot topic but it was not success as a true product. However, a lot of things have been changed, high speed Internet, high energy cost, high labor cost etc. I bet this company will be successful in the near future.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/06/20/pc-over-ip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Avoid using the &#8220;same&#8221; name in SVN repository</title>
		<link>http://zft.backupdiy.com/2007/05/23/avoid-using-the-same-name-in-svn-repository/</link>
		<comments>http://zft.backupdiy.com/2007/05/23/avoid-using-the-same-name-in-svn-repository/#comments</comments>
		<pubDate>Wed, 23 May 2007 21:25:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
	<dc:subject>SVN</dc:subject>
	<dc:subject>Linux Admin</dc:subject>
		<guid isPermaLink="false">http://zft.backupdiy.com/2007/05/23/avoid-using-the-same-name-in-svn-repository/</guid>
		<description><![CDATA[In Linux, the file name is case-sensitive whereas in Windows it is not.
When I commit two files like &#34;file.php&#34; and &#34;File.php&#34; under Linux, it is ok. However, when I update it under Windows, it cause problem.

]]></description>
			<content:encoded><![CDATA[<p>In Linux, the file name is case-sensitive whereas in Windows it is not.</p>
<p>When I commit two files like &quot;file.php&quot; and &quot;File.php&quot; under Linux, it is ok. However, when I update it under Windows, it cause problem.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zft.backupdiy.com/2007/05/23/avoid-using-the-same-name-in-svn-repository/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
