Saturday, September 9, 2017

How to Install SubjectPlus 4.2 on Ubuntu 14.04 LTS

mysql -u root –p

CREATE DATABASE subjectplus;

CREATE USER sp@localhost;

SET PASSWORD FOR sp@localhost= PASSWORD("yourpassword");

GRANT ALL  ON `sp`.* TO `sp`@`localhost` IDENTIFIED BY 'yourpassword';

GRANT ALL PRIVILEGES ON subjectplus.* TO sp@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
exit

sudo service apache2 restart
service mysql restart

sudo cd tmp
apt-get install unzip

mkdir -p /var/www/html/sp

Download SubjectPlus zip from https://github.com/subjectsplus/SubjectsPlus/releases
copy this tmp/ directory 

unzip -q /tmp/SubjectsPlus-4.2.zip -d /var/www/html/sp/

chown -R www-data.www-data /var/www/html/sp

chmod -R 755 /var/www/html/sp

ow proceed to the web installation of Joomla. Go to the 
URL http://localhost/sp/SubjectsPlus-4.2/control


Cheers you have done with the SubjectPlus installation in Ubuntu 14.04 

User interface: http://library.pdpu.ac.in/sp/sp/control/index.php

Tuesday, August 8, 2017

Setting Default Password for PostgreSQL in Ubuntu

# sudo -u postgres psql
could not change directory to "/root"
psql (9.1.11)
Type "help" for help.

postgres=# \password
Enter new password:
Enter it again:
postgres=# \q

Thursday, May 11, 2017

Inclusive Librarianship: from limited Identity to limitless possibilities

By Bharat M. Chaudhari (MLS)

Abstract: 

Inclusion mean or are at the very core of what libraries are all about and libraries and librarians have an essential, catalytic role to play in facilitating the full participation with people and Inclusive librarians ensure that their library’s facilities, services, programs, collections, and technology are designed in ways in which all people, regardless of their ability, have an opportunity to participate in and use them.

Wednesday, March 8, 2017

Installing DSpace 6.0 on Ubuntu 14.04 LTS

Open terminal and put the command
sudo apt-get update

Install Java on your Ubuntu:
sudo apt-get install openjdk-7-jdk

Install ant on your Ubuntu:
sudo apt-get install ant

Install maven on your Ubuntu:
sudo apt-get install maven

Install Apache Tomcat 7:
sudo apt-get install tasksel

sudo tasksel

Select the following packages tomcat java server only by putting (*)

Add DSpace User to system
useradd -m dspace
https://github.com/DSpace/DSpace/releases/download/dspace-6.0/dspace-6.0-src-release.tar.gz

Install PostgreSQL 9.6 
Add PostgreSQL Apt Repository

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -

Install PostgreSQL

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib

sudo su - postgre
createuser --username=postgres --no-superuser --pwprompt dspace
createdb --username=postgres --owner=dspace --encoding=UNICODE dspace
psql --username=postgres dspace -c "CREATE EXTENSION pgcrypto;"


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

Install DSpace repository

wget https://github.com/DSpace/DSpace/releases/download/dspace-6.0/dspace-6.0-src-release.tar.gz
tar -zxf dspace-6.0-src-release.tar.gz
cd /dspace-6.0-src-release
mvn -U package

cd dspace/target/dspace-installer 
(if target is not available in /dspace, then try try cd /dsapce/dspace-6.0-src-release/dspace/target/dspace-installer)

sudo ant fresh_install

Create ADMINISTRATOR for DSpace
/dspace/bin/dspace create-administrator

sudo service tomcat7 stop

udo 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



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.

Dspace Demo