Install Clam AntiVirus2023/04/24 |
Install Clam AntiVirus to protect your System from Computer Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: comment out if it enabled # Example
# update pattern files manually [root@dlp ~]# freshclam ClamAV update process started at Mon Apr 24 12:46:36 2023 daily.cvd database is up-to-date (version: 26885, sigs: 2031479, f-level: 90, builder: raynman) main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) bytecode.cvd database is up-to-date (version: 334, sigs: 91, f-level: 90, builder: anvilleg) |
[2] | Try to scan the Fedora Server. |
# scan [/home] [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8663393 Engine version: 1.0.1 Scanned directories: 2 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 12.568 sec (0 m 12 s) Start Date: 2023:04:24 12:46:55 End Date: 2023:04:24 12:47:08[root@dlp ~]# clamscan --infected --remove --recursive . # just detected and removed /root/eicar.com: Win.Test.EICAR_HDB-1 FOUND /root/eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 8663393 Engine version: 1.0.1 Scanned directories: 2 Scanned files: 10 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 12.518 sec (0 m 12 s) Start Date: 2023:04:24 12:47:47 End Date: 2023:04:24 12:47:59 |
|