소프트웨어 추가/제거 에서
clamav, clamav-update(자동업데이트), clamav-data, clam-tk(프론트엔드 gui)
를 설치한다.
바이러스 정보업데이트는
#freshclam
을 실행한다. 처음에는
ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf
이런 메시지가 뜨면서 업데이트가 되지 않는다.
/etc/freshclam.conf 에서 Example 라인을 주석처리 한다.
# Comment or remove the line below.
#Example
/var/log/ 에 freshclam.log 파일을 만들고 권한은 660으로 한다.
이제 freshclam을 실행하면 업데이트가 진행이 된다.
다음은 crontab을 이용한 자동업데이트 설정이다.
/etc/cron.d/clamav-update 파일이 있다.
0 */3 * * * root /usr/share/clamav/freshclam-sleep
/etc/sysconfig/freshclam 에서 다음 글을 주석처리 한다.
### !!!!! REMOVE ME !!!!!!
### REMOVE ME: By default, the freshclam update is disabled to avoid
### REMOVE ME: network access without prior activation
FRESHCLAM_DELAY=disabled-warn # REMOVE ME
'HW & SW > OS' 카테고리의 다른 글
img 파일 usb에 굽기 (0) | 2012.06.23 |
---|---|
OpenSSL을 이용한 파일 암호화 하기 (0) | 2012.04.10 |
리눅스용 미디어 플레이어 (0) | 2012.02.26 |
yum gui (0) | 2012.02.26 |
rhythmbox에서 mp3 듣기 (0) | 2012.02.26 |