Deploy‎ > ‎


BitDefender Antivirus Scanner for Unices (Unixes) is a well-awarded commercial (non-free) antivirus product with 30 days free trial
To extend your trial license submit this form.

  • All commercial antivirus (third-party products) are distributed under different licenses.
  • During the following steps, you will be required to read (accept or decline) the license terms. 
  • Commercial antivirus products can be added thanks to Amavisd-new module. Ensure you run the latest Scrollout release.
  • Hardware requirements: 512MB - 1024MB in addition to the existing RAM.

Download and Install

cd /tmp/
test -f /tmp/ && /bin/bash /tmp/

Read the license agreement. 
Scroll down by pressing "Space bar". 
Type "accept" if you agree. 

Do you want to install BitDefender Antivirus Scanner GUI package ? (Y/n)
Type "N" and press Enter. 

Set hourly update 

echo '#!/bin/bash' > /etc/cron.hourly/bdupdate
echo "bdscan --update > /dev/null 2>&1" >> /etc/cron.hourly/bdupdate
chmod +x /etc/cron.hourly/bdupdate && 

Add permissions

sudo adduser bitdefender amavis
sudo adduser amavis bitdefender
/etc/init.d/amavis restart

Activate cache to improve performance

touch /opt/BitDefender-scanner/var/lib/scan/Plugins/cache.000
chown bitdefender:bitdefender /opt/BitDefender-scanner/var/lib/scan/Plugins/cache.000

Check license key expiration.

bdscan --info

Change license key (purchase new key):

sed -i "s/^Key = .*/Key = $sn/" /opt/BitDefender-scanner/etc/bdscan.conf

or edit file /opt/BitDefender-scanner/etc/bdscan.conf manually.


cd /tmp/
test -f /tmp/ && /bin/bash /tmp/ --uninstall
test -f /etc/cron.hourly/bdupdate && rm /etc/cron.hourly/bdupdate

/etc/init.d/amavis restart