<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://blog.rootlau.com/blog/index.php?/feeds/atom.xml" rel="self" title="BLOG.ROOTLAU.COM" type="application/atom+xml" />
    <link href="http://blog.rootlau.com/blog/"                        rel="alternate"    title="BLOG.ROOTLAU.COM" type="text/html" />
    <link href="http://blog.rootlau.com/blog/rss.php?version=2.0"     rel="alternate"    title="BLOG.ROOTLAU.COM" type="application/rss+xml" />
    <title type="html">BLOG.ROOTLAU.COM</title>
    <subtitle type="html">Root Lau's Personal Blog</subtitle>
    <icon>http://blog.rootlau.com/blog/templates/default/img/s9y_banner_small.png</icon>
    <id>http://blog.rootlau.com/blog/</id>
    <updated>2009-11-18T13:33:13Z</updated>
    <generator uri="http://www.s9y.org/" version="1.3.1">Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <dc:language>tn</dc:language>

    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/44-7.html" rel="alternate" title="分手後不要問的7個問題" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2009-11-18T13:18:08Z</published>
        <updated>2009-11-18T13:33:13Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=44</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/4-tw" label="雜記" term="雜記" />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/44-guid.html</id>
        <title type="html">分手後不要問的7個問題</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<p><br />
不要問：為什麼要分手？ </p><p>無論答案是什麼，都是你難以接受的原因。 </p><br /><br />
<br /><br />
<br /><p><br />
不要問：你有沒有愛過我？ </p><p>愛過如何，未愛過又如何？總之這一刻就是不愛。 </p><br /><br />
<br /><br />
<br /><p><br />
不要問：我做錯了什麼？ </p><p>愛不是講對錯，而是講感覺。相愛是談情，不是講理，當愛的感覺已經不存在，對和錯又可以挽回些什麼？ </p><br />
<br /><br />
<br /><p><br />
不要問：我有什麼不好？她有什麼好？我有什麼比不上她？</p><p>何必逼對方再一次侮辱你、打擊你的自信心 </p><br /><br />
<br /><br />
<br /><p><br />
不要問：難道你不記得我們以前快樂的日子了麼？</p><p> 他（她）要離開，就是因為他（她）要的是現在的快樂和將來的快樂。 </p><br /><br />
<br /><br />
<br /><p><br />
不要問：不如我們重新來過？ </p><p>這個哀求只會令對方覺得你更可憐、更卑微 </p><br /><br />
<br /><br />
<br /><p><br />
不要問：我們以後還可不可以做朋友？ </p><p>這樣拖泥帶水，對方只會感到厭煩。 </p><br /><br />
<br /><br />
<br /><br />
分手時，沉默是最好的問題，也是最圓滿的答案 <br /><br />
<br /><br />
不愛了 <br /><br />
<br /><br />
連回憶 <br /><br />
<br /><br />
都是負荷 <div> </div><div></div><div> </div><div><font color="#999999">【轉載自互聯網，很多的 Blog 都有，不知出處。】</font></div><div></div><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/43-AVG-userenv.dll.html" rel="alternate" title="AVG 誤報 userenv.dll 為木馬病毒" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2009-09-19T04:34:56Z</published>
        <updated>2009-09-19T07:56:07Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=43</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/43-guid.html</id>
        <title type="html">AVG 誤報 userenv.dll 為木馬病毒</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<h2>AVG 大誤判</h2><br />
<p>一早就連續接到幾通 AVG 抓到 c:\windows\system32\userenv.dll 有木馬的電話，本來接到第一通還問他昨天是不是有用隨身碟或是下載什麼程式，等到接到第二通、第三通就直覺應該是誤判，於是趕緊打開自己的電腦果然出現一樣的警示：</p><br />
<p>找到特洛伊木馬 Downloader.Generic8.8RZC</p><p align="center"><!-- s9ymdb:32 --><img hspace="0" height="331" width="500" vspace="0" border="0" class="serendipity_image_center" style="border: 0px none ; padding-left: 5px; padding-right: 5px;" src="http://blog.rootlau.com/blog/uploads/userenv-1.png" alt="AVG 誤報 userenv.dll 為木馬病毒" /></p><p><br />
<br />
</p><p><span id="more-317"></span></p><br />
<p>出現這個請直接【忽略】就好，只是會一直出現很煩耶！</p><br />
<p>或者是這個，請不要按「移除所選的感染檔案」或是「移除所有未修復的感染檔案」，直接按【關閉】就好了。</p><p align="center"><!-- s9ymdb:33 --><img hspace="0" height="487" width="512" vspace="0" border="0" class="serendipity_image_center" style="border: 0px none ; padding-left: 5px; padding-right: 5px;" src="http://blog.rootlau.com/blog/uploads/userenv-2.png" alt="AVG 誤報 userenv.dll 為木馬病毒" /></p><br />
<div align="center"></div><br />
<h2>已經無法開機了怎麼辦？</h2><br />
<p>如果你已經整台電腦掃毒然後 AVG 告訴你要重開機你也照辦了，那看到這篇就有一點太晚了，因為你的電腦應該已經無法開機了！</p><br />
<p>遇到這種情形也還不到重灌的地步，只要把被 AVG 防毒殺掉的 userenv.dll 補回去就正常了，但是你要有可以開機的光碟才能作這件事。</p><br />
<p>我是習慣用 XPE 來救，但是因為不是合法的版權所以不方便在這裡提供，請你自行用搜尋引擎找找看有沒有下載點，另外你也可以試試看用 Ubuntu Live CD 開機，然後將 userenv.dll 複製到 c:\windows\system32 即可。</p><br />
<p>沒有 userenv.dll 的話，這裡有提供 <a href="http://home.anet.net.tw/yu661/userevn.zip">userenv.dll的壓縮檔</a> 可以下載，這是WinXP SP3的版本，其他的請自行設法從別台電腦取得。</p><br />
<p>這個問題應該在新的病毒碼出來之後就會消失了，但就怕已經很多人已經中招無法開機了 XD</p><br />
<h2>2009/09/18 10:30PM 更新</h2><br />
<h2><br />
<p>更新最新版的病毒碼之後這一次的誤報事件算是落幕了，請你檢查一下你的病毒琰是不是已經升級到 2380，如果還沒的話快手動更新一下就不會再出現誤判警告了。</p><p align="center"><!-- s9ymdb:34 --><img hspace="0" height="134" width="214" vspace="0" border="0" class="serendipity_image_center" style="border: 0px none ; padding-left: 5px; padding-right: 5px;" src="http://blog.rootlau.com/blog/uploads/userenv-3.png" alt="AVG 誤報 userenv.dll 為木馬病毒" /></p><br />
<div align="center"></div><div align="left"><p /></div><br />
</h2><br />
<br />
AVG 免費版防毒軟體：<a href="http://www.avgtaiwan.com/">http://www.avgtaiwan.com</a><br /><br />
AVG 誤判官方討論串：<a target="_blank" href="http://forums.avg.com/cn-zt.avg-free-forum?sec=thread&act=show&id=401">http://forums.avg.com</a><br /><br />
userenv.dll 檔案下載：<a target="_blank" href="http://www.dll-files.com/dllindex/dll-files.shtml?userenv">http://www.dll-files.com/dllindex/dll-files.shtml?userenv</a><br /><br /><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/18-tw.html" rel="alternate" title="丹霞禪師" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2009-05-08T12:23:40Z</published>
        <updated>2009-05-09T21:14:23Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=18</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/5-tw" label="禪" term="禪" />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/18-guid.html</id>
        <title type="html">丹霞禪師</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<p>丹霞禪師未出家時曾一度追求功名，有一天，有人對他說：「做官不如做佛」，於是他就來到了馬祖那裡，請求他收留。</p><p>可是馬祖禪師不肯收留他，對他說：「每個人都有因緣，你的因緣不在我這裡，你還是到別的地方去吧！」於是，丹霞就來到了石頭禪師那裡，石頭禪師收留了丹霞，命他每日做一些無關緊要的小事，一做就是好幾年，丹霞從無怨言。</p><p>有一天，石頭禪師命大家除草，讓大家都回去拿除草的工具，可是丹霞卻拿了一把剃刀，石頭禪師看他已經開悟，便為其剃度。</p><p>過了一段時間，丹霞去見馬祖，感謝他指點之恩，他直接進入大殿，騎在祖師的聖像上，眾人大驚，急忙向馬祖稟報，馬祖出來看到他這樣，歡喜地說：「我子天然！」，從此，丹霞禪師即以「天然」為名。</p><p>嚴冬的時候，大雪紛飛，天氣異常寒冷，寺中沒有足夠的木材了，丹霞便把大殿上的木雕佛像丟入火中取曖，眾僧紛紛斥責丹霞對佛大不敬！</p><p>丹霞說道：「我是在燒取舍利子，而不是在烤火！」</p><p>眾人厲聲斥責說：「木刻的佛像裡怎麼會有舍利子？」</p><p>丹霞說:「既然是木頭，拿來燒火又何妨？」眾人啞然。</p><p>有一天，下了一天的雨，雨剛停，丹霞禪師就與另一位道友欲趕往某地，他們遇見一位美麗的女子，她穿著綢布衣服，繫著絲質的衣帶，沒有辦法走過那條泥濘的小路。</p><p>丹霞說：「來，我抱你過去」，然後就把那女子抱過了小路，然後他們繼續趕路，直到天黑時，道友才對丹霞說：「出家人不近女色，你的行為不檢點，為什麼要那麼做呢？」</p><p>丹霞驚異的說：「什麼？那個女人嗎？我早就把她放下了，你還抱著嗎？」<br /> <br /> <font color="#ff0000"></font></p><p><font color="#ff0000"></font></p><p>  </p><p><font color="#ff0000">生活禪理：完全遵從<b>形式</b>，是更大的<b>束縛</b>。</font><br /><br />
</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/1-blog.html" rel="alternate" title="更新了 blog 軟體" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2008-06-09T16:27:10Z</published>
        <updated>2008-06-09T17:16:02Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=1</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/4-tw" label="雜記" term="雜記" />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/1-guid.html</id>
        <title type="html">更新了 blog 軟體</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<p>終於忍受不了那些發放廣告留言的機械人軟件了，舊的 blog 軟件在使用上，我非常的滿意，但對抗 spam 留言的能力就很差勁‧‧‧ 在忍無可忍的情況下，終於要放棄她了。</p><p>由今天起，要愚公移山了‧‧‧</p><p>要瀏覽舊日的網誌，<a href="http://blog.rootlau.com/old/">請 click 這裡</a>。</p><p><br />
</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/2-SquirrelMail-+-poppassd.html" rel="alternate" title="SquirrelMail + poppassd" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2008-06-02T20:54:00Z</published>
        <updated>2008-06-29T14:05:03Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=2</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/2-guid.html</id>
        <title type="html">SquirrelMail + poppassd</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                不管輸入的密碼是多麼的正確，一律給錯：<p><span id="zoom"></span><p /></p><p>很久沒有替別人安裝過 Mail Server 了，那個 Fedora Core 8 真了得‧‧‧</p><p>除了給那個 Bind 玩耍了幾天外，Poppassd 也攪了我十數個小時‧‧‧</p><p>那個 bind 竟然不許其他 ip 查詢‧‧‧</p><p>而 Poppassd 就錯漏百出‧‧‧<span id="zoom"></span></p><blockquote><p><strong>500 Old password is incorrect</strong></p></blockquote><p>查了半天程式、 log 、網路，不斷搜尋資料，一直找不到原因，直到看到有人提到 /etc/pam.d/poppassd 裡面</p><blockquote><p><strong>#%PAM-1.0<br />auth required pam_pwdb.so shadow nullok<br />account required pam_pwdb.so<br />password required pam_cracklib.so retry=3<br />password required pam_pwdb.so use_authtok nullok</strong></p></blockquote><p>使用的 pam_pwdb.so ，但是系統上沒有這個檔案 O_O 。仔細一查，奇了， 竟然真的找不到這個檔案。</p><p>知道原因，就好辦。仔細查了一下， 在 pam 套件裡，真的沒提供 pam_pwdb.so 。而 pam_pwdb.so 與 pam_unix.so 是相同功能的模組，於是解決方法就很簡單了：</p><blockquote><p><strong>cd /lib/security<br />ln -s pam_unix.so pam_pwdb.so</strong></p></blockquote><p>建立一個 soft link ，用 pam_unix.so 來提供 pam_pwdb.so 的功能，搞定！</p><p>但是，要求的 password 就很有要求了，我敢肯定用戶不大可能記到這樣子的密碼‧‧‧ &gt;_&lt; </p><p>相信不足三、二天就一定會有人走來跟我說忘記了密碼；還需努力，再找！</p><blockquote dir="ltr" style="MARGIN-RIGHT: 0px"><p><strong>修改 /etc/pam.d/poppassd<br /><br />刪除 pam_cracklib.so 這一行 (在這行的前面加 # 號)<br /><br />在這行 &quot;password required /lib/security/pam_unix.so <font color="#e00000">use_authtok</font> nullok&quot;<br /><br />刪除 pam_unix.so 後面的 &quot;use_authtok&quot;</strong></p></blockquote><p>終於可以睡覺了，但太陽伯伯已經出來!‧‧‧ z... z... Z...</p><p /> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/3-Ubuntu-8.04-LTS-Server.html" rel="alternate" title="Ubuntu 8.04 LTS Server" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2008-06-01T10:16:00Z</published>
        <updated>2008-06-09T18:05:53Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=3</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/3-guid.html</id>
        <title type="html">Ubuntu 8.04 LTS Server</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<span id="zoom"><p>當我收到 Ubuntu 8.04 LTS Server 這張光盤時，興致勃勃地開始安裝‧‧‧</p><p>由一開始接觸 Linux 就是使用 Redhat，別的就從沒有用過；聽說 Ubuntu 是個不錯的 distrubtion。</p><p>開始安裝時，也是得簡單，整過過程也不難，好像少了些什麼似的‧‧‧</p><p>但是當安裝完時竟然無法以 root 登入，即時 O 晒嘴；對了，安裝時好像並沒有問 root 的密碼！只有使用安裝時建立的用戶登入好了。</p><p>最後在線上找到了些有關於 Ubuntu Server 的資訊，原來她是把 root 的帳戶 disable 了，是為了安全吧了。如果要使用只有 root 才能使用的指令，就只得在指令前加上 sudo 才可以使用。</p><p>如果要一直使用 root 的身份，可以使用以下指令：</p><blockquote style="margin-right: 0px;" dir="ltr"><p><strong><em>sudo -i</em></strong></p></blockquote><p>如果要啟動 root 的帳戶，可以使用以下指令：</p><blockquote style="margin-right: 0px;" dir="ltr"><p><strong><em>sudo passwd root</em></strong></p></blockquote><p>如果要關閉 root 的帳戶，可以使用以下指令：</p><blockquote style="margin-right: 0px;" dir="ltr"><p><strong><em>sudo passwd -l root</em></strong></p></blockquote><p>也可以在安裝時按 [F6] 進入進階模式，那裡可以啟動 root 的帳號並設定密碼。</p><p /></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/4-dovecot-POP3-Mailbox-INBOX.html" rel="alternate" title="解決 dovecot POP3 收信時發生 Mailbox / INBOX 錯誤的問題" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-12-24T09:28:00Z</published>
        <updated>2007-12-24T09:28:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=4</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/4-guid.html</id>
        <title type="html">解決 dovecot POP3 收信時發生 Mailbox / INBOX 錯誤的問題</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span id="zoom"><p>解決 dovecot POP3 收信時發生 Mailbox / INBOX 錯誤的問題</p><p>版本: dovecot-0.99.13-3.FC3</p><p>maillog:</p><p>pop3(某帳號): Error syncing mbox file /var/mail/某帳號: LF not found where expected<br />pop3(某帳號): Error indexing mbox file /var/mail/某帳號: LF not found where expected<br />pop3(某帳號): Couldn't open INBOX: Internal error occured. Refer to server log for more information.</p><p>以 telnet 登入 110 埠:</p><p>輸入完密碼後回應: -ERR No INBOX for user.</p><p>版本: dovecot-1.0-0.beta2.7</p><p>maillog:</p><p>pop3(某帳號): Mailbox init failed top=0/0, retr=0/ del=0/0, size=0</p><p>Outlook Express 訊息:</p><p>登入您的郵件伺服器時發生錯誤。您的密碼被拒絕。...通訊協定: POP3, 伺服器回應: '-ERR Mailbox isn't a valid mbox file',... 伺服器錯誤: 0x800CCC90, 錯誤碼: 0x800CCC92</p><p>解決方法:</p><p>以下以 foo 代表某帳號</p><p>cd /var/spool/mail<br />cp foo foo_ 備份郵件<br />true &gt; foo 清空郵箱</p><p>另外寄一封信到 foo 帳號</p><p>cat foo_ &gt;&gt; foo 匯入剛剛備份的郵件</p><p>即可正常收信</p><p>from: <a target="_blank" href="http://cha.homeip.net/blog/archives/2006/06/mis.html">http://cha.homeip.net/blog/archives/2006/06/mis.html</a></p></span>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/5-Linux-shell.html" rel="alternate" title="在 Linux 的 shell 上搜尋文字並替代" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-11-04T12:49:00Z</published>
        <updated>2007-11-04T12:49:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=5</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/5-guid.html</id>
        <title type="html">在 Linux 的 shell 上搜尋文字並替代</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span class="title"></span><br />
<br />
	<br />
		<span id="zoom"><p>天真的忙過死去活來！在決定放棄使用 Pacific Internet 的寬頻而改用 PCCW 的一刻，已經知道會有這一天的來臨‧‧‧ 無耐 Pacific Internet 實在不爭氣，連我這個 Reseller Partner 也要‧‧‧</p><p>接著就是要將我的 Servers (幾部) 的網絡設定，DNS，HTTPD，SENDMAIL，‧‧‧ 全部也要將 IP 更換下來，痛苦‧‧‧</p><p>幸好徙網路上找到了一個可以將文字更換的程式，工作就可以比較輕鬆地完成！</p><p><font size="1">#!/bin/bash<br />        #       This script will search and replace all regular files for a string<br />        #       supplied by the user and replace it with another string.<br />        #<br />        #       Written by Daniel McCarthy<br />        #       </font><font size="1">daniel.mccarthy@linuxphile.org</font><br /><font size="1">        #<br />        function usage { <br />                echo &quot;&quot;<br />                echo &quot;Search/replace script&quot;<br />                echo &quot;    Written by Daniel McCarthy&quot;<br />                echo &quot;      </font><font size="1">daniel.mccarthy@linuxphile.org</font><font size="1">&quot;<br />                echo &quot;      </font><font size="1">http ://linuxphile.org</font><font size="1">&quot;<br />                echo &quot;&quot;<br />                echo &quot;Not enough parameters provided.&quot;<br />                echo &quot;Usage: ./$0 searchstring replacestring&quot;<br />                echo &quot;Remember to escape any special characters in the searchstring or the replacestring&quot;<br />                echo &quot;&quot;<br />         }</font></p><p><font size="1">        #check for required parameters<br />        if  [ ${ #1 } -gt 0  ]  &amp;&amp;  [ ${ #2 } -gt 0  ];<br />        then<br />        for f in `find  -type f`;<br />        do<br />                if grep -q $1 $f;<br />                then<br />                        cp $f $f.bak<br />                        echo &quot;The string $1 will be replaced with $2 in $f&quot;<br />                        sed s/$1/$2/g &lt; $f.bak &gt; $f<br />                        rm $f.bak<br />                fi<br />        done</font></p><p><font size="1">        else<br />        #print usage informamtion<br />        usage<br />fi</font></p><p><font size="1">參考：<a target="_blank" href="http://linuxphile.org/node/13">http://linuxphile.org/node/13</a></font></p><p><font size="1"><a target="_blank" href="http://linuxphile.org/node/13"></a></font></p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/6-root.html" rel="alternate" title="更改 root 的密碼" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-11-04T12:34:00Z</published>
        <updated>2007-11-04T12:34:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=6</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/6-guid.html</id>
        <title type="html">更改 root 的密碼</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span class="title"></span><span class="date"></span><span id="zoom"><p>有不少朋友至電給小 root 問有關於如更改 root 的密碼，當然不是我的私人密碼啦！是 Linux 管理員帳戶 root 的密碼。</p><p>All<br />
you need to do is reboot the machine. When you are presented with the<br />
Grub menu, hit the 'e' key. This will allow you to edit the current<br />
boot options. Add the ' single' to the line that begins with 'kernel<br />
/vmlinuz'. Now press 'b' to boot with the modified boot options. </p><p>You'll<br />
now be presented with the command line. At the command line simply<br />
enter 'passwd'. You'll be prompted, twice, for a new password. </p><p>Type in 'exit' and the machine will continue booting into the normal process. Your root password has now been changed. </p><p>轉自：<a href="http://linuxphile.org/node/15" target="_blank">http://linuxphile.org/node/15</a></p><p><a href="http://linuxphile.org/node/15" target="_blank"></a></p><p><a href="http://linuxphile.org/node/15" target="_blank"></a></p></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/29-tw.html" rel="alternate" title="生活裡的哲理名言" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-10-11T02:42:00Z</published>
        <updated>2007-10-11T02:42:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=29</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=29</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/4-tw" label="雜記" term="雜記" />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/29-guid.html</id>
        <title type="html">生活裡的哲理名言</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span id="zoom"><ol><li>人創造奇跡常常是在瞬間，但沒有一個創造奇跡的人是依靠瞬間的 —— 成功在於平日的積累。 <br />人的成長要接受4個方面的教育：父母、老師、書籍、社會。有趣的是，後者似乎總是與前三者背道而馳。 ——一 位教授的感歎 </li><li>一個國家、一個民族，如果沒有現代科學，沒有先進技術，一打就垮：而如果沒有優秀的歷史傳統，沒有民族人文精神，不打自垮。 —— 中科院院士枋叔子先生 </li><li>自己豐富才能感知世界的豐富，自己善良才能感知世界的美好，自己坦蕩才能逍遙地生活於天地之間 —— 王蒙 </li><li>成功的人生一開始是觀眾，接著是演員，最後才是後台老闆。失敗的人生反其道而行之。 —— 李敖談「人生成敗三部」 </li><li>在人類社會的歷史上可以分成兩種思想潮流：一是說真理比生命更重要，一是說生命比任何事都重要。當人類要發動戰爭，他們會以前者為藉口，但當他們要結束戰爭，又會拿後者作理由。 </li><li>如果方向錯了，那麼倒退就是前進。 </li><li>真話如同咳嗽，多在壓抑不住時噴湧而出。假話如同台詞，常常要背熟了再說。 </li><li>生活累，一小半源於生存，一大半源於攀比。—— 作家鄭辛遙在一篇文幸中的言論 </li><li>虛心的人用文憑來鞭策自己，心虛的人用文憑來炫耀自己。—— 人們對文憑的不同理解 </li><li>如果是「中國製造」，就定會被打但如果是「中國創造」，就一定不會敗 —— 海爾集團CEO張瑞敏 </li><li>中國學校請名人、官員、科學家給學生做報告．美國學校請護士、警察、消防隊員給學生做報告。 <br />—— 美國學校讓學生瞭解社會，而中國學校是給學生樹立標桿。步入讓會後。中國學生的失落感要比美國學生大得。 </li><li>人生的苦悶有二，一是慾望沒有被滿足。二是它得到了滿足。—— 蕭伯納 </li><li>信念值多少錢?信念是不值錢的，它有時甚至是一個善意的欺騙。然而，你一旦堅持下去，它就會迅速升值。———— 美國紐約州歷史上第一位黑人州長羅傑出 羅爾斯 </li><li>離永恆最近的是瞬間 —— 舒婷 </li><li>最不好玩的遊戲是 —— 輪到你上場時，卻改變了規則 —— 人生往往如此 </li><li>干了錯事的人，總想通過另—件錯事補回損失，這樣下去只會錯上加錯，一次次地把錯垛得跟草垛似的高高的。直到有一天，這些錯突然全變成了對，這個人便大豐收了。我幹的錯事多半都是這種結果。—— 作家劉亮程在《幹點錯事》 </li><li>什麼叫做不簡單？就是把簡單的事情千百遍都做好，就是不簡單；什麼叫做不容易，就是大家都認為非常容易的事情非常認真地去做好它，就是不容易。—— 海爾集團CEO張瑞敏 </li><li>人們會死於厭倦，死于于疾病，但不會死於努力工作。—— 大衛‧奧格威 </li><li>所謂富有：是指生命中流通的東西很多。 </li><li>只有一個國家的文化和歷史活著，這個國家才活著 —— 阿富汗國家博物館大門上的橫幅 </li><li>生活的悲劇不在於一個人輸了，而在於他差一點贏了 —— 海德伍 布郎 </li><li>膽大和勇敢遠不是一回事，正如聰明和智能不是一回事一樣。膽大是沒有畏懼心理，勇敢則是有畏懼心理而又克服了畏懼心理。—— 胡平《哲思手記》 </li><li>「魚」在工具書中的解釋為「肉可以食用」，「虎」的解釋是「毛皮可以制革」，既然是受保護動物，為什麼還要這樣解釋呢？</li></ol><p><font size="1" color="#a0a0a0"><a target="_blank" href="http://zhujue1125.blog.163.com/blog/">http://zhujue1125.blog.163.com/blog/</a></font></p></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/24-tw.html" rel="alternate" title="網絡營銷的幾個核心概念" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-10-11T02:36:00Z</published>
        <updated>2007-10-11T02:36:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=24</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/1-tw" label="營銷" term="營銷" />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/24-guid.html</id>
        <title type="html">網絡營銷的幾個核心概念</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Internet<br />
帶來的不僅是一場信息革命，更重要的是它將引起人類經濟活動方式的深刻變革。我國的網民人數正以每半年就翻一翻的速度急劇增長，截止 1999<br />
年底上網人數已達 890<br />
萬。隨著上網人數與網上交易的急速增加，互聯網正在成為一個真正的全球的「新興市場」。在世界經濟多極化、區域化、一體化和國際貿易自由化的今天，任何公<br />
司想在激烈競爭的市場中形成並保持其競爭優勢，都不得不加入<br />
Internet。而隨著網絡技術和電子商務的發展，其對傳統的企業的組織形式、管理模式、經營方式和營銷觀念等方面都提出了有力的挑戰。雖然在網絡中有<br />
許多不確定的因素，但是企業界與學界都承認網絡營銷將會是未來網絡經濟中最具潛力，更有廣泛適用性的發展方向。本文選擇了網絡營銷中幾個主要的概念進行介<br />
紹，希望讀者能從這些概念中對網絡營銷有一個整體的認識。</p><p> 一、網絡營銷</p><p>市場營銷作為一門學科，於 20<br />
世紀初誕生於美國，它經歷了以生產為導向的營銷觀念、以產品為導向的營銷觀念、推銷觀念、以市場為導向的營銷觀念以及社會營銷觀念等五個階段。近年來，營<br />
銷理論又有了較大的發展，這主要表現在隨著互聯網的普及，使得市場營銷環境有了根本性的改變，從而對市場營銷策略和理念產生了巨大的衝擊。作為一種全新的<br />
信息溝通與產品銷售渠道，互聯網改變了企業所面對的用戶和消費者、虛擬市場的空間以及競爭對手，企業將在一個全新的營銷環境下生存。  <br />
菲利普.科特勒將營銷定義為「個人和集體通過創造、提供並同他人交換產品價值，以獲得其所需所欲物的一種社會和管理過程」。也就是說，營銷是以滿足人類各<br />
種需要和慾望為目的，通過市場變潛在交換為現實交換的活動總稱。而網絡營銷（Cybermarketing）是指借助於互聯網絡、電腦通信技術和數字交互<br />
式媒體來實現營銷目標的一種營銷方式。從這兩個定義來看，網絡營銷與傳統的市場營銷並沒有根本的區別，它們都要實現其營銷的目標，即將潛在的交換轉化為現<br />
實的交換。</p><p> 二、網絡市場調研</p><p> 市場調研是指以科學的方法，系統地、有目的地收集、整理、分析和研究所有與市場有關的信息，特別是有關消費者的需求、購買動機和購買行為等方面的市場信息，從而提出解決問題的建議，以作為營銷決策的基礎。</p><p>傳<br />
統的市場調研一方面要投入大量的人力物力，如果調研面較小，則不足以全面掌握市場信息，而調研面較大，則時間週期長，調研費用大；另一方面，在傳統的市場<br />
調研中，被調查者始終處於被動地位，企業不可能針對不同的消費者提供不同的調查問卷，而針對企業的調查，消費者一般也不予以反應和回復。</p><p>與<br />
傳統的市場調研相比，網絡市場調研雖然也存在這樣那樣的問題，但其優勢也是非常突出的，主要表現在以下幾個方面：一是它的互動性，這種互動不僅表現在消費<br />
者對現有產品的發表意見和建議，更表現在消費者對尚處於概念階段產品的參與，這種參與將能夠使企業更好地瞭解市場的需求，而且可以洞察市場的潛在需求；二<br />
是網絡調研的及時性，網絡的傳輸速度快，一方面調研的信息傳遞到用戶的速度加快，另一方面用戶向調研者的信息傳遞速度也加快了，這就保證了市場調研的及時<br />
性；三是網絡調研的便捷性和經濟性，無論是對調查者還是被調查者，網絡調查其便捷性都是非常明顯的。調研者只要在其站點上發佈其調查問卷，而且在整個調查<br />
過程中，調研者還可以對問卷進行及時修改和補充，而被調查者只要有一台計算機、一個<br />
MODEM、一部電話就可以快速方便地反饋其意見。同時，對於反饋的數據，調查者也可以快速便捷地進行整理和分析，因為反饋的數據可以直接形成數據庫。這<br />
種方便性和快捷性大大地降低發市場調研的人力和物力耗費。</p><p>三、4C 與網絡整合營銷</p><p>傳統的市場營銷策略是由邁卡錫教授提出的<br />
4P組合，即產品（Product）、價格（Price）、渠道（Place）和促進（Promotion）。這種理論的出發點是企業的利潤，而沒有將顧<br />
客的需求放到與企業的利潤同等重要的地位上來。而網絡的互動性使得顧客能夠真正參與整個營銷過程，而且其參與的主動性和選擇的主動性都得到加強。這就決定<br />
了網絡營銷首先要求把顧客整合到整個營銷過程中來，從他們的需求出發開始整個營銷過程。據此，以舒爾茲教授為首的一批營銷學者提出了4C的市場營銷理論，<br />
即消費者的需求和慾望（Consumer's wants and<br />
needs）、成本（Cost）、便利（Convenience）和溝通（Communication）。因此網絡營銷的模式是從消費的需求出發，營銷決<br />
策（4P）是在滿足4C的要求的前提下的企業利潤最大化，最終實現的是消費者需求的滿足和企業利潤最大化。在這種新營銷模式之下，企業和客戶之間的關係變<br />
得非常緊密，甚至牢不可破，這就形成了「一對一」的營銷關係（One-to-one-Marketing），這種營銷框架稱為網絡整合營銷，它始終體現了<br />
以客戶為出發點及企業和客戶不斷交互的特點。</p><p> 四、網絡直復營銷</p><p>僅從銷售的角度來看，網絡營銷是一種直復營銷。直復營銷的<br />
「直」來自英文的「Direct」，即直接的縮寫，是指不通過中間分銷渠道而直接通過媒體連接企業和消費者，網上銷售產品時顧客可通過網絡直接向企業下訂<br />
單付款；直復營銷中的「復」來自英文中的「Response」，即「回復」的縮寫，是指企業與顧客之間的交互，顧客對這種營銷努力有一個明確的回復，企業<br />
可以統計到這種明確回復的數據，由此可對以往的營銷效果作出評價。</p><p>五、MIS</p><p> 市場營銷的 MIS（Management<br />
Information System）是企業或組織整體 MIS 的一部分。MIS<br />
是一個信息系統，它通過程式化的程序從各種相關的資源(公司外部和內部的都包括)收集相應的信息，為經理們提供各層次的功能，以使得他們能夠對自己所應該<br />
負責的各種計劃、監測和控制活動等做出及時、有效的決策。<br />
這個表明MIS的本質是一個關於內部和外部信息的數據庫，這個數據庫可以幫助經理們做分析、決策、計劃和設定控制目標。因此重點是如何使用這些信息，而不<br />
是如何形成這些信息。</p><p>最有效的 MIS<br />
夠反應隨著時間的推移和內部程序的改變，外部的變量如何改變，也就是說，時間和內部變量是否會對外部的變量產生影響。這就建立了一個強大而且有效的知識<br />
庫，它可以幫助進行預測。雖然建立和維MIS是非常耗時和昂貴的，但是與其帶來的潛在利益和對決策準確性的提高相比，對一個組織來說這還是值得的。<br />
Internet 為建立和維護MIS提供了一個理想的工具，而MIS也是網絡營銷中的一個重要的內容。</p><p>六、網上服務工具 (FAQ)</p><p>FAQ（Frequently<br />
Asked<br />
Questions）是網上顧客服務的重要內容之一，它為顧客提供有關公司產品與服務等方面的信息。面對眾多公司能夠提供的信息以及顧客可能需要的信息，<br />
最好的辦法就是在網站上建立顧客常見問題解答（FAQ）。FAQ<br />
主要是為提供有關產品、公司情況，它既能夠引發那些隨意瀏覽者的興趣，也能幫助有目的的顧客迅速找到他們所需要的信息，獲得常見問題的現成答案。</p><p><br /><font size="1" color="#a0a0a0"><a target="_blank" href="http://zhujue1125.blog.163.com/blog/">http://zhujue1125.blog.163.com/blog/</a></font></p><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/7-Adding-GD-PHP-support-to-Fedora-Core-5-FC5.html" rel="alternate" title="Adding GD PHP support to Fedora Core 5 (FC5)" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-10-08T09:06:00Z</published>
        <updated>2007-10-08T09:06:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=7</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/7-guid.html</id>
        <title type="html">Adding GD PHP support to Fedora Core 5 (FC5)</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span class="title"></span><span class="date"></span><span id="zoom"><p>A simple way to install PHP-PD in FC5</p><p>% yum install gd-devel<br />% yum install php-gd</p><p>restart apache:<br />% /sbin/service httpd restart</p><p><a href="http://iamcam.wordpress.com/2006/09/28/adding-gd-php-support-to-fedora-core-5-fc5/" target="_blank">http://iamcam.wordpress.c......pport-to-fedora-core-5-fc5/</a></p><p><a href="http://iamcam.wordpress.com/2006/09/28/adding-gd-php-support-to-fedora-core-5-fc5/" target="_blank"></a></p><p><a href="http://iamcam.wordpress.com/2006/09/28/adding-gd-php-support-to-fedora-core-5-fc5/" target="_blank"></a></p></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/8-IT-vs.html" rel="alternate" title="IT佬 vs 通渠佬" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2007-01-20T11:05:00Z</published>
        <updated>2007-01-20T11:05:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=8</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/8-guid.html</id>
        <title type="html">IT佬 vs 通渠佬</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span class="title"></span><span class="date"></span><span id="zoom"><div style="font-size: 12px;">從其他的 forum 聽到以下的一段關於 I.T. 工作的評價；心感切身，原來入錯行，怪不得客人都不願意付出分文地不斷的打電話來問東問西，但說要收費安排技術員上門解決問題時，連數百元服務費也不願付出...</div><div style="font-size: 12px;"> </div><div style="font-size: 12px;"><hr /></div><div style="font-size: 12px;">公司爆屎渠搵個通渠佬用真空 pump 通渠 + 執走 D 屎    收費 HKD 2000.00 (都係做 3 個鐘到)<br /><br />公司個 SQL down 左唔肯做 replication 搵個 IT SQL2000 expert 執過晒都係 收費 HKD 1500.00 (註: 500蚊個鍾架)<br /><br />大家都係執屎一個小學程度, 一個大學畢業 + MSDBA 但收費平過 小學生</div><div style="font-size: 12px;"><p>Ref: <a target="_blank" href="http://www4.discuss.com.hk/viewthread.php?tid=3231471&extra=page%3D3&page=1">http://www4.discuss.com.h......tra=page%3D3&amp;page=1</a></p><p><a target="_blank" href="http://www4.discuss.com.hk/viewthread.php?tid=3231471&extra=page%3D3&page=1"></a></p></div></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/9-Information-about-the-nslookup-command-MS-DOS.html" rel="alternate" title="Information about the nslookup command (MS-DOS)" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2006-03-23T09:32:00Z</published>
        <updated>2006-03-23T09:32:00Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=9</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/9-guid.html</id>
        <title type="html">Information about the nslookup command (MS-DOS)</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span class="title"></span><span class="date"></span><span id="zoom"><p><font color="#005cb9"><strong>SYNTAX</strong></font></p><p>Commands: (identifiers are shown in uppercase, [] means optional) <table cellspacing="0" cellpadding="0" bordercolor="#cfcfcf" border="1" bordercolorlight="#cfcfcf" bordercolordark="#ffffff"><tbody><tr><td valign="top" align="left"><b><font size="2">NAME</font></b></td><td valign="top" align="left"><font size="2">print info about the host/domain NAME using default server</font></td></tr><tr><td valign="top" align="left"><b><font size="2">NAME1 NAME2 </font></b></td><td valign="top" align="left"><font size="2">as above, but use NAME2 as server</font></td></tr><tr><td valign="top" align="left"><b><font size="2">help or ?</font></b></td><td valign="top" align="left"><font size="2">print info on common commands</font></td></tr><tr><td valign="top" align="left"><b><font size="2">set OPTION</font></b></td><td valign="top" align="left"><font size="2">set an option<br /></font><table cellspacing="0" cellpadding="0" bordercolor="#cfcfcf" border="1" bordercolorlight="#cfcfcf" bordercolordark="#ffffff"><tbody><tr><td><b><font size="2">all</font></b></td><td><font size="2">print options, current server and host</font></td></tr><tr><td><b><font size="2">[no]debug</font></b></td><td><font size="2">print debugging information</font></td></tr><tr><td><b><font size="2">[no]d2</font></b></td><td><font size="2">print exhaustive debugging information</font></td></tr><tr><td><b><font size="2">[no]defname</font></b></td><td><font size="2">append domain name to each query</font></td></tr><tr><td><b><font size="2">[no]recurse</font></b></td><td><font size="2">ask for recursive answer to query</font></td></tr><tr><td><b><font size="2">[no]search</font></b></td><td><font size="2">use domain search list</font></td></tr><tr><td><b><font size="2">[no]vc</font></b></td><td><font size="2">always use a virtual circuit</font></td></tr><tr><td><b><font size="2">domain=NAME</font></b></td><td><font size="2">set default domain name to NAME</font></td></tr><tr><td><b><font size="2">srchlist=N1[/N2/.../N6] </font></b></td><td><font size="2">set domain to N1 and search list to N1,N2, etc.</font></td></tr><tr><td><b><font size="2">root=NAME</font></b></td><td><font size="2">set root server to NAME</font></td></tr><tr><td><b><font size="2">retry=X</font></b></td><td><font size="2">set number of retries to X</font></td></tr><tr><td><b><font size="2">timeout=X</font></b></td><td><font size="2">set initial time-out interval to X seconds</font></td></tr><tr><td><b><font size="2">type=X</font></b></td><td><font size="2">set query type (ex. A,ANY,CNAME,MX,NS,PTR,SOA,SRV)</font></td></tr><tr><td><b><font size="2">querytype=X</font></b></td><td><font size="2">same as type</font></td></tr><tr><td><b><font size="2">class=X</font></b></td><td><font size="2">set query class (ex. IN (Internet), ANY)</font></td></tr><tr><td><b><font size="2">[no]msxfr</font></b></td><td><font size="2">use MS fast zone transfer</font></td></tr><tr><td><b><font size="2">ixfrver=X</font></b></td><td><font size="2">current version to use in IXFR transfer request</font></td></tr></tbody></table></td></tr><tr><td valign="top" align="left"><b><font size="2">server NAME</font></b></td><td valign="top" align="left"><font size="2">set default server to NAME, using current default server</font></td></tr><tr><td valign="top" align="left"><b><font size="2">lserver NAME</font></b></td><td valign="top" align="left"><font size="2">set default server to NAME, using initial server</font></td></tr><tr><td valign="top" align="left"><b><font size="2">finger [USER]</font></b></td><td valign="top" align="left"><font size="2">finger the optional NAME at the current default host</font></td></tr><tr><td valign="top" align="left"><b><font size="2">root</font></b></td><td valign="top" align="left"><font size="2">set current default server to the root</font></td></tr><tr><td valign="top" align="left"><b><font size="2">ls [opt] DOMAIN [&gt; FILE] </font></b></td><td valign="top" align="left"><font size="2">list addresses in DOMAIN (optional: output to FILE)<br /></font><table width="100%" cellspacing="0" cellpadding="0" bordercolor="#cfcfcf" border="1" bordercolorlight="#cfcfcf" bordercolordark="#ffffff"><tbody><tr><td><b><font size="2">-a</font></b></td><td><font size="2">list canonical names and aliases</font></td></tr><tr><td><b><font size="2">-d</font></b></td><td><font size="2">list all records</font></td></tr><tr><td><b><font size="2">-t TYPE </font></b></td><td><font size="2">list records of the given type (e.g. A,CNAME,MX,NS,PTR etc.)</font></td></tr></tbody></table></td></tr><tr><td valign="top" align="left"><b><font size="2">view FILE</font></b></td><td valign="top" align="left"><font size="2">sort an 'ls' output file and view it with pg</font></td></tr><tr><td valign="top" align="left"><b><font size="2">exit</font></b></td><td valign="top" align="left"><font size="2">exit the program</font></td></tr></tbody></table></p><p><a name="04"></a><font color="#005cb9"><strong>EXAMPLES</strong></font> </p><p align="left"><b>C:\&gt;nslookup computerhope.com</b><br />Server: ns.computerhope.com<br />Address: 1.1.1.1<br /><br />Name: computerhope.com<br />Address: 204.228.150.3 </p><p align="left"><font size="1" style="background-color: rgb(255, 255, 255);">( from: </font><font size="1" style="background-color: rgb(255, 255, 255);"><a target="_blank" href="http://www.computerhope.com/nslookup.htm">http://www.computerhope.com/nslookup.htm</a></font><font size="1" style="background-color: rgb(255, 255, 255);"> )</font></p><p align="left"><font size="1" style="background-color: rgb(255, 255, 255);"></font></p><p align="left"><font size="1" style="background-color: rgb(255, 255, 255);"></font></p></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.rootlau.com/blog/index.php?/archives/10-Hack.html" rel="alternate" title="伺服又被 Hack 了‧‧‧" />
        <author>
            <name>Root Lau</name>
                    </author>
    
        <published>2006-03-13T14:40:00Z</published>
        <updated>2009-05-09T10:54:40Z</updated>
        <wfw:comment>http://blog.rootlau.com/blog/wfwcomment.php?cid=10</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.rootlau.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    
            <category scheme="http://blog.rootlau.com/blog/index.php?/categories/2-IT" label="I.T." term="I.T." />
    
        <id>http://blog.rootlau.com/blog/index.php?/archives/10-guid.html</id>
        <title type="html">伺服又被 Hack 了‧‧‧</title>
        <content type="xhtml" xml:base="http://blog.rootlau.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <br />
<span class="title"></span><span class="date"></span><span id="zoom"><p>今早反公司途中，接到老丁的電話說我的網站 (即伺服) 被 hacker 入侵了，過以為他說笑；怎知回到公司後一打開 IE，入到自己的網站後，心裡暗叫不妙，看到：</p><p><table cellspacing="1" cellpadding="10" border="1" align="center" style="width: 300px;"><tbody><tr><td><p align="center"><font size="2">You Are HACKED BY ALEKS</font></p></td></tr></tbody></table></p><p>再查看所有的網站，有十數個中招，幸好都集中在一台伺服上，其餘的都沒有發現被 hack，但這樣並不代表沒事‧‧‧ 在這台伺服上，大部份的 index.html 及 index.php 都被置換了，雖然可以被補救，但此終都覺得這一台 server 已經不大可靠了，而且她還是 Redhat 9，很早已經看她不順眼呢！</p><p>在沒有多大的信心下，就將她安裝成為 Fedora Core 4；實在太多的設定都變了，天啊~~ 單是 DNS 都給她用上二、三個小時，還有那個 VSFTP，喔~不是它的錯！都是 SeLinux 的問題，又再花上數小時‧‧‧</p><p>今晚氣溫急降，只有 9<sup>o</sup>C，唉~~~ </p><p><img src="http://blog.rootlau.com/blog/templates/default/img/emoticons/sad.png" alt=":-(" style="display: inline; vertical-align: bottom;" class="emoticon" /></p></span><br />
 
            </div>
        </content>
        
    </entry>

</feed>