Updating ClamAV database when offline

1,777 views
Skip to first unread message

Kieran O Leary

unread,
Nov 15, 2021, 10:55:02 AM11/15/21
to bitcurat...@googlegroups.com
Hi all,

This is more for those who have their BitCurator install removed from any network/internet. How are folks updating the anti-virus definitions within ClamAV? Is it some sort of process for manually downloading the CVD files and installing them that way?
Or perhaps anti-virus checks happen outside this environment?

Curious to get any feedback on this, thanks!

Best,

Kieran O'Leary
Digital Preservation Manager
National Library of Ireland

Kam Woods

unread,
Nov 15, 2021, 12:04:50 PM11/15/21
to bitcurat...@googlegroups.com
ClamAV is installed from the official repository, and the database files live in /var/lib/clamav. You can download the three files from the following locations:


Then using your method of choice copy them to the offline machine. Then from whatever directory they are now in, copy them into /var/lib/clamav using the terminal as follows (the old files will be overwritten):

cd /directory/location/of/your/files
sudo cp main.cvd /var/lib/clamav (repeat for the other two files, or use *.cvd instead of main.cvd to do all three at once)

and make sure the permissions are correct:

sudo chown clamav:clamav /var/lib/clamav
sudo chmod 644 /var/lib/clamav/main.cvd (repeat for the other two files, or use *.cvd to do all three at once)

Kam

--
You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcurator-users/CAO7v-1TL4qcqgN953TTqUHJ_dgQWkeA8TdmzaMAozkJLFJ_Z1A%40mail.gmail.com.

Kieran O Leary

unread,
Nov 15, 2021, 12:36:16 PM11/15/21
to bitcurat...@googlegroups.com
You’re wonderful as usual, thank you so much for this detailed explanation!

Best,

Kieran

Reply all
Reply to author
Forward
0 new messages