This is an old revision of the document!
!!! Требуется не меньше 1024Mb RAM !!!
[gate:~] # pkg install clamav [gate:~] # rehash
root@gate:~# apt install clamav-daemon
[gate:~] # cat /usr/local/etc/clamd.conf
root@gate:~# less /etc/clamav/clamd.conf
[gate:~] # cat /etc/rc.conf
... clamav_freshclam_enable=yes clamav_clamd_enable=yes
[gate:~] # service clamav-freshclam start [gate:~] # ls -l /var/db/clamav/ [gate:~] # service clamav-clamd start [gate:~] # ls -l /var/run/clamav/clamd.sock
root@gate:~# service clamav-freshclam status root@gate:~# ls /var/lib/clamav/ root@gate:~# service clamav-daemon start root@gate:~# ls -l /var/run/clamav/clamd.ctl
gate# cd /tmp gate# wget http://val.bmstu.ru/unix/virus.zip или gate# fetch http://val.bmstu.ru/unix/virus.zip gate# clamdscan virus.zip
# tail -f /var/log/clamav/clamav.log debian# cat /etc/logrotate.d/clamav-daemon