<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>JOMYUT.NET - Administrator Skills</title>
    <link>http://www.jomyut.net/</link>
    <description>Blog</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Sat, 03 May 2008 06:29:58 GMT</pubDate>

    <image>
        <url>http://www.jomyut.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: JOMYUT.NET - Administrator Skills - Blog</title>
        <link>http://www.jomyut.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>DirectAdmin: PHP enable IMAP,POP3 with SSL</title>
    <link>http://www.jomyut.net/archives/17-DirectAdmin-PHP-enable-IMAP,POP3-with-SSL.html</link>
            <category>Administrator Skills</category>
    
    <comments>http://www.jomyut.net/archives/17-DirectAdmin-PHP-enable-IMAP,POP3-with-SSL.html#comments</comments>
    <wfw:comment>http://www.jomyut.net/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.jomyut.net/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Warun Kietduriyakul)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Current version of DirectAdmin (a hosting control panel software) didn&#039;t build a php compiler with IMAP features, if you would like to compile custom PHP compiler to install web application such as eTicket, osTicket, SugarCRM and so on... you can build by DirectAdmin script as below&lt;/p&gt;&lt;ol&gt;&lt;li&gt;For Apache 1 with no suPHP, configuration file at &lt;font color=&quot;#990000&quot;&gt;/usr/local/directadmin/custombuild/configure/ap1&lt;/font&gt;&lt;/li&gt;&lt;li&gt;For Apache 2 with no suPHP, configuration file at &lt;font color=&quot;#990000&quot;&gt;/usr/local/directadmin/custombuild/configure/ap2&lt;/font&gt;&lt;/li&gt;&lt;li&gt;For Apache with suPHP, configuration file at &lt;font color=&quot;#990000&quot;&gt;/usr/local/directadmin/custombuild/configure/suphp&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Edit configuration up on your PHP compiler version, for me use &lt;font color=&quot;#000099&quot;&gt;configure.php5&lt;/font&gt;. Insert into the last line&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font color=&quot;#cc0000&quot;&gt;&amp;quot;--with-imap-ssl&amp;quot; \&lt;br /&gt;&amp;quot;--with-imap&amp;quot;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Save and quit.&lt;/p&gt;&lt;p&gt;Now, install some library may needs to compile new PHP compiler. For Ubuntu use below command&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font color=&quot;#ff0000&quot;&gt;# sudo apt-get install libc-client-dev libc6-dev ca-certificates&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Now, build new PHP compiler&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font color=&quot;#ff0000&quot;&gt;# cd /usr/local/directadmin/custombuild/&lt;br /&gt;# ./build php d&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;
Try &lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;?php phpinfo(); ?&amp;gt;&lt;/font&gt; on your web server, you should see imap extension. 
    </content:encoded>

    <pubDate>Sat, 03 May 2008 13:09:20 +0700</pubDate>
    <guid isPermaLink="false">http://www.jomyut.net/archives/17-guid.html</guid>
    <category>directadmin</category>
<category>imap</category>
<category>php</category>
<category>ssl</category>

</item>
<item>
    <title>Microsoft Vista: Install Apache and PHP</title>
    <link>http://www.jomyut.net/archives/14-Microsoft-Vista-Install-Apache-and-PHP.html</link>
            <category>Administrator Skills</category>
    
    <comments>http://www.jomyut.net/archives/14-Microsoft-Vista-Install-Apache-and-PHP.html#comments</comments>
    <wfw:comment>http://www.jomyut.net/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.jomyut.net/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Warun Kietduriyakul)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;Today, I try to install apache 2.2 and php 5.2.5 in my vista machine for serveral hours. This is my path configuration in case that you may found the same problem like me.&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#ff3399&quot;&gt;&lt;b&gt;[Installation Step]&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Install Apache MSI package&lt;/li&gt;&lt;li&gt;Install PHP5 package&lt;/li&gt;&lt;li&gt;MySQL, you can do in any step.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;b&gt;&lt;font color=&quot;#ff3399&quot;&gt;[Installation Path]&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Use a location which not &amp;quot;C:\Program Files\&amp;quot; because it needs UAC permission and it hard to config your apache configuration file. (For me, E:\Service\Process\Apache)&lt;/li&gt;&lt;li&gt;My Installation path of PHP5, E:\Service\Process\PHP525&lt;/li&gt;&lt;/ol&gt;&lt;font color=&quot;#ff3399&quot;&gt;&lt;b&gt;[Configuration]&lt;/b&gt;&lt;/font&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;E:\Service\Process\Apache\conf\httpd.conf&lt;/i&gt;, Check a bottom of the configuration file, PHP package already install a location for you.&lt;br /&gt;#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL&lt;br /&gt;PHPIniDir &amp;quot;&lt;font color=&quot;#0000ff&quot;&gt;E:/Service/Process/PHP525/&lt;/font&gt;&amp;quot;&lt;br /&gt;LoadModule php5_module &amp;quot;&lt;font color=&quot;#0066cc&quot;&gt;E:/Service/Process/PHP525/php5apache2_2.dll&lt;/font&gt;&amp;quot;&lt;br /&gt;#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL&lt;/li&gt;&lt;li&gt;I found that it is a fault of installer package. You needs to replace &#039;\&#039; instead of &#039;/&#039; as below&lt;br /&gt;#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL&lt;br /&gt;LoadModule php5_module &amp;quot;&lt;font color=&quot;#0066cc&quot;&gt;E:\Service\Process\PHP525\php5apache2_2.dll&lt;/font&gt;&amp;quot;&lt;br /&gt;PHPIniDir &amp;quot;&lt;font color=&quot;#0066cc&quot;&gt;E:\Service\Process\PHP525&lt;/font&gt;&amp;quot; &lt;font color=&quot;#990000&quot;&gt;# No Backslash at last character&lt;/font&gt;&lt;br /&gt;#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL&lt;/li&gt;&lt;li&gt;Done&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;font color=&quot;#ff3399&quot;&gt;&lt;b&gt;[Testing]&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Verify your temporary session directory is not read-only&lt;/li&gt;&lt;li&gt;Verify your temporary upload direcotry is not read-only&lt;/li&gt;&lt;li&gt;Verify your PHP Path (E:\Service\Process\PHP525\) contains php5apache2_2.dll file.&lt;br /&gt;Check the file you needs from httpd.conf which PHP added for you&lt;br /&gt;&lt;font color=&quot;#ff9900&quot;&gt;LoadModule php5_module &amp;quot;E:\Service\Process\PHP525\php5apache2_2.dll&amp;quot;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Verify your httpd.conf has correct syntax&lt;br /&gt;E:\Service\Process\Apache\bin\&amp;gt; httpd -k config &lt;font color=&quot;#999999&quot;&gt;&amp;lt;enter&amp;gt;&lt;/font&gt;&lt;br /&gt;No error return&lt;/li&gt;&lt;li /&gt;&lt;li&gt;Put simple php file to htdocs directory&lt;br /&gt;&amp;lt;?php phpinfo(); ?&amp;gt;&lt;/li&gt;&lt;li&gt;You should see php information page.&lt;/li&gt;&lt;/ul&gt;For more details, you can follow the reference site [&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/senese.wordpress.com/2007/06/06/install-php-5-under-apache-22-and-windows-vista/&#039;);&quot;  href=&quot;http://senese.wordpress.com/2007/06/06/install-php-5-under-apache-22-and-windows-vista/&quot;&gt;1&lt;/a&gt;] but I have do nothing.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 17 Mar 2008 11:25:03 +0700</pubDate>
    <guid isPermaLink="false">http://www.jomyut.net/archives/14-guid.html</guid>
    <category>apache2.2</category>
<category>installation</category>
<category>php5</category>
<category>vista</category>

</item>
<item>
    <title>Linux - time Command</title>
    <link>http://www.jomyut.net/archives/10-Linux-time-Command.html</link>
            <category>Administrator Skills</category>
    
    <comments>http://www.jomyut.net/archives/10-Linux-time-Command.html#comments</comments>
    <wfw:comment>http://www.jomyut.net/wfwcomment.php?cid=10</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.jomyut.net/rss.php?version=2.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    

    <author>nospam@example.com (Warun Kietduriyakul)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;OS: Ubuntu 6.06LTS, 7.04&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#0066cc&quot;&gt;&lt;u&gt;time&lt;/u&gt; is a command available in linux which use to summarize resources that the focused process used. Sometime, it is use like a test tool to see what resource used when the process get things done such as cpu time, memory, context switch, cpu time (user mode), cpu time (system mode)&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;time&lt;/u&gt; เป็นคำสั่งที่มีมาอยู่ใน Linux ทุกตัว (เท่าที่ทราบ) ใช้เพื่อการตรวจสอบการใช้งานทรัพยากรของโปรเซสที่เราสนใจ ซึ่งหลายๆครั้ง เราใช้มันเหมือนเครื่องมือในการทดสอบประสิทธิภาพ ซึ่งให้ค่าออกมาเช่น cpu time หรือค่าจำนวน clock ของ cpu ที่มีการใช้งานจริง หรือ cpu time (user mode), cpu time (system mode) &lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#0066cc&quot;&gt;When use time command, I don&#039;t know why my &lt;u&gt;time command&lt;/u&gt; cannot specific some parameters. Sometime it&#039;s look like cannot use any parameters meanwhile man page show some of parameters. After I looking for information, I found nothing. No any pages descript about this problem. Do I really one person that silly? No, I won&#039;t to be like that. I&#039;m thinking for a bitt and I think that &lt;u&gt;sudo command&lt;/u&gt; might help in this solution. Yes! it work! well done. All parameter can be use at this time.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;ผมพยายามจะใช้คำสั่ง time บนลีนุกซ์มาสักพักแล้ว แต่ไม่รู้ทำไม Ubuntu ที่ผมติดตั้ง กลับกำหนดอาร์กิวเมนต์ให้กับคำสั่ง time ไม่ได้เลย ทั้งๆที่หน้า man page ก็มี parameter ต่างๆตามปกติ หาข้อมูลใน google ก็หาไม่เจอ อาจจะมีหน้าที่กล่าวถึง แต่เนื่องจากคำมันเป็นคำที่ basic มาก เลยหายากมากด้วย สุดท้าย ก็เลยมาลองนั่งคิดเอาเองว่า มันเกิดปัญหาอะไรขึ้นกับเรา หลังจากนั้น ไปสกิดใจนิดนึงว่า เออ เป็นไปได้ว่ามันจะใช้ privillage command ที่จะต้อง su เป็น root ก่อน ก็เลย จัดแจงลองดู แล้วก็พบว่า มันใช้งานได้จริงๆด้วย เย้! หลังจากนั่งลองกับ tcsh, csh อยู่ ซึ่งมันก็ไม่ได้เกี่ยวข้องเลยสักนิด&lt;/p&gt;&lt;p&gt;&lt;u&gt;Command&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Format:&lt;br /&gt;&lt;b&gt;#&lt;/b&gt; sudo time &amp;lt;&lt;font color=&quot;#ff6600&quot;&gt;arguments&lt;/font&gt;&amp;gt; &amp;lt;&lt;font color=&quot;#cc6666&quot;&gt;command&lt;/font&gt;&amp;gt;&lt;/li&gt;&lt;li&gt;Example:&lt;br /&gt;&lt;b&gt;#&lt;/b&gt; sudo time --verbose ls&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 12 Feb 2008 10:25:28 +0700</pubDate>
    <guid isPermaLink="false">http://www.jomyut.net/archives/10-guid.html</guid>
    <category>command</category>
<category>linux</category>
<category>performance test</category>

</item>
<item>
    <title>Security Hole - Bypass Authentication with ChilliSpot</title>
    <link>http://www.jomyut.net/archives/7-Security-Hole-Bypass-Authentication-with-ChilliSpot.html</link>
            <category>Administrator Skills</category>
    
    <comments>http://www.jomyut.net/archives/7-Security-Hole-Bypass-Authentication-with-ChilliSpot.html#comments</comments>
    <wfw:comment>http://www.jomyut.net/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.jomyut.net/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Warun Kietduriyakul)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;font color=&quot;#0099cc&quot;&gt;In a server which implement Squid as Web proxy with the same machine to ChilliSpot. It has possiblity to bypass ChilliSpot authentication by &lt;u&gt;set web browser proxy&lt;/u&gt; to &lt;u&gt;Squid port&lt;/u&gt; and then can start surfing Internet.&lt;/font&gt;&lt;br /&gt;
&lt;p&gt;สำหรับเครื่องเซิร์ฟเวอร์ที่มีการเปิด Service ในการ Authentication ของ ChilliSpot รวมกับภายในเครื่องมีการทำ Web Proxy ไว้ด้วย อาจจะทำให้สามารถเล่นเว็บไซต์ได้ง่ายๆ โดยการ Bypass Authentication ของ ChilliSpot ไปใช้ Proxy Service ที่ให้บริการอยู่ภายในเครื่องแทนได้&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Ref: &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/editor.212cafe.com/archive/2008-02-11/howto-hack-hotspot-chillispot-in-1-min&#039;);&quot;  href=&quot;http://editor.212cafe.com/archive/2008-02-11/howto-hack-hotspot-chillispot-in-1-min&quot;&gt;212cafe.com&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 11 Feb 2008 16:12:31 +0700</pubDate>
    <guid isPermaLink="false">http://www.jomyut.net/archives/7-guid.html</guid>
    <category>security hole</category>

</item>

</channel>
</rss>