がらくたネット

アフィリエイト広告を利用しています


moved:logwatch

#pginfo(1 FnHjkeSbgbw admin 3 none none 3 all all 1 FnHjkeSbgbw admin 1 ) Logwatch

http://www2.logwatch.org:81/

システムログなどを毎日チェックしてレポートをメールしてくれる メジャーlinuxシステムにも標準搭載されている

最新版をダウンロード wget ftp://ftp.kaybee.org/pub/linux/logwatch-7.3.6.tar.gz

展開 tar zxvf logwatch-7.3.6.tar.gz cd logwatch-7.3.6

インストール chmod 744 install_logwatch.sh ./install_logwatch.sh

デフォルトの場合は何も考えずにenter ################################# Preparing to install Logwatch Enter the path to the Logwatch BaseDir [/usr/share/logwatch] : ### Using /usr/share/logwatch Enter the path for the Logwatch ConfigDir [/etc/logwatch] : ### Using /etc/logwatch Enter the dir name to be used for temp files [/var/cache/logwatch] : ### Using /var/cache/logwatch Enter the location of perl [/usr/bin/perl] : ### Using /usr/bin/perl Enter the dir name to used for the manpage [/usr/share/man] : ### Using /usr/share/man ### Installing Created symlink for /usr/sbin/logwatch Created /etc/cron.daily/0logwatch

cronの設定ファイルが作成され、Logwatch本体は/usr/share/logwatchにインストールされる