Инструменты пользователя

Инструменты сайта


сервис_clamav

Это старая версия документа.


Сервис Clamav

Установка

FreeBSD

[gate:~] # pkg install clamav

[gate:~] # rehash

Ubuntu

root@gate:~# apt-get install clamav-daemon

CentOS7

Настройка

FreeBSD

[gate:~] # cat /usr/local/etc/clamd.conf

Ubuntu

root@gate:~# cat /etc/clamav/clamd.conf

Запуск

FreeBSD

[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

Ubuntu

...
 * Clamav signatures not found in /var/lib/clamav
 * Please retrieve them using freshclam
 * Then run '/etc/init.d/clamav-daemon start'

Использование

FreeBSD/Ubuntu

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
сервис_clamav.1461046814.txt.gz · Последние изменения: 2016/04/19 09:20 — val