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

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...