On 1/24/2011 11:26 AM, Voy User wrote:
> On 1/24/2011, Bowie Bailey wrote:
>>> On 1/24/2011 5:41 AM, Voy User wrote:
>>> Hi,
>>>   I have a debian image which I use to install Debian onto other boxes.
>>> The image has clamav included. I want to update the image regularly with the
>>> lastest signature updates, so that any time I use the image, it would have 
>>> the
>>> latest signatures.
>>>
>>> What's the best way to do this?
>>> Should I wget the signatures from the clamav site to the images 
>>> /var/lib/clamav directory on a nightly basis
>>>
>>> i.e.
>>> wget http://db.local.clamav.net/main.cvd
>>> wget http://db.local.clamav.net/daily.cvd
>>> wget http://db.local.clamav.net/bytecode.cvd
>>>
>>> If so, are these the only 3 files to get? Also, does clamav engine
>>> itself need to be told (by way of some conf updates etc) that signatures
>>> have been updated?
>> Instead of reinventing the wheel, why not just run freshclam on an
>> active server and then copy its database directory over to your images
>> directory?
> So I need to copy over all 4 files from /var/lib/clamav
> main.cvd, daily.cvd, bytecode.cvd & mirrors.dat?

Yep.

> I didn't want to install clamav on the box which contains the image.
> Is it possible to install and run just freshclam without running clamav?

I've never tried installing freshclam on its own, but I can't think of
any reason off-hand why it wouldn't work.


> If not, I guess I install both on a separate machine & copy the files over
> regularly?

If your installation image contains clamav, don't you already have
machines around with clam installed?

-- 
Bowie
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to