- This topic has 2개 답변, 2명 참여, and was last updated 12 years, 10 months 전에 by 태랑. This post has been viewed 3794 times
-
-
소프트웨어 추가/제거 에서
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-sleepfreshclam-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자동 업데이트가 되는지는 나중에 확인해 봅니다.
- 답변은 로그인 후 가능합니다.