Install Clam AntiVirus2015/05/01 |
Install Clam AntiVirus to protect server from virus.
|
|
[1] | Install Clamav. |
root@dlp:~# aptitude -y install clamav
|
[2] | Try to scan. |
root@dlp:~#
clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 3799271 Engine version: 0.98.6 Scanned directories: 3 Scanned files: 7 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 9.242 sec (0 m 9 s) # download test virus
root@dlp:~#
root@dlp:~# wget http://www.eicar.org/download/eicar.com clamscan --infected --remove --recursive ./
./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed. # just detected ----------- SCAN SUMMARY ----------- Known viruses: 3799271 Engine version: 0.98.6 Scanned directories: 2 Scanned files: 7 Infected files: 1 Data scanned: 0.00 MB Data read: 0.01 MB (ratio 0.00:1) Time: 8.308 sec (0 m 8 s) |
|