User Guide

Using Kaspersky SMTP-Gateway application 29
Task
: To start updating of the database and save updating results in the
/tmp/updatesreport.log file.
Solution
: To accomplish the task, log in as a root user (or as any other
user that have the rights of a privileged user) and enter in the command
line:
#keepup2date –l /tmp/updatesreport.log
If you need to update the anti-virus database on several server, it may be more
convenient to download the updates from an update server once, save them to a
shared directory, and then update the databases on other computers from this
directory.
Task
: Start the updating of the anti-virus database from the
/home/kavuser/bases
shared directory. If this directory is inaccessible
or empty, update the database from Kaspersky Lab’s update servers.
Save the results to file /tmp/updatesreport.log.
Solution
: To accomplish the task, log in as a root user (or as any other
user that have the rights of a privileged user) and do the following:
1. In the application configuration file, enter the appropriate values for
the following parameters:
[updater.options]
UpdateServerUrl=/home/kavuser/bases
UseUpdateServerUrl=yes
UseUpdateServerUrlOnly=no
2. Enter the following string in the command line:
#keepup2date –l /tmp/updatesreport.log
You can accomplish these or similar tasks remotely using the Webmin
remote administration module.
5.1.3. Creating a shared directory for
storing and sharing database
updates
To update the anti-virus databases correctly on local computers from the shared
directory, you need to create in this directory a file structure that is similar to that