Monday, August 22, 2016

Installation of Dspace 5.5 on Ubuntu 14.04 LTS


Open terminal by using [Ctrl+Alt] keys (like a command-cmd prompt in window)

(I assume that your system is 64bit and not under the proxy server)

sudo apt-get update

sudo apt-get install openjdk-7-jdk ant maven

sudo apt-get install tasksel

sudo tasksel

Select the following packages
[*] LAMP server
[*] PostgreSQL database
[*] Tomcat Java server

Create the database user

sudo su postgres
createuser -U postgres -d -A -P dspace


Enter password for new role: [Enter a password e.g. dspace]
Shall the new role be allowed to create more new roles? (y/n) n
[Enter n and press enter button]

Type exit

Allow the database user (dspace) to connect to the database
[If the following command not open, check the postgresql version number and apply in the command]

sudo gedit /etc/postgresql/9.3/main/pg_hba.conf

Add this line to the configuration file at the end:

local all dspace md5

save and close the file

Restart PostgreSQL :

sudo su
/etc/init.d/postgresql restart


Create Dspace user

sudo useradd -m dspace
sudo passwd dspace
[enter a password for the new user dspace] 

sudo mkdir /dspace
sudo chown dspace /dspace


Create the PostgreSQL 'dspace' database


sudo -u dspace createdb -U dspace -E UNICODE dspace

save and close the file.
Create Dspace directory

sudo mkdir /build
sudo chmod -R 777 /build
cd /build


Download Dsapce to /build directory
Copy paste following line in the terminal,

wget https://github.com/DSpace/DSpace/releases/download/dspace-5.5/dspace-5.5-src-release.tar.gz


Extracting Dspace package

tar -zxf dspace-5.5-src-release.tar.gz
cd /build/dspace-5.5-src-release
mvn -U package


Enter into Dspace package folder to download packages.

cd dspace/target/dspace-installer
sudo ant fresh_install

Create ADMINISTRATOR for DSpace

/dspace/bin/dspace create-administrator

Stop tomcat service
sudo service tomcat7 stop

Copy webapps xmlui, oai, solr to tomcat

sudo cp -r /dspace/webapps/xmlui/ /var/lib/tomcat7/webapps
sudo cp -r /dspace/webapps/oai/ /var/lib/tomcat7/webapps
sudo cp -r /dspace/webapps/solr/ /var/lib/tomcat7/webapps

Fix Tomcat permissions, and restart the Tomcat server


sudo chown tomcat7:tomcat7 /dspace -R
sudo service tomcat7 start

Test DSpace xmlui  in your browser

That is all that is required to install DSpace on Ubuntu. There are two main webapps that provide a similar turn-key repository interface
http://localhost:8080/xmlui

Thursday, July 28, 2016

3 Days Professional Developemt Program on DSpace@SP Univerisity

UGC-HRDC at Sardar Patel University is going to organize 3days Professional Development Program on Design and Development of Institutional Repository Using DSpace on 8th to 10th August, 2016 at SP University, Anand, Gujarat
Please do encourage or depute your library/IT professionals working in your organizations by paying registration fee of Rs. 1000.00 per person to the program.


Date: 3rd September, 2016 to 5th September, 2016


Vanue:
UGC - HRDC, Sardar Patel University, Vallabh Vidyanagar
 



Contant Person
Ms. Kinjal S. Parekh, Librarian 
UGC - HRDC, Sardar Patel University, Vallabh Vidyanagar

Friday, July 22, 2016

DSpace 5.5 Security and Bug Fixes Release

The 5.5 Release provides security fixes to both the XMLUI and JSPUI, along with bug fixes to the 5.x platform in general. Download 5.5 release 

Major bug fixes include:
  • XMLUI security fix
    • [HIGH SEVERITY] Directory traversal vulnerability in all XMLUI themes
  • JSPUI security fix
    • [MEDIUM SEVERITY] Directory traversal vulnerability in the JSPUI "Edit News" feature
  • REST fixes
    • Fixed the "/handle" endpoint (DS-2936)
    • REST webapp wasn't registering itself on startup (DS-2946)
  • OAI fixes
    • Fixed a few incorrect URL encoding issue (DS-3050)
    • Fixed the broken "NOT" filter (DS-2820)
  • Configuration Fixes
    • Fixed misspelling in dcterms registry (conformsTo) (DS-2998
    • Updated our default DataCite configurations to point at the updated DataCite test server (DS-2923)
  • Other minor fixes
    • Broken SQL query in Item.findByMetadataFieldAuthority API method (DS-2517)
    • Mirage2: Ensured printing the item page from doesn't include bitstream URLs (DS-2893)
For much more information on each of these and other fixes, please visit our DSpace 5.x Release Notes.

Thursday, January 7, 2016

Gmail Configiration in Koha

1. Installation of postfix mail server package. 

Open a a terminal and apply following command,

sudo su     [Enter Linux password]
apt-get install postfix

Use TABUP and DOWN ARROW buttons to move between various selections.


Select no configuration in the post installation screen.

2. Copy the configuration file.

cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf

3. Install following packages too

apt-get install libsasl2-2
apt-get install libsasl2-modules
apt-get install ca-certificates

4. Open the following file and add some lines.

gedit /etc/postfix/main.cf

Add the following lines at the bottom of the file.

relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes

5. Create a new file to save the gmail password.

gedit /etc/postfix/sasl_passwd

Add the following line in the opened file.

[smtp.gmail.com]:587    urgmailid@gmail.com:yourpassword

Add your gmail user name and password.

6. Change the permission of following file.

chmod 400 /etc/postfix/sasl_passwd

7.  Translate the /etc/postfix/sasl_passwd to Postfix lookup tables.

postmap /etc/postfix/sasl_passwd

8. Create the /etc/aliases.db

postalias hash:/etc/aliases

9. Create the /etc/postfix/cacert.pem.

cat /etc/ssl/certs/Equifax_Secure_CA.pem >> /etc/postfix/cacert.pem

10.  Restart Postfix.

/etc/init.d/postfix restart

Check the following settings in Koha to start email notices,

Administration > Patron categories > Overdue notice required > Yes

Koha Administration > Patrons > Enhancedmessagingpreferences > Allow
Set Koha >  Tools > Overdue Notice/status triggers

Enable email service in Koha

koha-email-enable library

Visit following link to check commands to enable email for Koha,

Information courtesy
These instructions blindly borrowed from Eureka blog. & Kohageek

How to migrate Linux Dspace to Window 10

Take a backup of Dspace database and folder s Assume the version is same with both OS [I have tested DSpace 6.3] sudo su mkdir dspace_backup...