linux

Total 136
Today 0
profile_image
ino
09-04-20 09:55 0개 2,046회
oops logwatch 설정
/etc/log.d/conf/logwatch.pl

요기 있습니다요.. 기본 ^^

버젼은 5.1



7.X

vi /usr/share/logwatch/default.conf/logwatch.conf

#Mailto_host1 = user@example.com

MailFrom = Logwatch

Print = Yes -> No <= 한참 찾았네 ㅋ 2009.11.04



/usr/share/logwatch/scripts/logwatch.pl

ln -s /usr/share/logwatch/scripts/logwatch.pl 00-logwatch





/usr/sbin/logwatch.d/logwatch.pl



ln [options] source [dest]

ln -s /usr/sbin/logwatch.d/logwatch.pl 00-logwatch



wget ftp://ftp.kaybee.org/pub/redhat/SRPMS/logwatch-7.3.6-1.src.rpm

rpm -rebuild --target i686 logwatch-7.3.6-1.src.rpm

간단합니다 설명이 필요없죠~~



근데 그 다음을 모르시겠죠.. 어디엔가 사라져 버린것 같고..



결과물은

/usr/src/redhat/rpmS/i686



안녕일 경우

/usr/src/annyung/RPMS/noarch/



여기에 가면 있습니다~~ 이렇게 간단한 것을.. 쯧쯧



소스rpm,

댓글목록

등록된 댓글이 없습니다.