<?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-4635123121520126535</id><updated>2024-10-08T23:39:26.764+08:00</updated><category term="disk"/><category term="nagios"/><category term="shell script"/><category term="ubuntu"/><category term="ssh"/><category term="VMWare"/><category term="grep"/><category term="grub"/><category term="LVM"/><category term="backup"/><category term="bash指令"/><category term="mysql"/><category term="wubi"/><category term="centos"/><category term="cron"/><category term="ftp"/><category term="iptables"/><category term="rsync"/><category term="syslog"/><category term="wine"/><title type='text'>Linux筆記</title><subtitle type='html'>Ubuntu／CentOS /SUSE ...錯亂中...&#xa;不少資訊沒練沒試轉眼就作古了... 當轉貼備份</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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>78</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4635123121520126535.post-5444628658766197114</id><published>2014-05-10T23:56:00.003+08:00</published><updated>2014-05-10T23:58:38.542+08:00</updated><title type='text'>[轉貼] web server 設定對特定 IP 來源限速 XD</title><summary type="text">同個目的多種做法 XD

來源：
How to throttle the FCC to dial up modem speeds on your website using Nginx
https://gist.github.com/kyledrake/e6046644115f185f7af0






ferengi-plan.txt









12345678910111213141516171819202122232425262728293031323334353637
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited

#

# Current known FCC address ranges:

# https://</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5444628658766197114/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2014/05/web-server-ip-xd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5444628658766197114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5444628658766197114'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2014/05/web-server-ip-xd.html' title='[轉貼] web server 設定對特定 IP 來源限速 XD'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-6183754531855582165</id><published>2014-05-01T19:07:00.001+08:00</published><updated>2014-05-02T22:01:48.952+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash指令"/><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><title type='text'>網樂通改機筆記(2) - 201404 -用 sh4twbox 開機後試玩的事</title><summary type="text">
在功能選單試看看備份的選項
============ Please Enter Number:
3

We use &#39;nc&#39; for backup, for example

To Server (192.168.1.1): nc -l -p 8888 &amp;gt; backup.dd
From Host (192.168.1.5): dd if=/dev/sda bs=1M | nc 192.168.1.1 8888

type &#39;nc -l -p 8888 &amp;gt; backup.dd&#39; on server, Enter when ready:
Enter backup server IP:
Enter backup device (default:/dev/sda):

Wait about 16 minutes, file size should be 8,027,897,856
</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/6183754531855582165/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2014/05/2-201404-sh4twbox.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/6183754531855582165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/6183754531855582165'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2014/05/2-201404-sh4twbox.html' title='網樂通改機筆記(2) - 201404 -用 sh4twbox 開機後試玩的事'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-1346819557946710160</id><published>2014-04-29T21:55:00.000+08:00</published><updated>2014-05-02T22:00:46.643+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash指令"/><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><title type='text'>網樂通改機筆記(1) - 201404 用  sh4twbox  開機</title><summary type="text">
聽說一般人對 壹網樂、網樂通、網通樂、通樂網…還是不一定搞得清。

改機在不同時期有不同的改法，現在方便很多了。

以前要會接 TTL-to-COM or TTL-to-USB console 。現在只需照教學步驟就可以改出基本環境來用。

（運氣好的話）一般會卡住的步驟，則需 Linux 相關知識來做判斷解決。幾乎要慘到硬體或 DOM 出問題才需要接 console 看問題出在哪。

把安裝的記錄下來。
一系列的記錄會是使用 sh4twbox 灌&amp;nbsp;NexNAS-wheezy-sh4twbox092

參考資訊：各取了自己要用到的部份…所以還是再自己整理一份筆記
&amp;nbsp;派樂靈丹 - TWPDA&amp;nbsp;http://www.twpda.com/2013/09/sh4twbox-07.html
&amp;nbsp;橘子老師教學資料庫&amp;nbsp;http://</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/1346819557946710160/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2014/04/201404.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/1346819557946710160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/1346819557946710160'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2014/04/201404.html' title='網樂通改機筆記(1) - 201404 用  sh4twbox  開機'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-5999550582812924875</id><published>2014-04-23T22:28:00.004+08:00</published><updated>2014-04-29T22:32:06.556+08:00</updated><title type='text'>memcached 檢查基本 service </title><summary type="text">

telnet 到該 server 的 memcached port

ex.
telnet memcache-server 11211
然後輸入 stats

$ telnet memcache-server 11211

telnet&amp;nbsp;10.12.34.56&amp;nbsp;11211

Trying 10.12.34.56...

Connected to&amp;nbsp;&amp;nbsp;memcache-server&amp;nbsp;.

Escape character is &#39;^]&#39;.

stats settings

STAT maxbytes 2147483648

STAT maxconns 32768

STAT tcpport 11211

STAT udpport 11211

STAT inter NULL

STAT verbosity 0

STAT oldest 0</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5999550582812924875/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2014/04/memcached-service.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5999550582812924875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5999550582812924875'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2014/04/memcached-service.html' title='memcached 檢查基本 service '/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-7655892573871036222</id><published>2011-11-08T00:48:00.001+08:00</published><updated>2014-04-27T01:54:44.927+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><title type='text'>large partitions greater than 2TB</title><summary type="text">



[CentOS] LVM on large partitions greater than 2TB
http://lists.centos.org/pipermail/centos/2007-February/032574.html



# parted /dev/sdb
(parted) mklabel gpt
(parted) mkpart primary 0 2.5T
(parted) quit

# pvcreate /dev/sdb1
# vgcreate myvolume /dev/sdb1
# lvcreate -L 2.5TB myvolume

# mkfs.ext3 /dev/mapper/myvolume-lvol0




http://www.redhat.com/archives/linux-lvm/2006-March/msg00104.html
</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/7655892573871036222/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/11/large-partitions-greater-than-2tb.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7655892573871036222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7655892573871036222'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/11/large-partitions-greater-than-2tb.html' title='large partitions greater than 2TB'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-8164494595075164833</id><published>2011-10-05T14:40:00.003+08:00</published><updated>2014-04-27T01:55:18.112+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios linux nrpe設定(3)使用nagios-plugins</title><summary type="text">參考
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
http://www.debianhelp.co.uk/nagiospluins.htm

比較：
nagios server端：192.168.1.2 ，已在web server根目錄放 index.html 的 nagios server端
client 端：192.168.1.133，web server根目錄沒東西，check_http 正常會回應 403 Forbidden

兩者在 nrpe.cfg 都沒定義 &amp;nbsp;check_http ，但 command-plugins.cfg 有command[check_http]


nagios server端：
nagiosserver~]# /usr/lib64/nagios/plugins/check_http -H</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/8164494595075164833/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-nrpe3nagios-plugins.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8164494595075164833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8164494595075164833'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-nrpe3nagios-plugins.html' title='nagios linux nrpe設定(3)使用nagios-plugins'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-7813213022583658563</id><published>2011-10-05T13:42:00.000+08:00</published><updated>2014-04-27T01:53:35.049+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios linux nrpe設定(2)-基本安裝</title><summary type="text">
*被監視端：
從剛裝好完全沒東西的 VM開始…

CentOS5.5 用 rpmforge 的來源做 yum 安裝，plugins 是放在
/usr/lib64/nagios/plugins/


yum install nrpe
會安裝
fping
nagios-plugins
perl-Crypt-DES
perl-Net-SNMP


/etc/nagios/ 裡只會出現 command-plugins.cfg &amp;nbsp;nrpe.cfg 兩個檔
/usr/lib64/nagios/plugins/ 會有其它 check項目





修改 /etc/nagios/nrpe.cfg &amp;nbsp;註解掉
#server_address=
allow_hosts=

service nrpe restart&amp;nbsp;之後

*檢查
netstat -at | grep 5666
</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/7813213022583658563/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-nrpe2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7813213022583658563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7813213022583658563'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-nrpe2.html' title='nagios linux nrpe設定(2)-基本安裝'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-2868382113953832031</id><published>2011-10-04T15:56:00.003+08:00</published><updated>2014-04-27T01:55:53.632+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios linux nrpe設定</title><summary type="text">server 裝好的 localhost

CentOS5.5 用 rpmforge 的來源做 yum 安裝，plugins 是放在
/usr/lib64/nagios/plugins/

...首先
/etc/nagios/nrpe.cfg 裡的
server_address=
allow_hosts=
後面跟的 IP 不能用逗點加別的 ip (例如：192.168.2.3,127.0.0.1)
目前先試只定義&amp;nbsp;server_address 1個 IP
allow_hosts 註解掉

iptables 加上 &amp;nbsp;&amp;nbsp;-p tcp -m tcp --dport 5666 -j ACCEPT


service nrpe restart&amp;nbsp;之後


/usr/lib64/nagios/plugins/check_nrpe -H {host}
&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/2868382113953832031/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-client.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/2868382113953832031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/2868382113953832031'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-linux-client.html' title='nagios linux nrpe設定'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-5164503674652600110</id><published>2011-10-04T15:54:00.000+08:00</published><updated>2011-10-05T15:00:41.554+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios linux nrpe設定(5) 另外加 plugins &amp; command(2)</title><summary type="text">
想新增一項目來看Linux client端的記憶體使用情形（Windows的預設有此項目）
預設沒有此command可處理…
記錄改了多少東東…

實作完…問題在佈署

Client 端(安裝 nagios-nrpe ，nagios-nrpe-plugins)
*在 /usr/lib64/nagios/plugins/ &amp;nbsp;新增command用的shell script，
記得chmod 755（權限要跟其它plugin一樣）

實作時用的是下列討論區用的 script：
http://serverfault.com/questions/195815/nagios-memory-configuration
另有一版本可參考
http://www.linuxquestions.org/questions/linux-software-2/</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5164503674652600110/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-plugins-command2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5164503674652600110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5164503674652600110'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-plugins-command2.html' title='nagios linux nrpe設定(5) 另外加 plugins &amp; command(2)'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-8384181960310750555</id><published>2011-10-04T15:29:00.000+08:00</published><updated>2011-10-05T14:59:35.029+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios linux nrpe設定(5) 另外加 plugins &amp; command(1)</title><summary type="text">
起因：看到 check_nt 可以看 Windows Client 的 memory usage ...Linux預設沒有...
由於預設沒有此command可處理，所以開始…

小記：實作記錄見下篇
*在 /usr/lib64/nagios/plugins/ &amp;nbsp;新增command用的shell script，
記得chmod 755（權限要跟其它plugin一樣）
*在 /etc/nagios/objects/commands.cfg 新增 command
*在 /etc/nagios/nrpe.cfg 新增 command
*在 /etc/nagios/objects/對象設定檔.cfg 新增 service


先貼大致用上的 link
做一個 .sh 檔來 check memory



========================================</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/8384181960310750555/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-plugins-command1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8384181960310750555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8384181960310750555'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-plugins-command1.html' title='nagios linux nrpe設定(5) 另外加 plugins &amp; command(1)'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-5608896844365814050</id><published>2011-10-03T17:22:00.001+08:00</published><updated>2011-10-05T14:34:47.060+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>nagios 小記 - Windows Client 安裝 NSClient++</title><summary type="text">
＊&amp;nbsp;Windows Client 要安裝的 NSClient++
新版的 client 會自動加規則到內建的防火牆
但這次遇到&amp;nbsp;nagios server端的&amp;nbsp;objects/commands.cfg，&amp;nbsp;
預設 $HOSTADDRESS&amp;amp; -p 這段後面不是 IP，會有&quot;server port is not interger&quot; 之類的訊息
就算 NSClient 的設定檔不刻意設定 port ，也要在&amp;nbsp;commands.cfg 裡指定“&amp;nbsp;-p 12489”

NSClient++ 安裝時（或事後更改設定檔）設定的密碼
為明碼，在 nagios server端的&amp;nbsp;objects/commands.cfg&amp;nbsp;
找到(預設應該完全沒有?)
&amp;nbsp;command_line &amp;nbsp; &amp;nbsp;$</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5608896844365814050/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5608896844365814050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5608896844365814050'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios.html' title='nagios 小記 - Windows Client 安裝 NSClient++'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-5170655665202874780</id><published>2011-10-03T14:40:00.003+08:00</published><updated>2011-10-04T16:48:56.980+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nagios"/><title type='text'>[轉貼]CentOS install Nagios</title><summary type="text">*這次實作卡在... 漏裝&amp;nbsp;gcc glibc glibc-common gd gd-devel 也沒啥差!?
…要先啟動 nagios service 再啟動 httpd ??

手工安裝（含服務、權限）...愈下文愈新
http://blog.haohtml.com/archives/4565
http://blog.prosight.me/index.php/2009/06/10
http://www.ibm.com/developerworks/cn/linux/l-ganglia-nagios-2/

http://forum.icst.org.tw/phpbb/viewtopic.php?t=17761

http://www.xtgly.com/2010/09/21/centos-5-5-nginx-nagios%E7%9B%91%E6%8E%A7%E7%AB%</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5170655665202874780/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-in-centos.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5170655665202874780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5170655665202874780'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/10/nagios-in-centos.html' title='[轉貼]CentOS install Nagios'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-3240248475155256579</id><published>2011-09-29T10:05:00.000+08:00</published><updated>2014-05-09T10:11:42.493+08:00</updated><title type='text'>[轉貼]Linux SSD,RAMdisk調整</title><summary type="text">http://yblog.org/archive/index.php/11734


一些 script ，搬東西到 ...RAMDisk
https://wiki.archlinux.org/index.php//dev/shm
https://wiki.archlinux.org/index.php/Speed-up_Firefox_using_tmpfs
http://moto.debian.tw/viewtopic.php?t=13103
Tsung&#39;s Blog的拿 RAM 當硬碟來用(RAM Disk)



StudyArea&amp;nbsp;[筆記]Linux Tmpfs 系統加速實作





SSD Trim

http://www.webupd8.org/2013/01/enable-trim-on-ssd-solid-state-drives.html

http://</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/3240248475155256579/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/09/linux-ssd.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3240248475155256579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3240248475155256579'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/09/linux-ssd.html' title='[轉貼]Linux SSD,RAMdisk調整'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-3328238261512706296</id><published>2011-09-27T15:55:00.000+08:00</published><updated>2011-09-27T15:55:54.960+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><title type='text'>[轉貼]FTP 文摘</title><summary type="text">一堆貼文… 不同OS下設定檔路徑不一定相同

鳥哥的(最詳細，最底下還有一堆 sample)
http://linux.vbird.org/linux_server/0410vsftpd.php#server_before

實作時需要此主題的內容“實體帳號的 SELinux 議題” -&amp;gt; 偷懶先disable selinux 也可....
http://www.linuxquestions.org/questions/fedora-35/vsftpd-error-553-could-not-create-file-390569/
run the command ( SELinux 有在run的情況下 )setsebool -P ftp_home_dir 1


http://machiko.pixnet.net/blog/post/33116049



vsftpd官方faq
</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/3328238261512706296/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/09/ftp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3328238261512706296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3328238261512706296'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/09/ftp.html' title='[轉貼]FTP 文摘'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-7028841958917667573</id><published>2011-09-26T12:16:00.000+08:00</published><updated>2011-09-26T12:32:36.056+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><title type='text'>[轉貼]CentOS 5 install ntfs-3g</title><summary type="text">先check 版本（32bit ／64bit）
uname -i
安裝 &amp;nbsp;rpmforge-release
http://packages.sw.be/
i386&amp;nbsp;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i386.rpmx86_64&amp;nbsp;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm



可先安裝 DAG 的 GPG 金鑰
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt



審核下載的套件
rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm



安裝套件</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/7028841958917667573/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/09/centos-5-install-ntfs-3g.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7028841958917667573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/7028841958917667573'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/09/centos-5-install-ntfs-3g.html' title='[轉貼]CentOS 5 install ntfs-3g'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-1626517444562708337</id><published>2011-07-21T15:10:00.003+08:00</published><updated>2011-09-01T15:36:23.913+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iptables"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>讓別台主機存取MySQL</title><summary type="text">vi /etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -i eth1 -p tcp -s 內網網段/24 &amp;nbsp;--dport 3306 &amp;nbsp;-j ACCEPT
-A RH-Firewall-1-INPUT -i eth0 -p tcp -s&amp;nbsp;外網網段/24 &amp;nbsp;--dport 3306 &amp;nbsp;-j ACCEPT



mysql -p

CREATE USER &#39;root&#39;@&#39;10.20.%.%&#39;;
GRANT ALL PRIVILEGES ON * . * TO &#39;root&#39;@&#39;10.20.%.%&#39; IDENTIFIED BY &#39;同localhost用的密碼&#39;;
flush privileges;

CREATE USER &#39;root&#39;@&#39;外網網段.%&#39;;
GRANT ALL PRIVILEGES </summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/1626517444562708337/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/07/mysql.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/1626517444562708337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/1626517444562708337'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/07/mysql.html' title='讓別台主機存取MySQL'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-5509330439187814916</id><published>2011-06-24T23:47:00.000+08:00</published><updated>2011-09-26T12:33:33.042+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><title type='text'>[轉貼]grep 包含子目錄檔案的方法</title><summary type="text">http://blog.xuite.net/jyoutw/xtech/46682931

在所有的網頁中，找出含有某特定字串的檔案。
例如說要找出含有 localhost 字串的檔案，記得 grep 沒有 recursive 的參數，可以搜尋包含子目錄 
所以就要利用 find 的功能來協助

# find ./ -type f -name \*.php |xargs grep &#39;localhost&#39;


用上面的方式連是哪個檔案都會列出來，若用下列的寫法，速度既慢而且也無法得知是哪個檔案有含該字串：
# find ./ -type f -name \*.php -exec grep &#39;localhost&#39; {} \;
&amp;nbsp; </summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/5509330439187814916/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/06/grep.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5509330439187814916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/5509330439187814916'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/06/grep.html' title='[轉貼]grep 包含子目錄檔案的方法'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-4000315448431636996</id><published>2011-06-12T13:49:00.000+08:00</published><updated>2011-09-26T12:36:31.426+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>[轉貼]解析度過大導致螢幕黑畫面</title><summary type="text">http://www.ubuntu-tw.com/modules/newbb/viewtopic.php?topic_id=20514&amp;amp;viewmode=flat&amp;amp;order=ASC&amp;amp;type=&amp;amp;mode=0&amp;amp;start=0&amp;amp;menumode=2

(要改的東東在 wubi 的 img檔裡，還要做掛 img檔的步驟…)


按ctrl+alt+F1進入文字介面
sudo nano /etc/X11/xorg.conf
看看有沒有內容，沒有的話Ctrl+X跳出
照順序執行：
sudo /etc/init.d/gdm stop
sudo X -configure
sudo mv /root/xorg.conf.new /etc/X11/xorg.conf
sudo nano /etc/X11/xorg.conf
到此xorg.conf已有內容，</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/4000315448431636996/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/06/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/4000315448431636996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/4000315448431636996'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/06/blog-post.html' title='[轉貼]解析度過大導致螢幕黑畫面'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-9076782834918087125</id><published>2011-06-12T13:48:00.000+08:00</published><updated>2011-06-12T13:48:45.548+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>mount wubi disk</title><summary type="text">http://ubuntuforums.org/showthread.php?t=1564156

Code:sudo mount -o loop //root.disk /mnt
nautilus /mnt   # to browseIf you have problems mounting it, you can  fsck it (don&#39;t do it if you mounted it already):

Code:sudo fsck //root.disk

http://ubuntuforums.org/showthread.php?t=1037874
Make a new text file:

 Code:#!/bin/sh
sudo mkdir -p /media/WindowsXP
echo &quot;Mounting NTFS Partition&quot;
sudo mount</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/9076782834918087125/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/06/mount-wubi-disk.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/9076782834918087125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/9076782834918087125'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/06/mount-wubi-disk.html' title='mount wubi disk'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-2639339855251983704</id><published>2011-05-19T14:39:00.005+08:00</published><updated>2012-01-11T10:24:25.278+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><category scheme="http://www.blogger.com/atom/ns#" term="shell script"/><title type='text'>[轉貼]過濾 log 資訊的 script</title><summary type="text">仲佑的網誌
http://yowlab.shps.kh.edu.tw/wordpress/?p=1294


檢查誰在亂踹： 
1.grep &#39;login error&#39; /var/log/openwebmail.log &amp;gt; auth_error.log
2.sed &#39; s/^.* (\[0-9]*\.[0-9]*.\[0-9]*\.[0-9]*\).*/\1/g &#39;auth_error.log &amp;gt; ip_list.txt
3.sort ip_list.txt &amp;gt; sort_ip_list.txt
4.uniq -c sort_ip_list.txt


檢查誰在寄信： 
1.grep &#39;send message&#39; /var/log/openwebmail.log.1 &amp;gt; send-mail.log
2.sed &#39; s/^.* (\[0-9]*\.[0-9]*.\[</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/2639339855251983704/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/05/httpyowlab.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/2639339855251983704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/2639339855251983704'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/05/httpyowlab.html' title='[轉貼]過濾 log 資訊的 script'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-8811455973065041983</id><published>2011-05-08T10:31:00.001+08:00</published><updated>2011-05-08T10:37:16.903+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>25 Best SSH Commands / Tricks</title><summary type="text">http://blog.urfix.com/25-ssh-commands-tricks/



25 Best SSH Commands / Tricks
Friday, November 19, 2010

OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to </summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/8811455973065041983/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/05/25-best-ssh-commands-tricks.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8811455973065041983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8811455973065041983'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/05/25-best-ssh-commands-tricks.html' title='25 Best SSH Commands / Tricks'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-8225753835774023551</id><published>2011-04-14T15:06:00.002+08:00</published><updated>2011-04-14T15:06:54.336+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="shell script"/><title type='text'>apache log 的 IP 排序+統計</title><summary type="text">在分析 apache log 時最常用的就是 IP 排序+統計，如果三不五時都要把 webalizer 叫出來跑，實在是有點辛苦，所以我們家 J神 就提供了一個簡易的語法，非常精準好用。

cat access.log |awk ‘{print $1}’|sort|uniq -c|sort -rn|head -n 10

這樣子會排出前十名 hit 最高的 IP，結果就會像

2416 123.156.xx.212
601 122.122.xx.101
583 114.38.xx.214
565 218.168.xx.140
526 114.43.xx.250
525 114.41.xx.40
476 218.168.xx.72
449 115.43.xx.154
424 114.42.xx.172
389 218.169.xx.162</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/8225753835774023551/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/04/apache-log-ip.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8225753835774023551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/8225753835774023551'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/04/apache-log-ip.html' title='apache log 的 IP 排序+統計'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-9058671367983941946</id><published>2011-04-02T21:20:00.000+08:00</published><updated>2011-04-02T21:20:48.397+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="wubi"/><title type='text'>掛載 wubi 做的 disk</title><summary type="text">sudo mount -o loop /dev/sda8/root.disk /mnt/123/




因为以前的系统出现了问题，在原来的root.disk里有些重要文件，想拷出来，可是现在挂载不上。 


我把root.disk文件放到了F 盘，linux下的编号是sda8

我用命令:sudo mount /dev/sda8/root.disk /mnt /123/ -o loop

挂载失败，提示：/dev/sda8/root.disk 不是目录！</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/9058671367983941946/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/04/wubi-disk.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/9058671367983941946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/9058671367983941946'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/04/wubi-disk.html' title='掛載 wubi 做的 disk'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-3333106624868160573</id><published>2011-02-16T11:14:00.000+08:00</published><updated>2011-02-16T11:14:22.654+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>[盜貼]清理 Debian/Ubuntu 儲存空間</title><summary type="text">Rex&#39;s blah blah blahhttp://people.debian.org.tw/~chihchun/2011/02/11/cleanup-your-debian-ubuntu-disk-with-bleachbit/

du --max-depth=1 -x |sort -n

# apt-get autoclean
# apt-get clean 
&amp;nbsp; 
apt-tools dependency 


deborphan -a -n&amp;nbsp; |sort -n 
&amp;nbsp; 
bleachbit (ccleaner for Linux) 


雖然新的 Linux 軟體，已經逐漸使用 .local .cache, .config 等目錄設定方式，但是還是有許多軟體會把快取存在 .config 或自己的目錄中，像是 .gnome2, .firefox 等。</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/3333106624868160573/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/02/debianubuntu.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3333106624868160573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/3333106624868160573'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/02/debianubuntu.html' title='[盜貼]清理 Debian/Ubuntu 儲存空間'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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-4635123121520126535.post-4317101912862942877</id><published>2011-02-10T14:57:00.001+08:00</published><updated>2011-02-10T14:58:31.667+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Omnitty 大量管理Linux主機</title><summary type="text">Omnitty簡化大量管理Linux主機與多台主機指令同步執行測試 By Keynes


http://keynes0918.wordpress.com/2010/09/12/omnitty%E7%B0%A1%E5%8C%96%E5%A4%A7%E9%87%8F%E7%AE%A1%E7%90%86linux%E4%B8%BB%E6%A9%9F%E8%88%87%E5%A4%9A%E5%8F%B0%E4%B8%BB%E6%A9%9F%E6%8C%87%E4%BB%A4%E5%90%8C%E6%AD%A5%E5%9F%B7%E8%A1%8C%E6%B8%AC/

批量管理多台linux的软件 Omnitty
http://myhat.blog.51cto.com/391263/453090

Installation Instructions
Installing Omnitty from</summary><link rel='replies' type='application/atom+xml' href='http://chejen-l.blogspot.com/feeds/4317101912862942877/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://chejen-l.blogspot.com/2011/02/omnittylinux-by-keynes-httpkeynes0918.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/4317101912862942877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4635123121520126535/posts/default/4317101912862942877'/><link rel='alternate' type='text/html' href='http://chejen-l.blogspot.com/2011/02/omnittylinux-by-keynes-httpkeynes0918.html' title='Omnitty 大量管理Linux主機'/><author><name>chejenlin</name><uri>http://www.blogger.com/profile/13073115141086366821</uri><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>