Difference between revisions of "SUNScholar/Curation"

From Libopedia
Jump to navigation Jump to search
Line 14: Line 14:
 
Install the "clamav-daemon" software by typing as follows.
 
Install the "clamav-daemon" software by typing as follows.
 
  sudo apt-get install clamav-daemon
 
  sudo apt-get install clamav-daemon
Open the clamav config file by typing as follows.
+
Open the clamav config file by typing as follows:
 
  sudo nano /etc/clamav/clamd.conf
 
  sudo nano /etc/clamav/clamd.conf
 +
 +
{{NANO}}
 +
 
Copy and paste the following to the bottom of the file
 
Copy and paste the following to the bottom of the file
 
  TCPAddr 127.0.0.1
 
  TCPAddr 127.0.0.1
Line 23: Line 26:
 
Then restart the clamav daemon by typing as follows.
 
Then restart the clamav daemon by typing as follows.
 
  sudo /etc/init.d/clamav-daemon restart
 
  sudo /etc/init.d/clamav-daemon restart
 +
 
==Enable Anti-Virus Task==
 
==Enable Anti-Virus Task==
 
Edit the following file and check that the parameters match the installation of clamav above.
 
Edit the following file and check that the parameters match the installation of clamav above.

Revision as of 15:45, 12 May 2015

Back to Customisation

Introduction

As of release 1.7, DSpace supports running curation tasks. DSpace includes several useful tasks out-of-the-box, but the system also is designed to allow new tasks to be added between releases, both general purpose tasks that come from the community, and locally written and deployed tasks.

Definition

Software

Install Anti-Virus Software

Install the "clamav-daemon" software by typing as follows.

sudo apt-get install clamav-daemon

Open the clamav config file by typing as follows:

sudo nano /etc/clamav/clamd.conf

NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)


Copy and paste the following to the bottom of the file

TCPAddr 127.0.0.1
TCPSocket 3310

NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)


Then restart the clamav daemon by typing as follows.

sudo /etc/init.d/clamav-daemon restart

Enable Anti-Virus Task

Edit the following file and check that the parameters match the installation of clamav above.

nano $HOME/source/dspace/config/modules/clamav.cfg

NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)


Then edit the following file and make sure the "vscan" task is enabled:

nano $HOME/source/dspace/config/modules/curate.cfg

NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)


See example below:

plugin.named.org.dspace.curate.CurationTask = \
org.dspace.ctask.general.NoOpCurationTask = noop, \
org.dspace.ctask.general.ProfileFormats = profileformats, \
org.dspace.ctask.general.RequiredMetadata = requiredmetadata, \
org.dspace.ctask.general.ClamScan = vscan, \
org.dspace.ctask.general.MicrosoftTranslator = translate, \
org.dspace.ctask.general.MetadataValueLinkChecker = checklinks

Then rebuild DSpace and then restart the Tomcat server.

Repository of tasks

Other Tools

Migration Tools

From other system to DSpace

From DSpace to other system

References