Configuring a Local Repository for Virus Definitions
A local repository allows you to scan a system without connecting to an outside port. If you suspect a system has been compromised, use a local repository to help ensure an infection remains contained.
To configure a local repository for virus definitions, follow these steps:
- Download your repository.
-
wget -O oem.ini http://update.nai.com/products/commonupdater/oem.ini
-
wget -N http://update.nai.com/products/commonupdater/*.zip
McAfee stores the latest 2 zip files in this folder. Ensure you have a process to manage this folder (i.e. purge old zip files) if this will be run as a cron job or scheduled event, as this folder could fill up quickly.
- Transfer oem.ini and the latest avvdat-xxxx.zip file to an empty directory on the remote server where Powertech Antivirus is installed (e.g. /home/user/dat).
- Run avupdate with the path option.
To manually download oem.ini and the virus definition archive package to your local server:
/opt/sgav/avupdate --path /home/user/dat