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.




#!/bin/bash
tar -zxvf clamav-*.tar.gz
rm clamav-*.tar.gz
cd clamav-*
./configure
make
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 Seamless Integration: Navigating Unexpected Hubitat Device Queries and VLAN Challenges for a Smoother Home Automation Experience

During my network debugging efforts , I came across an intriguing observation related to the two Hubitat devices on our network. The logs b...