Go to http://dag.wieers.com/rpm/packages/clamav/ and download the latest version of
- clamav
- clamd
- clamav-db
for Red Hat EL 5
wget http://packages.sw.be/clamav/clamav-0.96.2-2.el5.rf.i386.rpm
wget http://packages.sw.be/clamav/clamav-db-0.96.2-2.el5.rf.i386.rpm
wget http://packages.sw.be/clamav/clamd-0.96.2-2.el5.rf.i386.rpmm
To install them all type in
yum localinstall clamav-xxx.rpm clamd-xxx.rpm clamav-db-xxx.rpm
or the simpler
yum --nogpgcheck localinstall *.rpm
if the current directory only contains clamav rpms. Make sure the version number is the same for all three files, otherwise you’ll get dependency errors and it won’t install.
Once the install is complete, run
freshclam
to update the diffs, then
clamd -V
to double check the version info and then
or
/usr/sbin/clamd -V
clamscan -ir --log=/root/clamscan.log /home*/*/public_html &
to scan your home directory and dump the results to a file for later review