đģ Clam Anti-Virus
apti clamav clamav-daemon
Failed: 09-01-2021
mkdir ~/.config/clamav
mkdir ~/.config/clamav/logs
clamconf -g freshclam.conf > ~/.config/clamav/Freshclam.conf
clamconf -g clamd.conf > ~/.config/clamav/clamd.conf
clamconf -g clamav-milter.conf > ~/.config/clamav/clamav-milter.conf
touch /var/log/freshclam.log
chmod 600 /var/log/freshclam.log
chown clamav /var/log/freshclam.log
vim Freshclam.conf
- Uncomment line starting with
UpdateLogFile
, and change dir to/var/log/clamav/freshclam.log
- Uncomment line starting with
vim clamd.conf
, and uncomment line starting with Example.
freshclam
Daemon might be running (systemctl stop/start, etc.)
clamdscan --log=~/.config/clamav/logs/$(date).log /mnt/Storage