<?php xml version="1.0" encoding="UTF-8"?> 
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html"><![CDATA[聚沙成塔]]></title>
<subtitle type="html"><![CDATA[見微知著]]></subtitle>
<id>http://www.arule.net</id> 
<link rel="alternate" type="text/html" href="http://www.arule.net" /> 
<link rel="self" type="application/atom+xml" href="http://www.arule.netatom.php" /> 
<generator uri="http://www.f2blog.com/" version="1.2 build 03.01">F2Blog</generator> 
<updated>2008-05-21 10:57:29</updated> 
<entry>
  <title type="html"><![CDATA[[公告] 改版通知]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-110.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-1.html" label="About Me" /> 
  <updated>2008-05-21 10:57:29</updated>
  <published>2008-05-21 10:57:29</published>
  <content type='text'><![CDATA[<p><font face="黑体" size="4">由於我的筆記會用到大量引用指令有時偶爾出現程式碼</font></p><p><font face="黑体" size="4">這個 <a href="http://www.f2blog.com" target="_blank" title="http://www.f2blog.com" class="KeyWordStyle">F2blog<img src="http://www.arule.netimages/f2.gif" border="0" alt=""/></a> 實在是越用越難用</font></p><p><font face="黑体" size="4">因此本人決定換掉了</font></p><p><font face="黑体" size="4">但是因為工作繁忙...鮮少有時間來轉換...</font></p><p><font face="黑体" size="4">因此在此日之後本站不會再新增文章...(雖然電腦裡面積一堆了)</font></p><p><font face="黑体" size="4">好了,就這樣了..</font></p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-110.html" /> 
  <id>http://www.arule.netrewrite.php/read-110.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[調整 Tomcat  JVM 參數]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-109.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-16.html" label="Application Service" /> 
  <updated>2008-03-17 15:58:49</updated>
  <published>2008-03-17 15:58:49</published>
  <content type='text'><![CDATA[<p>Linux</p><p>catalina.sh<br />最前面加入</p><p>JAVA_OPTS=&rsquo;-Xms512m -Xmx1024m&rsquo;</p><p><br />-Xms：初始值<br />-Xmx：最大值<br />-Xmn：最小值</p><p>Windows<br />在catalina.bat最前面加入<br />set JAVA_OPTS=-Xms512m -Xmx1024m</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-109.html" /> 
  <id>http://www.arule.netrewrite.php/read-109.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[重新註冊所有dll]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-108.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-14.html" label="Win32" /> 
  <updated>2008-02-19 10:19:23</updated>
  <published>2008-02-19 10:19:23</published>
  <content type='text'><![CDATA[<div class="postText"><p><font size="2">此為出處 </font><font size="2"><a href="http://blog.blueshop.com.tw/joychen/archive/2008/01/25/54165.aspx">http://blog.blueshop.com.tw/joychen/archive/2008/01/25/54165.aspx</a></font></p><p><font size="2">for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1</font></p><p>沒想到cmd也支援 for 迴圈啊..</p></div>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-108.html" /> 
  <id>http://www.arule.netrewrite.php/read-108.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[Grub 開機失敗解決]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-107.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-10.html" label="Linux" /> 
  <updated>2008-02-19 09:53:05</updated>
  <published>2008-02-19 09:53:05</published>
  <content type='text'><![CDATA[<font face="Courier New" size="2"><div><br />我本人習慣不切 /boot</div><div>但 Linux 有時安裝完畢後會一直停留在 grub 開機訊息</div><div>這時往往需要重新安裝一次 grub..</div><div>1. 用安裝光碟&nbsp;linux rescue 修復模式<br />2. 掛載 kernel&nbsp;並 chroot<br /># chroot /mnt/sysimage</div><div>3.重新執行安裝 grub 指令<br /># /sbin/grub-install /dev/hda</div></font>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-107.html" /> 
  <id>http://www.arule.netrewrite.php/read-107.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[把 tomcat 管理畫面洗掉]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-106.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-18.html" label="Tomcat" /> 
  <updated>2008-01-30 09:46:34</updated>
  <published>2008-01-30 09:46:34</published>
  <content type='text'><![CDATA[<p>於 ROOT/WEB-INF 底下之 web.xml</p><p>找到下面這段</p><p><br /> [CODE]<br /><br /> &lt;!-- JSPC servlet mappings start --&gt;&nbsp;&nbsp;&nbsp;<br /><br /> &lt;servlet&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;servlet-name&gt;org.apache.jsp.index_jsp&lt;/servlet-name&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;servlet-class&gt;org.apache.jsp.index_jsp&lt;/servlet-class&gt;<br /> &lt;/servlet&gt;<br /><br /> &lt;servlet-mapping&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;servlet-name&gt;org.apache.jsp.index_jsp&lt;/servlet-name&gt;<br /> &nbsp;&nbsp;&</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-106.html" /> 
  <id>http://www.arule.netrewrite.php/read-106.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[RH 系列 Linux 自動 fsck]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-104.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-10.html" label="Linux" /> 
  <updated>2008-01-03 14:41:04</updated>
  <published>2008-01-03 14:41:04</published>
  <content type='text'><![CDATA[若有不正常關閉系統的情況常常需要待在主機前面按下&nbsp;Y<br /> 找了找 Google 看到這個解法.<br /><a href="http://jeikul.sharera.com/blog/BlogTopic/326.htm">http://jeikul.sharera.com/blog/BlogTopic/326.htm</a><br /><br /> echo &quot;AUTOFSCK_TIMEOUT=5&quot; &gt; /etc/sysconfig/autofsck<br /> echo &quot;AUTOFSCK_DEF_CHECK=yes&quot; &gt;&gt; /etc/sysconfig/autofsck<br /><br /> 應該是有效]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-104.html" /> 
  <id>http://www.arule.netrewrite.php/read-104.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[FreeBSD Ldap Client 端設定]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-100.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-13.html" label="BSD" /> 
  <updated>2007-12-05 17:44:11</updated>
  <published>2007-12-05 17:44:11</published>
  <content type='text'><![CDATA[<p><strong><font size="4">1. 安裝套件</font></strong><br /> 必須裝 openldapclient, nss_ldap, pam_ldap 這三種套件<br /><br /> nss_ldap :<br /> 功能: 尋找到帳號資訊<br /> 設定檔: /usr/local/etc/nss_ldap.conf<br /><br /><font color="#ff0000">備註：直接使用 ports 安裝 nss_ldap&nbsp;即會自動安裝相對應的 openldap-client 版本<br /> 若是先安裝 openldap-client 再安裝 nss_ldap 的話<br /> 可能造成 openldap-client 與 nss_ldap 版本不符合而無法安裝 nss_ldap</font><br /><br /> pam_ldap:<br /> 功能: 讓系統辨識帳號<br /> 設定檔: /usr/local/etc/openldap/ldap.conf&nbsp;&nbsp;<br /><br /> pam_mkhomedir<br /> 功能: 如名稱,非常方便的附屬套件,可自由選擇安裝與否<br /><br /><font size="4"><strong>2.調整設定</strong></font><br /> 設定套件以及變更設定值使用ldap認證<br /><br /> /etc/nsswitch.conf :<br /> 功能: 讓系統依照順序尋找<br /> 設定:<br /> group_compat: ldap nis<br /> passwd_compat: ldap nis<br /><br /> /usr/local/et</p>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-100.html" /> 
  <id>http://www.arule.netrewrite.php/read-100.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[開啟 SuSE 10.1 Xmanager 遠端登入]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-99.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-10.html" label="Linux" /> 
  <updated>2007-11-27 15:47:11</updated>
  <published>2007-11-27 15:47:11</published>
  <content type='text'><![CDATA[&nbsp;vi /etc/opt/gnome/gdm/gdm.conf<br /><br /> 此設定檔與大部分相同，以下為我更動過的選項<br /><br /><div id="code5492" class="quote"><span style="color: #000000"><font face="Courier New">[security]<br /> # If any distributions ship with this one off, they should be shot<br /> # this is only local, so it&#39;s only for say kiosk use, when you<br /> # want to minimize possibility of breakin<br /> AllowRoot=true<br /> # If you want to be paranoid, turn this one off<br /> AllowRemoteRoot=true<br /> # If true this will basically append -nolisten tcp to every X command line,<br /> # a good default to have (why is this a &quot;negative&quot; setting? because if<br /> # it is false,</font></span></div>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-99.html" /> 
  <id>http://www.arule.netrewrite.php/read-99.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[使用 telnet 連上 IRC Server]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-98.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-15.html" label="Network" /> 
  <updated>2007-11-22 01:02:02</updated>
  <published>2007-11-22 01:02:02</published>
  <content type='text'><![CDATA[<div class="UBBPanel"><div class="UBBTitle"><img src="http://www.arule.netimages/code.gif" style="margin:0px 2px -3px 0px;" border="0" alt=""/> CODE:</div><div class="UBBContent"><div class=quote id='code4530'><code><span style="color: #000000"><br />&nbsp;telnet&nbsp;irc.server.domain&nbsp;6667<br /><br />&nbsp;NICK&nbsp;[your&nbsp;name]<br /><br />&nbsp;USER&nbsp;[your&nbsp;name]&nbsp;irc.server.domain&nbsp;blah&nbsp;germaN<br /><br />&nbsp;join&nbsp;#www<br /><br />&nbsp;PRIVMSG&nbsp;#www&nbsp;:&nbsp;TSET<br /><br />&nbsp;</span></code></div><div style="font-size:11px;margin-left:5px"><a href="javascript:" onclick="CopyText(document.getElementById('code4530'));">[Copy to clipboard]</a></div></div></div>]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-98.html" /> 
  <id>http://www.arule.netrewrite.php/read-98.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[AWStats 產生靜態頁面]]></title>
  <author>
	 <name>不小心被逼到會</name>
	 <uri>http://www.arule.netrewrite.php/read-97.html</uri>
	 <email>chaokenyuan@hotmail.com</email>
  </author>
  <category term="" scheme="http://www.arule.netrewrite.php/category-16.html" label="Application Service" /> 
  <updated>2007-11-19 19:45:21</updated>
  <published>2007-11-19 19:45:21</published>
  <content type='text'><![CDATA[<div class="UBBPanel"><div class="UBBTitle"><img src="http://www.arule.netimages/code.gif" style="margin:0px 2px -3px 0px;" border="0" alt=""/> CODE:</div><div class="UBBContent"><div class=quote id='code1760'><code><span style="color: #000000"><br /><br />&nbsp;awstats.pl&nbsp;-config=your.config.com&nbsp;-output&nbsp;-staticlinks&nbsp;-lang=tw&nbsp;&gt;&nbsp;awstats.html<br /><br />&nbsp;</span></code></div><div style="font-size:11px;margin-left:5px"><a href="javascript:" onclick="CopyText(document.getElementById('code1760'));">[Copy to clipboard]</a></div></div></div><br /><br /><br /> awstats 目錄下有一個工具叫做 awstats_buildstaticpages.pl<br /> 即是利用上面命令之 output 參數建立各種不同統計的靜態頁面，<br /> 你可以利用如下或是將其命令摘出另外執行：<br /> (在某個Win32平台我就是這樣單獨做才成功...)<br /><br /> [CODE]<br /><br /><br /> /usr/local/awstats/tools/awstats_buildstaticpages.pl -update -config=your.config.com -lang=tw -dir=/root/awstats/<br /><br /> Launch update process : &quot;/usr/local/awstats/wwwroot/cgi-bin/awstats.pl&quot; -config=your.config.com -update -configdir=<br /><br /> Build main page: &quot;/us]]></content>
  <link rel="alternate" type="text/html" href="http://www.arule.netrewrite.php/read-97.html" /> 
  <id>http://www.arule.netrewrite.php/read-97.html</id> 
</entry>	
</feed>