Installazione Clamav in Debian: Difference between revisions
Jump to navigation
Jump to search
m →Pinning |
|||
| Line 10: | Line 10: | ||
cat >> /etc/apt/preferences <<EOFile | cat >> /etc/apt/preferences <<EOFile | ||
Package: clamav | Package: clamav | ||
Pin: origin volatile.debian. | Pin: origin volatile.debian.org | ||
Pin-Priority: 1100 | Pin-Priority: 1100 | ||
Package: * | Package: * | ||
Pin: release a= | Pin: release a=etch | ||
Pin-Priority: 700 | Pin-Priority: 700 | ||
EOFile | EOFile | ||
Revision as of 06:11, 18 June 2007
Aggiunta fonte Apt
cat >> /etc/apt/sources.list <<EOFile deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free EOFile
Pinning
cat >> /etc/apt/preferences <<EOFile Package: clamav Pin: origin volatile.debian.org Pin-Priority: 1100 Package: * Pin: release a=etch Pin-Priority: 700 EOFile
Installazione
apt-get update && apt-get upgrade && apt-get install clamav clamav-daemon
Scegliere come metodo di update cron e come sito di update db.ch.clamav.net
Controllo versione
export COLUMNS=132; dpkg -l | grep clamav ii clamav 0.86.2-0volatile1 antivirus scanner for Unix ii clamav-base 0.86.2-0volatile1 base package for clamav, an anti-virus utility for Unix ii clamav-daemon 0.86.2-0volatile1 antivirus scanner daemon ii clamav-freshclam 0.86.2-0volatile1 downloads clamav virus databases from the Internet ii libclamav1 0.86.2-0volatile1 virus scanner library