Install Clam AntiVirus2024/11/04 |
Install Clam AntiVirus to protect your System from Computer Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
dnf -y install clamav clamav-freshclam
[root@dlp ~]#
vi /etc/freshclam.conf # line 8 : comment out if it is enabled # Example
# update pattern files manually [root@dlp ~]# freshclam ClamAV update process started at Mon Nov 4 09:39:28 2024 daily.cvd database is up-to-date (version: 27447, sigs: 2067641, 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: 335, sigs: 86, f-level: 90, builder: raynman) |
[2] | Try to scan the Fedora Server. |
# scan [/home] [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 8699433 Engine version: 1.0.7 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.498 sec (0 m 12 s) Start Date: 2024:11:04 09:39:54 End Date: 2024:11:04 09:40:06 # download trial virus [root@dlp ~]# wget https://files.trendmicro.com/products/eicar-file/eicar.com 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: 8699433 Engine version: 1.0.7 Scanned directories: 5 Scanned files: 10 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 12.493 sec (0 m 12 s) Start Date: 2024:11:04 09:40:50 End Date: 2024:11:04 09:41:02 |
|