Deploy‎ > ‎

BitDefender

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.


Note:
  • 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/
wget http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Current/EN_FR_BR_RO/Linux/BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run
test -f /tmp/BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run && /bin/bash /tmp/
BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run


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 && 
/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):

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

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

Uninstall

cd /tmp/
wget http://download.bitdefender.com/SMB/Workstation_Security_and_Management/BitDefender_Antivirus_Scanner_for_Unices/Unix/Current/EN_FR_BR_RO/Linux/BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run
test -f /tmp/BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run && /bin/bash /tmp/BitDefender-Antivirus-Scanner-7.7-1-linux-amd64.deb.run --uninstall
test -f /etc/cron.hourly/bdupdate && rm /etc/cron.hourly/bdupdate

/etc/init.d/amavis restart