ILIAS-7-Install-Tutorial for Ubuntu 20.04
Clamav
ClamAV is a virus scanner.
Install Service
apt-get install clamav clamav-freshclam
apt-get install clamav-daemon
touch /opt/scripts/myclamscan
chmod +x /opt/scripts/myclamscan
nano /opt/scripts/myclamscan
- Paste the following code in:
The code means that infected files will be printed but not deleted or repaired. You will get a mail with the scan result.
1 | #!/bin/bash |
nano /etc/crontab
- Paste in this line:
- #Clamscan
01 22 * * * root /opt/scripts/myclamscan | mail -s "Virenscan MyServer" wolfgang.huebsch@gmx.de
- #Clamscan
Create a Whitelist
touch /var/lib/clamav/whitelist.ign2
nano /var/lib/clamav/whitelist.ign2
- Example content:
Win.Dropper.Crypto-6825095-0
Win.Dropper.Crypto-6825095-0