Skip to content

Instantly share code, notes, and snippets.

@ka3bhy
ka3bhy / clamavminstall.sh
Created July 26, 2016 14:49 — forked from nickadam/clamavminstall.sh
Install ClamAV minimal
#!/usr/bin/env bash
# Install clamav
apt-get update
apt-get -y install clamav clamav-daemon
# Exclude everything but /home/ and /tmp/
ls -d /*/ | grep -v "/home/" | grep -v "/tmp/" | sed 's/^/ExcludePath ^\//g' >> /etc/clamav/clamd.conf
# Update clam signatures