Install Clamav AntiVirus2018/11/01 |
Install Clam AntiVirus to protect your System from Virus.
|
|
[1] | Install Clamav AntiVirus. |
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: comment out if enabled # Example
# update pattern files [root@dlp ~]# freshclam ClamAV update process started at Thu Nov 1 15:39:50 2018 main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Downloading daily-25080.cdiff [100%] daily.cld updated (version: 25080, sigs: 2138019, f-level: 63, builder: neo) bytecode.cvd is up to date (version: 327, sigs: 91, f-level: 63, builder: neo) Database updated (6704359 signatures) from database.clamav.net (IP: 104.16.187.138) |
[2] | Try to scan System. |
# scan /home [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 6697434 Engine version: 0.100.2 Scanned directories: 2 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 13.464 sec (0 m 13 s)[root@dlp ~]# clamscan --infected --remove --recursive . # just detected and removed ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 6697434 Engine version: 0.100.2 Scanned directories: 1 Scanned files: 8 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 12.165 sec (0 m 12 s) |
|