Google
 

« ^Mの除去 | メイン | 最近呼んだ本(再読も) »

2007年05月27日

●swatchインストール

swatchインストール

必要なモジュール
Carp-Clan-5.3
Bit-Vector-6.4
Date-Calc-5.4
Time-HiRes-1.75
File-Tail-0.99.3
TimeDate-1.10
swatch-3.1.1

tar zxvf Carp-Clan-5.3.tar.gz
cd Carp-Clan-5.3
perl Makefile.PL
make
make test
make install


tar zxvf swatch-3.1.1.tar.gz
cd swatch-3.1.1
perl Makefile.PL
make
make test
make install


/usr/bin/swatch -c /root/.swatchrc -f /var/log/messages > /dev/null &


/etc/rc.d/rc.local

if [ -f /usr/bin/swatch ]; then
(echo 'Starting SWATCH service') > /dev/console
/usr/bin/swatch -c /etc/swatch.conf -t /var/log/messages &
else
(echo ' swatch no found') > /dev/console
fi

トラックバックURL

このエントリーのトラックバックURL:
http://www.fatcat-hosting.net/mt-tb.cgi/24