Install Clam AntiVirus2023/11/10 |
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 Fri Nov 10 12:37:29 2023 daily.cvd database is up-to-date (version: 27088, sigs: 2046165, 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: 8678046 Engine version: 1.0.4 Scanned directories: 3 Scanned files: 10 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 13.224 sec (0 m 13 s) Start Date: 2023:11:10 12:37:57 End Date: 2023:11:10 12:38:11[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: 8678046 Engine version: 1.0.4 Scanned directories: 2 Scanned files: 13 Infected files: 1 Data scanned: 0.02 MB Data read: 0.01 MB (ratio 2.00:1) Time: 12.835 sec (0 m 12 s) Start Date: 2023:11:10 12:38:44 End Date: 2023:11:10 12:38:57 |
|