Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTICE: The following directions assume there is a properly installed and configured clamav daemon. Refer to links above for more information about ClamAV.
The Clam anti-virus database must be updated regularly to maintain the most current level of anti-virus protection. Please refer to the ClamAV documentation for instructions about maintaining the anti-virus database.

DSpace Configuration

Wiki Markup
In {{\[dspace\]
In <dspace install>
/config/modules
, edit the configuration file
/curate.cfg}}, activate the task:

  • Add the plugin to the comma separated list of curation tasks.

...

Code Block
ui.tasknames = \
profileformats = Profile Bitstream Formats, \
requiredmetadata = Check for Required Metadata, \
vscan = Scan for Viruses

Wiki Markup
In {{\[dspace\]
In <dspace install>
/config/modules}}, edit configuration file clamav.cfg:

Code Block
service.host = 127.0.0.1
Change if not running on the same host as your DSpace installation.
service.port = 3310
Change if not using standard ClamAV port
socket.timeout = 120
Change if longer timeout needed
scan.failfast = false
Change only if items have large numbers of bitstreams

...

To output the results to the console:

Code Block
<dspace install>[dspace]/bin/dspace curate -t vscan -i <handle of container or item dso> -r -

Or capture the results in a file:

Code Block
<dspace install>[dspace]/bin/dspace curate -t vscan -i <handle of container or item dso> -r - > /<path...>/<name>

...