<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1748789093099574696</id><updated>2024-08-31T04:05:38.385-07:00</updated><category term="Linux/FreeBSD"/><category term="Windows"/><category term="AIX"/><category term="網管軟體"/><category term="BT"/><category term="Virtualization"/><category term="電腦其他"/><category term="DB"/><category term="Delphi"/><category term="Freenas"/><category term="攝影"/><title type='text'>酗咖啡的笨魚</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5808432545733214763</id><published>2015-09-22T00:33:00.003-07:00</published><updated>2015-09-22T00:33:50.291-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Freenas"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>Freenas Error</title><summary type="text">Freenas 安裝後，發現一直出現No configured network interfaces were found. Try to do it manually.



檢查過後也無問題，重安裝其他版本依然如此。

原來是RAM不夠，導致的。



把RAM加到 1024MB就可以了。



*********************************************************



CPU: E5300

RAM:512MB

M/B: Gigabyte GA-G31M-ES2



After install Freenas-9.3- stable ,the message always show on the screen.



No configured interfaces were found. Try to do it manually</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5808432545733214763/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5808432545733214763?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5808432545733214763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5808432545733214763'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2015/09/freenas-error.html' title='Freenas Error'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-2652499878666031713</id><published>2015-07-28T18:38:00.001-07:00</published><updated>2015-08-03T17:11:13.531-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX"/><title type='text'>查看AIX系统上次密碼修改時間</title><summary type="text">

在系统文件/etc/security/passwd中紀錄用戶密碼，以及上次修改密碼的時間，我們以root為例：
root@testr6:/&amp;gt; cat /etc/security/passwd
root:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; password = x.Esj3Yy.9f9
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastupdate = 1438133009
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flags =

lastupdate為上次密碼修改時間，可以用下列語法查看密碼修改時間。

#perl -le &#39;print scalar localtime 1438133009&#39;
Wed Jul 29 09:23:29 2015

所以，root上次修改密碼是在2015年7月29日 上午09:23:29。


</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/2652499878666031713/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/2652499878666031713?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2652499878666031713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2652499878666031713'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2015/07/aix.html' title='查看AIX系统上次密碼修改時間'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-3218789252000403014</id><published>2014-06-14T03:21:00.000-07:00</published><updated>2014-06-14T03:21:00.970-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delphi"/><title type='text'>Delphi UTF-8/Big5</title><summary type="text">
varb: TStringStream; //用于接收json数据的流s1: String;beginb := TStringStream.Create(&#39;&#39;,65001); //65001是UTF-8IdHTTP1.Get(&#39;http://www.weather.com.cn/data/cityinfo/101010100.html&#39;, b); //获取中国气象局公开的json数据

s1 := b.DataString;mmoJsonContent.Text := s1; //展示原始数据


</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/3218789252000403014/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/3218789252000403014?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/3218789252000403014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/3218789252000403014'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2014/06/delphi-utf-8big5.html' title='Delphi UTF-8/Big5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-4062286550295867926</id><published>2014-05-11T00:04:00.001-07:00</published><updated>2014-05-11T00:04:40.498-07:00</updated><title type='text'>Tomato Openvpn Setup</title><summary type="text">



家裡那台G45的IP sharing吃了Tomato後，多活了10多年。記錄一下Openvpn的設定方式。





Source:http://todayguesswhat.blogspot.tw/2011/03/quick-simple-vpn-setup-guide-using.html
</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/4062286550295867926/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/4062286550295867926?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/4062286550295867926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/4062286550295867926'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2014/05/tomato-openvpn-setup.html' title='Tomato Openvpn Setup'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5274053401018694520</id><published>2014-04-07T19:30:00.004-07:00</published><updated>2014-04-07T19:30:52.817-07:00</updated><title type='text'>Notes id過期處置</title><summary type="text">





管理者：


先取得使用者的 ID 檔案，再打開 Lotus® Domino® Administration ，必須有適當的權限
打開 Configuration tab，展開右側的 Certification ，選取 Certify
選取自己權限的認證方式：如果是用 ID 檔就選取ID檔，如果是CA認證就選 CA認證的方式來開啟自己的權限
選取該使用者&amp;nbsp;ID 檔，重新發給憑證
輸入密碼
可以在此變更一些選項，例如 registration server, expiration date 等等
按 Certify
結束之後將重新認證過的使用者ID檔交給使用者。





引用出處：http://www.homeoffice.idv.tw/2008/01/864
</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5274053401018694520/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5274053401018694520?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5274053401018694520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5274053401018694520'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2014/04/notes-id.html' title='Notes id過期處置'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-8725851863442373597</id><published>2013-08-25T22:16:00.002-07:00</published><updated>2013-08-25T22:50:00.505-07:00</updated><title type='text'>CheckPoint 記事</title><summary type="text">接受到指令要針對某台作QoS設定，導致GUI無法連線。

可使用fw unloadlocal &amp;nbsp;指令把FW關閉，讓GUI連線


其他指令可以參考這邊：http://dodgelin.blogspot.tw/2010/06/checkpoint.html

</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/8725851863442373597/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/8725851863442373597?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/8725851863442373597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/8725851863442373597'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2013/08/checkpoint.html' title='CheckPoint 記事'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-7333971727600434204</id><published>2012-12-18T22:27:00.003-08:00</published><updated>2012-12-18T22:27:29.053-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>Linux 上找尋大於50MB的檔案</title><summary type="text">Linux 上找尋大於50MB的檔案&amp;nbsp;find / -type f -size +51200 -exec ls -lh {} \; | awk &#39;{ print $9 &quot;: &quot; $5 }&#39;

</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/7333971727600434204/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/7333971727600434204?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7333971727600434204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7333971727600434204'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2012/12/linux-50mb.html' title='Linux 上找尋大於50MB的檔案'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-7580452409664607740</id><published>2012-08-24T21:41:00.002-07:00</published><updated>2012-08-24T21:41:26.670-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>remove symbolic link on Linux</title><summary type="text">
人總要有錯誤才會學到教訓，因為不小心下了rm -rf sy_link ，結果導致
symbolic&amp;nbsp;link目錄下的資料被砍掉了。其實要移除symbolic link是有方法的。記錄下來是為了要能夠提醒自己不要忘掉....

目的地是一個檔案# unlink my_link
目的地是一個目錄# unlink sy_link/



</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/7580452409664607740/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/7580452409664607740?isPopup=true' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7580452409664607740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7580452409664607740'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2012/08/remove-symbolic-link-on-linux.html' title='remove symbolic link on Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-897374442917729822</id><published>2012-06-25T19:39:00.000-07:00</published><updated>2012-06-25T19:39:15.734-07:00</updated><title type='text'>Delphi Get Public IP</title><summary type="text">PublicIP := IdHTTP1.Get(&#39;http://automation.whatismyip.com/n09230945.asp&#39;);




ref:http://stackoverflow.com/questions/7015483/how-to-get-external-public-ip-in-delphi</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/897374442917729822/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/897374442917729822?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/897374442917729822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/897374442917729822'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2012/06/delphi-get-public-ip.html' title='Delphi Get Public IP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-3913261035076861034</id><published>2011-02-08T07:50:00.000-08:00</published><updated>2014-03-18T17:30:47.624-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>如何掛載LVM(How to mount a LVM system)</title><summary type="text">在拿到RHCE的那個年代，LVM是一項在Linux上可看不要玩的功能。畢竟他的功能與穩定性還是無法媲美unix的。但現在的LVM在某大廠的支持下，已經發展得很好。所以在預設安裝之時Patiton就已經預設用LVM來安裝。但總無可避免得會遇到換機器、或者移動硬碟之事。那如何在新的系統上mount這LVM就必須瞭解的。

系統環境：CentOS 5.5


1.找出partition的VG，我都下fdisk -l
[root@localhost /]# fdisk -l
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/3913261035076861034/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/3913261035076861034?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/3913261035076861034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/3913261035076861034'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/02/lvm.html' title='如何掛載LVM(How to mount a LVM system)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-569216827323895668</id><published>2011-01-20T22:33:00.000-08:00</published><updated>2011-01-20T22:47:21.977-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX"/><category scheme="http://www.blogger.com/atom/ns#" term="DB"/><title type='text'>Informix Load/Upload on AIX/Linux</title><summary type="text">Informix 資料庫Load/Unload語法------------------------------最近B咖又要開始接下這工作了，忘了好幾年前的操作。剛好有遇到，先來紀錄一下。今天的工作是要把改爛的Table給回復回來。在Informix下面，要將Table倒回資料庫內，所要用的語法是Load From。語法如下：   LOAD FROM &#39;TABLE_data&#39; DELIMITER &#39;|&#39; INSERT INTO Table_name如果是要備份到TXT檔的，就是  UNLOAD TO ‘Table_data’ DELIMITER  ‘|’select * from Table_name;這邊要注意，資料庫的備份先做起來，不然的話就沒機會了。來個簡易的script吧。1.先把dbschema給被份起來dbschema -d dbname@ol_db -ss &gt; </summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/569216827323895668/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/569216827323895668?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/569216827323895668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/569216827323895668'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/informix-loadupload-on-aixlinux.html' title='Informix Load/Upload on AIX/Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-6925242149022133967</id><published>2011-01-17T05:26:00.000-08:00</published><updated>2011-01-17T05:36:22.666-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電腦其他"/><title type='text'>外崁Yam天空影音</title><summary type="text">1.先到Yam找到你喜歡的音樂http://mymedia.yam.com/(我比較喜愛用google搜尋歌名，然後進入yam)點音樂圖示~~進入分享該音樂網頁2.複製上方網址3.進入下方網址http://kej.tw/flvretriever/將音樂網址貼到如圖中位置，然後按右邊RETIEVE NOW4.將下方產生mp3音樂網址複製下填在下方語法中紅色字音樂網址處5.將複製的網址取代『音樂網址』的地方6.最後將語法貼到部落格自訂欄位的語法框中即可</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/6925242149022133967/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/6925242149022133967?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/6925242149022133967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/6925242149022133967'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/yam.html' title='外崁Yam天空影音'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtgsO2-IvtP6Ay9-BvffDF_p3ig-8lgRWOm1a8yXqOgQAcd_JeuiXbkB9WtKGCzfisi8zA4_5xKSRV_5SDEIiLKPb7Bx7W5qdwbPKyEGjiQt0eSi4inSwCBsFIuTH9XOjgpe0m-v52Tow/s72-c/A1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-919621192677757735</id><published>2011-01-17T02:09:00.000-08:00</published><updated>2011-01-17T03:05:55.275-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><category scheme="http://www.blogger.com/atom/ns#" term="網管軟體"/><title type='text'>OpenNMS安裝手冊 For windows</title><summary type="text">安裝於Windows平台OpenNMS自1.3.8版本以後已不再僅限定架設於UNIX like平台，而開始支援架設於Windows平台。雖然仍有些部分尚待改進，但總的來說已可以支援裝設於Windows2000以上的作業系統了。在本篇文章中，筆者所安裝的為1.3.9版。1、安裝JDK連結到java.sun.com網站上，下載Java 5 (1.5版)或更高版本的Java SE JDK，並執行安裝。要注意的是一定要是JDK，而不是JRE，因為在JSP網頁的動態編譯上必須使用到JDK。你必須下載標示為&quot;Java SE&quot; (標準版)的版本，而不是EE、ME或FX的版本。2、安裝PostgreSQL2-1、下載安裝程式至http://www.postgresql.org/下載windows 版的PostgreSQL安裝程式。2-2、將安裝程式解壓縮在程式未解壓縮前是無法進行安裝的，所以你必需先以解</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/919621192677757735/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/919621192677757735?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/919621192677757735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/919621192677757735'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/opennmsfor-windows.html' title='OpenNMS安裝手冊 For windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3wUaXpJ8VwWFIG7gI9X2BMA_kLJ-eVt-Zb5BO4hmMW7nbL0YgGBTdVwkPmQK9WAPAjdF5AxfEtdOgH9kZ58mMIfEgslxe0mz6IMsVHCbg9W1_ZGAIorrXf-EBBCwd9dBRw8W_FRpMHCo/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-419690231753319192</id><published>2011-01-15T07:53:00.001-08:00</published><updated>2011-01-15T07:54:06.293-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BT"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>CentOS上安裝rtorrent</title><summary type="text">緣起：因為不喜歡在windows上安裝太多東西。尤其是像bt、電驢或者FOXY這種東西。因為一設定不好可能將個人的重要資料外洩，抑或者安裝下載軟體時被偷偷地植入一些木馬之類的東西。被竊取e-mail、MSN甚至是網路銀行的帳號密碼。加上家裡的電腦串成一個網路，所以想說架設一個SERVER來共享給這些電腦使用。但因為還是有下載的需求，加上Server端我偏愛用Linux來當作我的伺服器，rTorrent變成為我的選項。廢話不多說，就來看安裝了。作業系統： Centos 5.2 32bit由於我偏好用rpm 來安裝，也比較好管理。(其實是懶得去編譯、除錯之類的)，所以以下的安裝都會用RPM來安裝。步驟一：下安裝好系統後，請更新Path。 yum -y update步驟二：安裝下列套件1.curl  下 yum install curl2.sigc++-2.0下載  libsigc++</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/419690231753319192/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/419690231753319192?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/419690231753319192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/419690231753319192'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/cent.html' title='CentOS上安裝rtorrent'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-7417856615313040183</id><published>2011-01-14T08:34:00.000-08:00</published><updated>2011-01-14T08:59:38.618-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="攝影"/><title type='text'>2010年阿猴媽祖盃八家將官將首大賽</title><summary type="text">2010年阿猴媽祖盃八家將官將首大賽，地點：屏東市慈鳳宮。每年的年底，屏東市慈鳳宮為了要傳承這項傳統的文化，並且將這項文化介紹給大家都會舉辦這項傳統的比賽。想拍這樣的文化活動已經好幾年了。今年也趁著此次機會，帶家人看了一場文化的饗宴。首先來講解一下八家將與官將首的差別：官將首：裝扮則頭戴盔帽、臉塗五顏六色圖案、嘴含獠牙、身穿道服、腳著草鞋、手執各項法器。屬於陰間官職，所以有穿官服、盔帽。一般來說大約是2-3人所組成。「八家將」基本的成員是指甘、柳、范、謝四爺等「四將」，及春、夏、秋、冬﹝何、張、徐、曹﹞「四季神」，加起來合稱「八將」。其實在這傳統文化裡面，從了臉譜、服裝、表演劇碼、團體默契等等，沒親自到場聽到詳細的講解一般人根本無從體會這其中的文化意義。建議有興趣的朋友可以在每年的12月底左右到場享受一場文化的洗禮。(因為我也不太講、也快忘光了。只記得當天人很多、有點冷、拍的有點累)到</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/7417856615313040183/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/7417856615313040183?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7417856615313040183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7417856615313040183'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/2010.html' title='2010年阿猴媽祖盃八家將官將首大賽'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXsfuoyKfiA5Jw5JU9uWm6dP1FjBHakZK4k5uc6_-VI8Dglvg6E-LHNCY9BWOaiV9taWcO7I4hlVVTWl7TTprpVTo0jszJVeAbQ_r5AkGVAqoSsjNThCu-RO-kRO1WxynwgcMrqR1OMM0x/s72-c/DPP_0005.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-7977775221712978363</id><published>2011-01-11T01:41:00.000-08:00</published><updated>2011-01-18T15:37:55.349-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BT"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>rtorrent console操作</title><summary type="text">基本操作 方向鍵↑、↓、←、→：切換功能表 開始下載：Ctrl + s (使用Screen：Ctrl + a 後再按 s) 暫停下載：Ctrl + d 停止下載：Ctrl + k 清除Torrent下載列表：[1]在停止狀態使用Ctrl + d、[2]在下載完成的檔案連續按Ctrl + d二次 調整上傳速度：增加:a / s / d   減少: z / x / c 調整下載速度：增加:A / S / D :減少: Z / X / C 重新hash檔案：Ctrl + r 離開rtorrent：Ctrl + q (使用Screen：Ctrl + a 後再按 q)  使用Screen如果不小心按到Ctrl + s，造成畫面完全凍結的話，請用Ctrl + q取消凍結畫面。</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/7977775221712978363/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/7977775221712978363?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7977775221712978363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/7977775221712978363'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2011/01/rtorrent-console.html' title='rtorrent console操作'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5974219975013961794</id><published>2010-01-24T23:22:00.001-08:00</published><updated>2010-01-24T23:34:51.651-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>安裝 php-5.2版本到CentOS 5.X上</title><summary type="text">由於CentOS默認yum安裝php的版本是5.1.6，使用yum update命令不能升級php到最新版本。並且PHP在5.2之前都有個小小的錯誤，升級到最新版的PHP是非常有必要的。        以下為在CentOS5.4用yum安裝PHP5.2.9的步驟。首先在/etc/yum.repos.d/CentOS-Base.repo 文件末尾添加以下代碼：[c5-testing]name=CentOS-5 Testingbaseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/enabled=0gpgcheck=1gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing        保 存此文件，執行yum --disablerepo=\* </summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5974219975013961794/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5974219975013961794?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5974219975013961794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5974219975013961794'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2010/01/php-52centos-5x.html' title='安裝 php-5.2版本到CentOS 5.X上'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-575403385578887779</id><published>2009-12-01T04:45:00.000-08:00</published><updated>2009-12-01T04:51:02.525-08:00</updated><title type='text'>MSN 9 多帳號修改</title><summary type="text">相信很多人跟我一樣有一個以上的MSN帳號，但討厭的是MS只限定一機同時只有帳號登入。想要更改MSN的設定，卻又怕外掛軟體潛藏危險，直入木馬。動手修改regedit就成了必要的程序了。不用怕很簡單的依照下列步驟也可以輕鬆的修改喔。1. 開始--&gt;執行--&gt;鍵入 regedit2. 找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenger3. 增加一個 DWORD 值4. 將 DWORD 值名修改為 MultipleInstances5. 點選 MultipleInstances6. 將數值從 0 改為 17. 關閉 regedit8.重新開機即可。</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/575403385578887779/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/575403385578887779?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/575403385578887779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/575403385578887779'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2009/12/msn-9.html' title='MSN 9 多帳號修改'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-9080259120092040872</id><published>2009-09-28T17:39:00.000-07:00</published><updated>2009-09-28T17:43:14.663-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>SMABA下亂碼的問題</title><summary type="text">最近MIS的程式更新主機掛點，CentOS 5跟 RedHat 7的samba在Default LANG的上就不太一樣。亂碼的問題一直存在。爬了網路把修改的心得記錄。作為以後的筆記。1.vi /etc/sysconfig/i18n LANG=&quot;zh_TW.Big5&quot;2.smb.conf則改為dos charset = CP950unix charset = BIG5</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/9080259120092040872/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/9080259120092040872?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/9080259120092040872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/9080259120092040872'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2009/09/smaba.html' title='SMABA下亂碼的問題'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5324551209080723429</id><published>2009-04-01T19:03:00.000-07:00</published><updated>2009-04-01T19:05:35.851-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Windows下自動FTP到Linux FTP</title><summary type="text">**建立上傳文件檔案  open   192.168.0.1    user    password    bin    put   本地端FileName  目的端FileName  bye  **在MS-DOS 下執行  ftp   -i   -s:c:\a.txt</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5324551209080723429/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5324551209080723429?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5324551209080723429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5324551209080723429'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2009/04/windowsftplinux-ftp.html' title='Windows下自動FTP到Linux FTP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-2579082358626084734</id><published>2008-11-23T23:07:00.000-08:00</published><updated>2008-11-24T00:13:51.429-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="網管軟體"/><title type='text'>Opennms 1.6.1安裝</title><summary type="text">&lt;!--[if !mso]&gt;  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}  &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;     Normal   0      0   2      false   false   false                                                         MicrosoftInternetExplorer4   &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;     &lt;![endif]--&gt;&lt;!--[if !mso]&gt;  st1\:*</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/2579082358626084734/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/2579082358626084734?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2579082358626084734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2579082358626084734'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2008/11/v-behaviorurldefaultvml-o.html' title='Opennms 1.6.1安裝'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbkTdd3sYLiHJjiyE0H4ycg-hnzg9NQfw5wBNsC4VB2MH2LN5lsyX8WHF07sFBaBxi9yoGgfncUUh3zgLn_0BL4YZ_SL1Pbeqiqq6YVo4TrjCWsSV3-SF3TwVQf0VBr6qAGCHfA7ulm8I/s72-c/op3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-8134850387692083266</id><published>2008-10-02T20:15:00.000-07:00</published><updated>2008-10-02T20:20:47.837-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>更改遠端桌面PORT</title><summary type="text">有時候需要連線到家中的電腦，VNC跟XP又不太共容一段時間就容易當掉，所以改用MS的遠端桌面。由於MS遠端桌面的通訊PORT是大家所熟悉的3389，為了更安全一點所以興起了改PORT的念頭。WindowsXP 遠端桌面預設為3389 port，可藉由修改註冊檔來變更。1.執行regedit2.找到該目錄下「HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp」的「PortNumber」值即是連線port。3.更改為所想要的PORT(可以用16進位或者10進位)遠端桌面也有一個滿方便的功能將本機的磁碟機分享給遠端的電腦，1.「選項→本機資源→自動連線到本機裝置」勾選「磁碟機」2.登入遠端電腦後，在「我的電腦」內看到本機的磁碟機。</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/8134850387692083266/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/8134850387692083266?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/8134850387692083266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/8134850387692083266'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2008/10/port.html' title='更改遠端桌面PORT'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-2076497491467807512</id><published>2008-09-07T18:21:00.000-07:00</published><updated>2008-09-07T18:22:11.335-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>LIUX硬碟狀態指令</title><summary type="text">Linux下如何測試讀寫效能hdparm -Tt /dev/hda/dev/hda: Timing buffer-cache reads:   128 MB in  0.73 seconds =175.34 MB/sec (顯示快取資料取的能力) Timing buffered disk reads:  64 MB in  1.13 seconds = 56.64 MB/sec (硬碟資料的讀取能力)取得硬碟的最大同步存取 sector 值與目前的 UDMA 模式[root@chcmis2 root]# hdparm -i /dev/hda/dev/hda: Model=HDT722516DLAT80, FwRev=V43OA70A, SerialNo=VD071BTCCUZUSF Config={ HardSect NotMFM HdSw&gt;15uSec Fixed DTR&gt;10Mbs </summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/2076497491467807512/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/2076497491467807512?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2076497491467807512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/2076497491467807512'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2008/09/liux.html' title='LIUX硬碟狀態指令'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5700104061355632359</id><published>2008-09-03T20:22:00.000-07:00</published><updated>2008-09-03T20:28:54.575-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>Linux下的各種壓縮格式</title><summary type="text">.tar解包：tar xvf FileName.tar打包：tar cvf FileName.tar DirName（注：tar是打包，不是壓縮！）---------------------------------------------.gz解壓1：gunzip FileName.gz解壓2：gzip -d FileName.gz壓縮：gzip FileName.tar.gz 和 .tgz解壓：tar zxvf FileName.tar.gz壓縮：tar zcvf FileName.tar.gz DirName---------------------------------------------.bz2解壓1：bzip2 -d FileName.bz2解壓2：bunzip2 FileName.bz2壓縮： bzip2 -z FileName.tar.bz2解壓：tar jxvf </summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5700104061355632359/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5700104061355632359?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5700104061355632359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5700104061355632359'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2008/09/linux.html' title='Linux下的各種壓縮格式'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1748789093099574696.post-5015612787434783344</id><published>2008-08-27T22:23:00.000-07:00</published><updated>2008-09-08T18:45:04.413-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux/FreeBSD"/><title type='text'>ssh自動登入shell</title><summary type="text">由於我的SERVER無法使用Key進行無密碼的ssh登入，卻必須要每天把資料COPY到一台SERVER上，所以參照前人的經驗寫了這個SCP的shell來進行日常備份。前提是那台SERVER上必須安裝expect套件才可以。ssh自動登入：#!/usr/bin/expect -fset timeout 30spawn scp UserName@Server-IP:/目標目錄/目標檔案 /想要儲存的目錄/檔案名稱expect &quot;password:&quot;send &quot;YourPassword\r&quot;expect &quot;]*&quot;後記：set timeout 30為30秒，如果有需要可以增減</summary><link rel='replies' type='application/atom+xml' href='http://addichen.blogspot.com/feeds/5015612787434783344/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1748789093099574696/5015612787434783344?isPopup=true' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5015612787434783344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1748789093099574696/posts/default/5015612787434783344'/><link rel='alternate' type='text/html' href='http://addichen.blogspot.com/2008/08/sshshell.html' title='ssh自動登入shell'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>