Monday, September 19, 2005

script to upgrade clamAV

I wrote this script to automatically upgrade my ClamAV installation. I have to run some hoops, as I run clamAV though amavisd-new.

tar -zxvf clamav-*.tar.gz
rm clamav-*.tar.gz
cd clamav-*
make check
sudo /etc/init.d/amavisd stop
sudo make install
sudo chown -R amavisd:amavisd /usr/local/share/clamav
sudo /usr/local/bin/freshclam -l /var/log/clam-update.log
sudo /etc/init.d/amavisd start
rm -rf clamav-*

Technorati Tags:

No comments:

Post a Comment

Weather on Display: Building a Raspberry Pi Weather Station with Touchscreen

Are you tired of constantly checking your phone or computer for the latest weather updates? Want to have real-time weather information readi...