<?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: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-5879644051952505374</id><updated>2012-01-04T11:27:12.267+08:00</updated><category term='技術'/><category term='大眼喵的照片'/><category term='路亞'/><title type='text'>Gavin's Home</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-2519841249608680137</id><published>2012-01-04T11:26:00.001+08:00</published><updated>2012-01-04T11:27:12.277+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='路亞'/><title type='text'></title><summary type='text'>










</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/2519841249608680137/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=2519841249608680137' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2519841249608680137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2519841249608680137'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2012/01/blog-post.html' title=''/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-yxLWb6o8600/TwPGwRY_0vI/AAAAAAAAEj0/eIxiJiuHPmk/s72-c/%25E8%25BB%259F%25E8%259F%25B2%25E9%2589%25A4%25E6%25B3%2595+1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-6891387565212633546</id><published>2011-11-21T13:46:00.001+08:00</published><updated>2011-11-21T13:48:58.540+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>ubuntu 由 DHCP 取得 ip 以及 hostname</title><summary type='text'>Step 1.
===/etc/networks/interface
 # This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopbackauto eth0iface eth0 inet dhcp

 
 
 Step 2.
=== /etc/dhcp3/dhclient-exit-hooks.d/sethostname ======================
# This script sets the machine hostname to the </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/6891387565212633546/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=6891387565212633546' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/6891387565212633546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/6891387565212633546'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/11/ubuntu-dhcp-ip-hostname.html' title='ubuntu 由 DHCP 取得 ip 以及 hostname'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-4278911399986454980</id><published>2011-09-05T10:01:00.004+08:00</published><updated>2011-09-05T10:01:42.227+08:00</updated><title type='text'>Ununtu Disabled ipv6</title><summary type='text'>

root@server:~# netstat -atnup | grep 177
udp6       0      0 :::177                  :::*                                4146/gdm-binary

I disabled IPv6 via the Kernel Boot Parameters:

I added "ipv6.disable=1" to the Config Line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in /etc/defaults/grub.


$ grep -i ipv6 /etc/default/grub 
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"

Then </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/4278911399986454980/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=4278911399986454980' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/4278911399986454980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/4278911399986454980'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/09/ununtu-disabled-ipv6.html' title='Ununtu Disabled ipv6'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-5430699227555233923</id><published>2011-04-20T15:46:00.001+08:00</published><updated>2011-09-05T10:14:51.584+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>VNC &amp; GDM</title><summary type='text'>so, you have no graphics card, but you still want GUI management / X Windows......

Perhaps you do have a graphics card but want the convenience of using VNC to reach your Fedora machine?

There are some great turotials on getting the basics of VNC set up, but it always logs you right into the machine as a specific user...I want to choose my user....VNC + GDM is the answer



VNC + GDM will allow</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/5430699227555233923/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=5430699227555233923' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5430699227555233923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5430699227555233923'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/vnc-gdm.html' title='VNC &amp; GDM'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-5069961799230334145</id><published>2011-04-20T15:33:00.001+08:00</published><updated>2011-04-20T15:52:49.751+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>Torque 中，限制哪些Queue 只能在哪些 node 跑</title><summary type='text'>12.1.3  Queues
Some resource managers allow queues (or classes) to be defined and then associated with a subset of available compute resources.  With such systems, such as Loadleveler or PBSPro, these queue to node mappings are automatically detected.  On resource managers which do not provide this service, Moab provides alternative mechanisms for enabling this feature.
12.1.3.1  TORQUE/OpenPBS </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/5069961799230334145/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=5069961799230334145' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5069961799230334145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5069961799230334145'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/torque-queue-node.html' title='Torque 中，限制哪些Queue 只能在哪些 node 跑'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-2383774100335718036</id><published>2011-04-20T15:28:00.001+08:00</published><updated>2011-04-20T15:53:09.390+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>Using native IB support for GPFS</title><summary type='text'>資料來源： http://mytravelingfamily.com/2009/03/04/using-native-ib-support-for-gpfs/

March 4, 2009 in Computers | Tags: gpfs, Infiniband, verbsPorts, verbsRdma

Just a quick follow on to the last post. If you try to use native IB support with GPFS instead of the IP over IB you need to set the verbsRdma to enabled. You also need to set the rdma device to use with the verbsPort setting. If you get the </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/2383774100335718036/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=2383774100335718036' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2383774100335718036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2383774100335718036'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/using-native-ib-support-for-gpfs.html' title='Using native IB support for GPFS'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-1464674908703723301</id><published>2011-04-20T15:26:00.001+08:00</published><updated>2011-04-20T15:53:28.475+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>Lustre  安裝與設定</title><summary type='text'>安裝
rpm -ivh lustre-modules-1.8.5-2.6.18_194.17.1.el5_lustre.1.8.5-ext4.x86_64.rpm
rpm -ivh lustre-1.8.5-2.6.18_194.17.1.el5_lustre.1.8.5-ext4.x86_64.rpm
rpm -ivh kernel-2.6.18-194.17.1.el5_lustre.1.8.5-ext4.x86_64.rpm
rpm -ivh lustre-1.8.5-2.6.18_194.17.1.el5_lustre.1.8.5-ext4.x86_64.rpm
rpm -ivh lustre-ldiskfs-3.1.4-2.6.18_194.17.1.el5_lustre.1.8.5-ext4.x86_64.rpm
rpm -Uvh --nodeps --force  </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/1464674908703723301/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=1464674908703723301' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/1464674908703723301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/1464674908703723301'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/lustre.html' title='Lustre  安裝與設定'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-7795599254011736838</id><published>2011-04-20T15:20:00.000+08:00</published><updated>2011-04-20T15:22:06.615+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>CentOS 5.5 自己 build kernel</title><summary type='text'>參考網址http://curse666.blogspot.com/2011/03/centos-55-build-kernel.html</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/7795599254011736838/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=7795599254011736838' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/7795599254011736838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/7795599254011736838'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/centos-55-build-kernel.html' title='CentOS 5.5 自己 build kernel'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-5956372353838271243</id><published>2011-04-20T15:18:00.001+08:00</published><updated>2011-04-20T15:53:47.540+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>KVM 指令參考</title><summary type='text'>查看 virt-install 各項的參數，執行：
virt-install --help

查看 virt-install 完整的使用說明，執行：
man virt-install



執行：
virt-install \
--connect qemu:///system \
--name= 虛擬機器的名稱 \
--ram=分配的記憶體大小 [MB] \
--os-type=作業系統類型 [ex: linux] \
--os-variant=作業系統的版本名稱 [ex: ubuntujaunty] \
--hvm [全虛擬化，hvm 與 paravirt  擇其一，請參考附錄] \
--paravirt [半虛擬化，hvm 與 paravirt 擇其一，請參考附錄] \
--accelerate  [KVM 加速器] \
--cdrom=系統安裝光碟的路徑 [ex: *.iso] \</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/5956372353838271243/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=5956372353838271243' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5956372353838271243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5956372353838271243'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/kvm.html' title='KVM 指令參考'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-5539266349937262638</id><published>2011-04-20T15:16:00.002+08:00</published><updated>2011-04-20T15:54:14.396+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>Linux KVM: Disable virbr0 NAT Interface</title><summary type='text'>The virtual network (virbr0) used for Network address translation (NAT) which allows guests to access to network services. However, NAT slows down things and only recommended for desktop installations. To disable Network address translation (NAT) forwarding type the following commands:


Display Current Setup

Type the following command:
# ifconfig
Sample outputs:

virbr0    Link encap:Ethernet  </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/5539266349937262638/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=5539266349937262638' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5539266349937262638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/5539266349937262638'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2011/04/linux-kvm-disable-virbr0-nat-interface.html' title='Linux KVM: Disable virbr0 NAT Interface'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-9199275953729115842</id><published>2008-10-24T11:07:00.001+08:00</published><updated>2011-04-20T15:54:41.736+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>GPFS 安裝</title><summary type='text'>要安裝kernel source
/usr/src/kernels要有SMP kernel的目錄
2.6.9-42.0.3.EL-smp-x86_64

如果沒有可以執行
yum install kernel-smp kernel-smp-devel






gpfs-3.1.0-6.x86_64.update.tar.gz
放在/opt/pkg/tarball/gpfs/

解壓縮產生
changelog
README                          
gpfs.msg.en_US-3.1.0-6.noarch.rpm
gpfs.base-3.1.0-6.x86_64.update.rpm  
gpfs.docs-3.1.0-6.noarch.rpm        
gpfs.gpl-3.1.0-6.noarch.rpm         

rpm -ivh </summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/9199275953729115842/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=9199275953729115842' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/9199275953729115842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/9199275953729115842'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/gpfs.html' title='GPFS 安裝'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-2234442809639779260</id><published>2008-10-24T11:06:00.001+08:00</published><updated>2011-04-20T15:55:04.140+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>Ganglia 簡易安裝流程</title><summary type='text'>Ganglia 簡易安裝流程
OS Centos 4.3 最小安裝
安裝路徑 /opt
Source 路徑 /opt/src



必須套件
yum install gcc gcc-g77 gcc-g++ bison flex libjpeg-devel libpng-devel \
zlib-devel freetype-devel libart_lgpl libart_lgpl-devel

1. 下載 Source
mkdir /opt/src
cd /opt/src

wget http://apache.cdpa.nsysu.edu.tw/httpd/apache_1.3.36.tar.gz
wget http://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-4.4.2.tar.gz
wget http://</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/2234442809639779260/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=2234442809639779260' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2234442809639779260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2234442809639779260'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/ganglia.html' title='Ganglia 簡易安裝流程'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-2915450802101395321</id><published>2008-10-24T11:02:00.000+08:00</published><updated>2008-10-24T11:05:07.256+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>MPICH and gfortran</title><summary type='text'>export FC="gfortran -O2 -ff2c -fno-underscoring "export F77_GETARGDECL=" "export CC="gcc -O2 "export CXX="g++ -O2 "export F90="gfortran -O2 -ff2c -fno-underscoring "./configure --prefix=/opt/mpich -rsh=ssh</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/2915450802101395321/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=2915450802101395321' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2915450802101395321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/2915450802101395321'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/mpich-and-gfortran.html' title='MPICH and gfortran'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-230403423464106120</id><published>2008-10-22T22:40:00.000+08:00</published><updated>2008-10-24T11:00:05.911+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='大眼喵的照片'/><title type='text'>以前的大眼喵</title><summary type='text'></summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/230403423464106120/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=230403423464106120' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/230403423464106120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/230403423464106120'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/blog-post_22.html' title='以前的大眼喵'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ncRrl8Y1wS8/SP88j2QppEI/AAAAAAAAACg/eb9QuzBU8Mo/s72-c/025.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-7761319513421665069</id><published>2008-10-22T22:30:00.000+08:00</published><updated>2008-10-24T10:56:17.775+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='大眼喵的照片'/><title type='text'>橋頭糖廠之旅</title><summary type='text'></summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/7761319513421665069/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=7761319513421665069' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/7761319513421665069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/7761319513421665069'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/blog-post.html' title='橋頭糖廠之旅'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_ncRrl8Y1wS8/SP86y75MV5I/AAAAAAAAABw/potQEJEfRzA/s72-c/%E5%B8%A5%E5%BE%B7+026.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5879644051952505374.post-6683238529976871138</id><published>2008-10-22T17:10:00.001+08:00</published><updated>2011-04-20T15:56:34.012+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='技術'/><title type='text'>最好的阻止SSH暴力破解的方法(DenyHosts)</title><summary type='text'>最近機器每天都會有無數的SSH失敗嘗試記錄，有些無聊的人一直不停的掃描，這些人真夠無聊的，沒事吃飽了撐著，老找些軟體在那裏窮舉掃描,所以大家第一要記的設定一個好的夠複雜的密碼。




怎麼樣防,如果要一條一條將這些IP阻止顯然治標不治本，還好有DenyHosts軟體來代替我們手搞定他。

DenyHosts是Python語言寫的一個程式，它會分析sshd的日誌文件，當發現重複的攻擊時就會記錄IP到/etc/hosts.deny文件，從而達到自動 Black IP的功能。

DenyHosts官方網站為：http://denyhosts.sourceforge.net

以下是裝設記錄（以CentOS 5.1, DenyHosts 2.6 為例）


裝設

#wget http://nchc.dl.sourceforge.net/s ... ython2.4.noarch.rpm
#</summary><link rel='replies' type='application/atom+xml' href='http://chengavin.blogspot.com/feeds/6683238529976871138/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5879644051952505374&amp;postID=6683238529976871138' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/6683238529976871138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5879644051952505374/posts/default/6683238529976871138'/><link rel='alternate' type='text/html' href='http://chengavin.blogspot.com/2008/10/sshdenyhosts.html' title='最好的阻止SSH暴力破解的方法(DenyHosts)'/><author><name>Gavin's Home</name><uri>http://www.blogger.com/profile/09016332695046349040</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ncRrl8Y1wS8/SP7wNa4aAMI/AAAAAAAAABE/jbF0GRyAluE/S220/IMG_1077.JPG'/></author><thr:total>4</thr:total></entry></feed>
