Installazione e configurazione di AVG su Debian
- Prelevarlo
cd /tmp wget "http://download.avgfree.com/filedir/inst/avg85flx-r855-a3656.i386.deb"
- Installarlo
sudo dpkg -i /tmp/mcafee-autoupdate_2.1.4_i386.deb
- Avviare il demone:
sudo invoke-rc.d avgd restart
- Aggiornarlo
sudo /usr/bin/avgupdate
- Impostare l'autoupdate
cat | sudo tee /etc/cron.d/avg-autoupdate > /dev/null <<EOFile # Updates AVG antivirus # $Id$ #m h dom mon dow user command 0 */2 * * * root /usr/bin/avgupdate -n > /dev/null EOFile
- Configurare amavisd
['AVG Anti-Virus',
\&ask_daemon, ["SCAN {}\n", '127.0.0.1:54322'],
qr/^200 [oO][kK]/m, qr/^403/m, qr/^403 .*?: ([^\r\n]+)/m ],
- Riavviare amavis
sudo invoke-rc.d amavis restart