clamav_antivirus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
clamav_antivirus [2013/12/10 21:02] – juckins | clamav_antivirus [2023/07/03 10:20] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Notes on ClamAV AntiVirus | + | ==== ClamAV AntiVirus |
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | __CentOS 7 VM notes__:\\ | ||
+ | Set / | ||
+ | |||
+ | __CentOS 7 issues__:\\ | ||
+ | https:// | ||
+ | http:// | ||
+ | |||
+ | If not CentOS7, start with this procedure - or see steps listed below: \\ | ||
+ | [[http:// | ||
+ | |||
+ | Other links: \\ | ||
[[http:// | [[http:// | ||
[[http:// | [[http:// | ||
Line 7: | Line 22: | ||
__Steps done as root on local linux box:__ | __Steps done as root on local linux box:__ | ||
+ | |||
+ | Use this link to install and follow file modifications carefully (some paths need to be adjusted): | ||
+ | * https:// | ||
+ | |||
+ | Other notes from previous installs: | ||
+ | * Make sure the " | ||
+ | * Using the " | ||
+ | * The " | ||
yum install clamav clamav-db clamav-devel clamav-milter clamd | yum install clamav clamav-db clamav-devel clamav-milter clamd | ||
Line 53: | Line 76: | ||
echo "`tail -n 50 ${LOG}`" | echo "`tail -n 50 ${LOG}`" | ||
#sendmail -t < ${EMAILMESSAGE} | #sendmail -t < ${EMAILMESSAGE} | ||
- | / | + | / |
fi | fi | ||
Line 95: | Line 118: | ||
echo "`tail -n 50 ${LOG}`" | echo "`tail -n 50 ${LOG}`" | ||
#sendmail -t < ${EMAILMESSAGE} | #sendmail -t < ${EMAILMESSAGE} | ||
- | / | + | / |
fi | fi | ||
Line 107: | Line 130: | ||
echo "" | echo "" | ||
</ | </ | ||
+ | |||
+ | Make sure that the new cron files are set to executable (chmod +x) | ||
Remember that email from crons will require setup (see GMail on Linux with SSMTP) | Remember that email from crons will require setup (see GMail on Linux with SSMTP) | ||
Line 112: | Line 137: | ||
Test that clamd runs upon a reboot (it should) | Test that clamd runs upon a reboot (it should) | ||
+ | Clamav may report errors in the scan logs if SELinux is set to enforcing; some files cannot be checked even as root. | ||
+ | |||
+ | Check / | ||
+ | |||
+ | The following is all based on the line | ||
+ | |||
+ | User clam | ||
+ | |||
+ | appearing in the file / | ||
+ | |||
+ | More info: http:// | ||
+ | |||
+ | Fix: Disable rpmforge in / | ||
+ | |||
+ | Other scripts: [[https:// |
clamav_antivirus.txt · Last modified: 2023/07/03 10:29 by juckins