Versions Compared

Key

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

...

3. Configure dspace for the virus scan task.

3.1 In the modules subdirectory of <dspace install>/config/modules, configure curate.cfg

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

Code Block
### Task Class implementations
\\
plugin.named.org.dspace.curate.CurationTask = \
org.dspace.curate.ProfileFormats = profileformats, \
org.dspace.curate.RequiredMetadata = requiredmetadata, \
org.dspace.curate.ClamScan = vscan


3.1.2 Optionally, add the vscan friendly name to the configuration to enable it in the administrative it in the administrative user interface.

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

3.2 In the modules subdirectory of <dspace install>/config/modules, configure clamav.cfg

...

5. Run a virus scan task from the curation command line client


5.1 Output the results to the console.
<dspace install>/bin/dspace curate -t vscan -i <handle of container or item dso> -r - -v

5.2 Capture these results in a file.
<dspace install>/bin/dspace curate -t vscan -i <handle of container or item dso> -r - -v > /<path...>/<name>

Table 1 – Virus Scan Results Table

...