Installation of Mcafee uvscan

Step (1) ----------------------------------------------------------

Download from Mcafee newest linux version tar.Z in http://www.mcafee.com/


Step (2) ----------------------------------------------------------

Install program

# mkdir /tmp/uvscan
# tar -zxvf vlp4510e.tar.Z -C /tmp/uvscan
# cd /tmp/uvscan
# ./install-uvscan


Which directory do you want to install into? [/usr/local/uvscan]
/usr/local/uvscan doesn't exist. Create it? [y]/n
Do you want to create the link(s) to uvscan in /usr/local/bin [y]/n
Do you want to create the link(s) to uvscan_secure in /usr/local/bin [y]/n
Do you want to create the link(s) to liblnxfv.so.4 in /usr/local/lib [y]/n
Do you want to create the link(s) to uvscan.1 in /usr/local/man/man1 [y]/n
/usr/local/man/man1 doesn't exist. Create it? [y]/n

Installation complete.

Do you want to perform a scan of all filesystems y/[n]



Step (3) ----------------------------------------------------------

Testing with eicar file

vi /tmp/test.com

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Try test eicar file with uvscan:

/usr/local/uvscan/uvscan /tmp/test.com

Found: EICAR test file NOT a virus.


Step (4) ----------------------------------------------------------

using naiupdt.pl script to update new engine and virus definition
via "ftp://ftp.nai.com/pub/antivirus/datfiles/4.x"

Download script (right click to save as naiupdat.pl)

wget http://linux.alanstudio.hk/naiupdt
mv naiupdt /usr/local/uvscan/naiupdt.pl
chmod 755 /usr/local/uvscan/naiupdt.plt
LANG=C /usr/local/uvscan/naiupdt.pl


Step (5) ----------------------------------------------------------

Set cronjob at night 1:00, like as:

crontab -e

00 01 * * * /usr/local/uvscan/uvscan -m /virus /home &> /dev/null
00 01 * * * LANG=C /usr/local/uvscan/naiupdt.pl &> /dev/null



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.