Wednesday, December 10, 2014

DSpace 4.1.2 Setup Installer ON Windows XP/7/8/Vista


Tested on 32bit_86 Windows 7 
1Java 1.6Download
2Apache Ant 1.8.3Download (* Restart your system after Ant is installed)
3Postgresql-9.3.5-1Download (password is postgres)
4
DSpace 4.1.2
Downlaod
5Compile DSpaceDownload and RUN
6Create Admin AccountDownload and RUN
7Apache Tomcat - DSpaceInstall (Don't Close command Window and Java symbol)
8Start ApacheInstall and RUN
0
Run DSpace (XMLUI)
http://localhost:8080/xmlui

Tuesday, November 25, 2014

Document viewer in DSpace with JSPUI


Open the [utils.js] file in any editor

sudo gedit /dspace/webapps/jspui/utils.js

copy the following code in utils.js file


-------------------copy bellow lines in utils.js at the end of all codes--------

var flag=0
$( document ).ready(function() {
jQuery(".standard").find("a[target='_blank']").each(function(){
  jQuery(this).attr('value',jQuery(this).attr('href'));
  jQuery(this).removeAttr('href');
  jQuery(this).css("text-decoration", "underline");
  jQuery(this).css("cursor", "pointer");

 
});
  jQuery(".metadataFieldLabel").each( function(index){     
if(jQuery(this).text().trim().replace(/:/g, '').replace(" ",'') == 'EnteredBy'){
$(this).next().remove();
$(this).remove();
} });
    jQuery(".standard").find("a[target='_blank']").on( "click", function() {   
if(flag==1){
jQuery( this ).parents('table').parents('table').eq(0).find('tr:last').remove();
jQuery( this ).parents('table').parents('table').eq(0).find('tr:last').remove();
jQuery( this ).parents('table').parents('table').eq(0).append("<tr><td><object style='overflow: auto;' data='"+jQuery( this ).attr('value')+"' type='application/pdf' width='100%' height='548px'></object><td><tr>");   
}else{
flag=1;
jQuery( this ).parents('table').parents('table').eq(0).append("<tr><td><object style='overflow: auto;' data='"+jQuery( this ).attr('value')+"' type='application/pdf' width='100%' height='548px'></object><td><tr>");   
}
 

});
}); 



---------------------end up the code-------------------------------------

Document viewer can look like bellow




Monday, November 17, 2014

How To Change Tomcat Default Port on Ubuntu debian

If two web server conflict the ports

(like Koha and DSpace)
Question: My koha is already occupied 8080 port by apache2 in my Ubuntu machine how do I install my tomcat6 for DSpace like?

ANS: the issue is the conflict that you may have with apache2. If you are not running an apache server on 8080 port for Koha. then it should not be an issue at all. Just keep in mind you cannot bind two daemons to the same port at the same time.
But if you are using your koha apache2 on 8080 port you will have to change your new installation dspace tomcat port from 8080 to any one. Like 8081

Make sure that apache2 is turned off; if it is installed to avoid conflict on port 8080.

sudo service apache2 stop

Check that there are not services listening onport 80

netstat -aunt | grep 80

Here is the basic configuration changes that need to be made in

sudo gedit /etc/tomcat6/server.xml

<!--Connectorport="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" /-->

<Connector
port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />


Be sure to stop tomcat and then start tomcat and then test.


sudo /etc/init.d/tomcat6 stop

Your's truly,

Bharat

Installing DSpace 4.2 on Ubuntu 12.01 or 14.04 LTS

Installation of Prerequisites

Open terminal prompt (command prompt window)  


type


sudo apt-get install openjdk-7-jdk

sudo apt-get install tasksel
sudo tasksel

Select the following packagespe

[*] LAMP server


[*] Tomcat Java server
(do not * postgresql database)














use press (space-bar key) for select the options
Press [OK] button for install selected the application 

Install the Compile / Build tools
sudo apt-get install ant maven

PostgreSql 9.3- Graphical Installer on Ubuntu 12.04/14.x (64bit system)

- for 64bit system type in command 

- for 32bit system type in command 
wget http://get.enterprisedb.com/postgresql/postgresql-9.3.5-3-linux.run

  • enter cd /home/user/
Creating Database [dspace]
  • go to program list {dash home} search pgadmin and click.
    the following dialog window will appeared on screen


Create login role as a {dspace} password a {dspace}, create database {dspace} (see the screen above)

Restart postgres service
/etc/init.d/postgresql-9.3 restart

DSpace INSTALLATION:
sudo mkdir /dspace
sudo chown dspace /dspace



Downlaod DSpace 4.2 release

sudo mkdir /build
sudo chmod -R 777 /build
cd /build
Downlaod latest version of DSpace from the repository
http://sourceforge.net/projects/dspace/files/
sudo cp -r /home/usr/Downloads/dspace-4.2-src-release.tar.gz /build/

cd /build
tar -xvzf dspace-4.2-src-release.tar.gz

cd /build/dspace-4.2-src-release
mvn -U packag OR mvn install

Configure Tomcat to know about the DSpace webapps.
[If the following command not open, check the tomcat version number and apply in the command]

sudo gedit /etc/tomcat6/server.xml
(if gedit is not installed in your system type apt-get install gedit)

------Add bellow lines at the end of & before </host> section-----

<!-- Define a new context path for all DSpace web apps -->
<Context path="/xmlui" docBase="/dspace/webapps/xmlui" allowLinking="true"/>
<Context path="/sword" docBase="/dspace/webapps/sword" allowLinking="true"/>
<Context path="/oai" docBase="/dspace/webapps/oai" allowLinking="true"/>
<Context path="/jspui" docBase="/dspace/webapps/jspui" allowLinking="true"/>
<Context path="/lni" docBase="/dspace/webapps/lni" allowLinking="true"/>
<Context path="/solr" docBase="/dspace/webapps/solr" allowLinking="true"/>

(save and close the file )

sudo chown tomcat6:tomcat6 /dspace -R


Restart Tomcat6 (my system has tomcat 6)

/etc/init.d/tomcat6 restart

Make an initial administrator account (an e-person) in DSpace:

/dspace/bin/dspace create-administrator

browse 
http://localhost:8080/xmlui


Your's Truly,

Bharat

Saturday, November 8, 2014

The DSpace 5.0 Testathon Begins Nov 10, 2014

–Users/Feedback Wanted!

From Hardy Pottinger, DSpace 5.0 Release Team Member
The first Release Candidate for DSpace 5.0 will be made available for testing on November 6, 2014. New features of interest include:
For all UIs:
• Batch import from Zip files uploaded via the admin interface of either UI
• Easier Database upgrades, thanks to the inclusion of Flyway, an open-source database migration tool
• A feature-complete REST API, supporting both read and write operations
• Linked (Open) Data support
• Metadata for all DSpace Objects
• Improved thumbnail generation (via ImageMagick/Ghostscript)
• Google Analytics integration now tracks "downloads" of bitstreams
• A place to add third-party plugins
For JSPUI only:
• HTML5-based drag and drop upload interface for uploading bitstreams during submission
• Per-item configurable visual indicators for browse and search results
For XMLUI only:
• Mirage2 theme, utilizing many modern web design tools and technologies, facilitating a "responsive" web design, adapting to any screen size
• ORCID integration via an authority plugin, and a new authority cache
• Serpa/Romeo lookup
• Rendering MathML code in abstracts
• Error pages (including page not found) are all styled with your own site styles
• Collection drop down box performance improvements for repositories with a large number of collections
• (Optional) ability to generate citation cover pages on PDFs
• An aspect for adding Google Analytics web usage information to item pages
There's much more. Please see full list on the Release Status page at: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+5.0+Status

Friday, July 18, 2014

My Dear Open Source Friends,


  No gimmicks. No politics. Simply celebration.

Software Freedom Day (SFD) is a global celebration of Free and Open Source Software (FOSS). Our goal in this celebration is to educate the worldwide public about of the benefits of using high quality FOSS in education, government, at home, and in libraries.

DSPACE USERS CLUB  (DSU CLUB) celebrating SFT on 14th September, 2014 

Please register event participation - Here 


                          
DSpace Users Club is happily announce to celebrate the Software Freedom Day-SFD on 14th September, 2014 on Sunday at at Hotel Middletown, Gandhinagar the event with hundreds of DSpace fans from Library and information areas; wish to join and help their communities understand Software Freedom & Open source movement and its applications.

If you are interested in helping out at a global level, get in contact with the SFI board.
Those who wish to join the event please register with mailing list and mail to dspace-club@googlegroups.com.

Lastly, do encourage your friends, family and associates to come to Software Freedom day to rejoice with jill and joy, and use the opportunity to chat to them about software freedom matters.


Activities:

- Introduction to Freedom of Software
- Open Source Software
- Open Source Library Applications -DSpace/KOHA/Jooma/Drupal

By 
Bharat M. Chaudhari, Gandhinagar
DSpace Enthusiast, ALCTS(ALA-USA) Fellow
Mob. 09428415401, Email:openbharat@gmail.com



Wednesday, January 8, 2014

Repository of the Month

West Bengal Public Library Network, here you can find copy right free rare books which are under the custody of various libraries of West Bengal, India. This repository is initiated with the assistance of Mass Education Extension and Library Services Department, Government of West Bengal and Center for Development of Advanced Computing, under the Ministry of Information & Technology, Government of India. It has started its journey on 12th August 2010. The aim of this digital repository is to provide free service to academics, researchers, and students. It is a digital service that collects, preserves, and distributes rare digital material.
 Access Repository: Live Dspace

Latest Release DSpace 4.0

DSpace 4.0 can be downloaded from the files area in SourceForge (Zip) or viaGitHub (dspace-4.0 tag).  Release documentation is available at DSpace 4.x Documentation.
DSpace 4 is the latest major release offering many new features, bug fixes and improvements. We encourage users to upgrade to 4.x.

New Features and Improvements

General:
JSPUI Specific:
XMLUI Specific:
For much more information on each of these features or improvements, please visit our 4.0 Release Notes.

Dspace Demo