yum install -y epel-release yum install -y clamav clamav-devel clamav-scanner-systemd clamav-update clamav-data clamav-server clamav-server-systemd clamav-scanner
freshclam
clamscan -r /var/www
----------- SCAN SUMMARY ----------- Known viruses: 6301816 Engine version: 0.101.4 Scanned directories: 10370 Scanned files: 54594 Infected files: 0 Data scanned: 4102.07 MB Data read: 5193.95 MB (ratio 0.79:1) Time: 1100.809 sec (18 m 20 s)
# make a new folder mkdir -p /opt/clamav # scan from root folder clamscan -r -l /var/log/clamav.log --move /opt/clamav /