Host ClamAV Update Mirror Server

Tested on Debian 11 (Bullseye).

General Requirement:

  • Working Apache2 or NGINX or any web server
# Install python3 and python3-pip
apt install python3 python3-pip

# Install cvdupdate
pip3 install cvdupdate

# Set dbdir to your html directory 
cvd config set --dbdir /var/www/html

# Set crontab for auto download new signature
crontab -e
## Add this line, check for update every 3 hour
0 */3 * * * /usr/local/bin/cvd update