Установка ClamAV на Debian / CentOS

Ставим:

apt-get install clamav -y


На CentOS:

yum install -y clamav clamav-update


Обновляем базы:

freshclam


Но на CentOS не все так просто:

    freshclam
    ERROR: Please edit the example config file /etc/freshclam.conf
    ERROR: Can't open/parse the config file /etc/freshclam.conf


Поэтому открываем:

vi /etc/freshclam.conf


И удаляем строки:

    # Comment or remove the line below.
    Example


Запускаем проверку всей файловой системы:

clamscan --infected -r /



Просмотров: 1528
17.02.2015, 19:32 -

Категория: Статьи » Администрирование