Linux Scroll

Just another WordPress.com site

Category Archives: antivirus

Automatic update clamav database

Schedule freshclam running everyday at 1pm:

$ sudo crontab -e

Add:

00 13 * * *     /usr/local/bin/freshclam --quiet

Display schedule job:

$ sudo crontab -l
Advertisements

Update clamav database via proxy

Under proxy, freshclam cannot updata clamav database.

$ sudo nano /etc/clamav/freshclam.conf

Add:

HTTPProxyServer proxy.com

HTTPProxyPort 3128
HTTPProxyUsername username
HTTPProxyPassword password