AvpLinux and antiviral database update v0.7Русская версияWhat is itAvpUpdate is a program for automated updating of antiviral database via network. AvpUpdate allows to compare local antiviral database and antiviral database on Support-server and if it is necessary to update. AvpUpdate can run the external program if local database was successfully updated. For instance, this external program can send an announcement of new update to your colleagues. If antiviral database is successfully updated or if no update is needed, AvpUpdate will terminate with exit code 0. InstallationUncompress and unpack the distribution
tar zxvf AvpUpdate-0.6.tar.gz
Copy file AvpUpdate into /usr/sbin. I recommend to use cron utility to run AvpUpdate. For example to start AvpUpdate on 1:00 daily one can put into the file /var/spool/cron/root this string:
0 1 * * * /usr/sbin/AvpUpdate
Use "man crond" and "man crontab" for references.If you have dial-up connection to Internet is used the start-up of the Avp-Update can be put in file /etc/ppp/ip-up.local. AvpUpdate is written on Perl Language and it is required perl-library Bundle::libnet. This library may be installed by command (root privelege and Internet access are required):
# perl -MCPAN -e shell
...
cpan> install Bundle::libnet
...
cpan> exit
#
ConfigurationAll configurable parameters are grouped in the top of the source program. One can use any text editor to change them. Follow the proper syntax please. Configurable parameters are:
As an example of external program one can find AvpAnounce.example in AvpUpdate archive. This program takes the message of records counter in current antivirus database from report file and sends an E-Mail to user (Distribution list). LinksAuthorSerg OskinSerg Oskin Last modified: Fri Mar 15 16:17:43 MSK 2002 |