2010-08-24から1日間の記事一覧
適当 #!/bin/sh myhost=`cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep IPADDR | awk -F = {'print $2'}` router='192.168.1.1' echo $myhost # clear iptables -F iptables -X # set iptables -A OUTPUT -p all -s $myhost -d $router -j DROP ipt…
先にまとめ yum install openssl-devel expat-devel db4-devel libxml2-devel cpanm で足りないモジュールをガンガン入れる。 // cpanm $ mkdir ~/bin $ wget http://xrl.us/cpanm $ chmod +x cpanm $ cd - // local::lib $ wget http://search.cpan.org/CPA…