어떻게 설정하는지 알려줘야죠ㅠ.ㅠ
: <PRE>
: : 각 계정의 access_log,error_log 나 xferlog파일등의 용량 설정은
: : 어떻게 하나여?
:
: 레드햇 리눅스에서는 logrotate 라는 프로그램으로 로그파일을
: 관리합니다. 이 프로그램은 로그파일을 적당한 주기로 잘라서
: 나눠주고, 오래된 파일은 삭제해주죠.
:
: $ rpm -qa | grep logrotate
: logrotate-3.3.2-1
:
: $ rpm -ql logrotate
: /etc/cron.daily/logrotate
: /etc/logrotate.conf
: /etc/logrotate.d
: /usr/man/man8/logrotate.8.gz
: /usr/sbin/logrotate
:
: $ l /etc/logrotate.d
: total 24
: -rw-r--r-- 1 root root 1780 May 27 15:35 apache
: -rw-r--r-- 1 root root 122 Feb 22 10:21 cron
: -rw-r--r-- 1 root root 145 Apr 26 2000 linuxconf
: -rw-r--r-- 1 root root 102 Jun 8 14:47 named
: -rw-r--r-- 1 root root 111 May 18 2000 samba
: -rw-r--r-- 1 root root 410 Feb 4 2000 syslog
:
: $
: </PRE>
:
: --
: qKing