This is an old revision of the document!
!!! Требуется не меньше 1024Mb RAM !!!
root@gate:~# apt install clamav-daemon
root@gate:~# less /etc/clamav/clamd.conf
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
$ cd /tmp $ wget http://val.bmstu.ru/unix/virus.zip $ clamdscan virus.zip
$ cat /boot/config-`uname -r` | grep FANOTIFY # cat /etc/clamav/clamd.conf
... User root ScanOnAccess yes OnAccessIncludePath /home OnAccessExcludeUID 0 OnAccessPrevention yes ...
# tail -f /var/log/clamav/clamav.log debian# cat /etc/logrotate.d/clamav-daemon