My copy of the Sophos anti-virus package is installed under /opt/sophos so all references in the following text apply to that location. If you use that location, then my installation script will work for you, and put everything in the right place.
I use a directory structure like this:
If you are going to install it into /opt/sophos then this is really simple:
You should now have a directory /opt/sophos/ide which contains the latest virus definitions and a link to your vdl.dat file.
-->At this point, you should be able to test the operation of Sophos with a command such as
This will attempt to scan the main Sophos directory, but it will demonstrate that Sophos is working properly. It should report the number of viruses it can detect and the list of IDE files it has found.
The /opt/sophos/bin/autoupdate script is best run automatically on a daily basis by cron. A suitable crontab entry is
# 23/05/2000 JKF Automatically fetch updates to Sophos just after midnight 13 0 * * * [ -x /opt/sophos/bin/autoupdate ] && /opt/sophos/bin/autoupdate >/dev/null 2>&1
If you need to find out how to install a crontab entry, type "man crontab".