Wednesday, October 26, 2016

Wednesday, October 5, 2016

Change header in XMLUI interface

This is the default text header in xmlui interface.


Open following file in a terminal,
sudo su
leafpad /opt/tomcat/webapps/xmlui/i18n/messages.xml

Find the line  (Line no. 2178)

<message key="xmlui.dri2xhtml.structural.head-subtitle">DSpace Repository</message>

Change the text Dspace Repository

Save and close the file.
Refresh page Dspace xmlui interface.

Tuesday, October 4, 2016

Full text indexing with Dspace

Media Filters in Dspace are responsible to extract text for full-text searching. Media Filters for HTML Text, PDF text, Word file, Power Point enabled by default with Dspace. 

Run media filter from command line
Media filter can run from command line. It will generate index for searching.  

sudo su
/dspace/bin/dspace filter-media

Monday, October 3, 2016

Dspace backup manually

Backup of database
Open a Terminal and apply the following commands,

sudo su - postgres
pg_dump dspace > dspace.backup

Type exit to quit the Postgres prompt.
The above command takes a backup of the DSpace database and stores it in /var/lib/postgresql. Copy the database backup file to a safe place.


Enter the password of the Linux user for dspace.

Backup of Asset store and log folders.
Execute these commands one by one;
sudo zip -r assetstore.zip /dspace/assetstore
sudo zip -r log.zip /dspace/log

Backup-up files will be deposited in your home folder.

Image courtesy: Open Clip Art

Saturday, October 1, 2016

Change big logo on JSPUI interface

Here is the position of Dspace big logo on JSPUI interface.

Configure Gmail on Dspace

Dspace can accommodate Gmail service to send emails.

Email settings reside in dspace.cfg file. Open the Terminal and apply following commands to add gmail configuration:

sudo su
leafpad /dspace/config/dspace.cfg

Find following each chunk of lines the configuration file and add Gmail credentials.

New user account from command line

Dspace administrator can add new user through command line besides email registration. Open Terminal and apply following commands,

sudo su
/dspace/bin/dspace user --add --email user@gmail.com -g Tom -s User --password userpassword

Replace with your email and desired user password.

Reference
https://wiki.duraspace.org/display/DSDOC5x/Managing+User+Accounts