Install ClamAV and set up scheduled scans. Install Epel: # yum install epel-release Install ClmAV # yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.lax.hugeserver.com * epel: dl.fedoraproject.org * extras: dallas.tx.mirror.xygenhosting.com * updates: linux.mirrors.es.net Package clamav-data-0.98.7-1.el7.noarch already installed and latest version ..
## ## Example config file for the Clam AV daemon ## Please read the clamd.conf(5) manual before editing this file. ## # Comment or remove the line below. #Example # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. # A full path is required. # Default: disabled ..
Error: [stextbox id=”warning”]ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). ERROR: Can’t open /var/log/clamav/freshclam.log in append mode (check permissions!).[/stextbox] # cd /var/log/clamav # ls -la freshclam.log -rw-r–r– 1 clamav clamav 0 Oct 20 03:43 freshclam.log # nano /etc/freshclam.conf # By default when started freshclam drops privileges and switches to the # “clamav” user. This directive ..
Clamav-cron Summary: This is a simple Bash script for those who want to schedule the following tasks via cron: Source: https://code.google.com/p/clamav-cron/ update the ClamAV virus database (freshclam); perform personal system scan (clamscan); send a brief report via e-mail; without any knowledge about ClamAV configuration files (such as clamd.conf or freshclam.conf) and without running the ClamAV ..