Dspace 6 installation on Debian jessi

  • apt-get update

apt install -t jessie-backports  openjdk-8-jdk ca-certificates-java

  1. # apt-get install openjdk-8-jdk
  2. # apt-get install tomcat8 tomcat8-admin

 

apt-get install maven ant

apt-get install postgresql

 

Edit pg_hba.conf  POSTGRESQL file

local   all             postgres                                peer

to

local   all             postgres                                trust

 

apt-get install postgresql-contrib-9.4

git clone https://github.com/DSpace/DSpace.git

cd DSpace

 

    mvn package -Dmirage2.on=true
cd [dspace-source]/dspace/target/dspace-installer
ant fresh_install
cp -r [dspace]/webapps/* [tomcat]/webapps
/etc/init.d/tomcat start
[dspace]/bin/dspace create-administrator

in the directory [tomcat]/conf/Catalina/localhost you could add files similar to the following (but replace [dspace]with your installation location):

DEFINE A CONTEXT FOR DSpace XML User Interface: xmlui.xml
<?xml version='1.0'?>
<Context
    docBase="[dspace]/webapps/xmlui"
    reloadable="true"
    cachingAllowed="false"/>
DEFINE A CONTEXT PATH FOR DSpace JSP User Interface: jspui.xml
<?xml version='1.0'?>
<Context
    docBase="[dspace]/webapps/jspui"
    reloadable="true"
    cachingAllowed="false"/>
DEFINE A CONTEXT PATH FOR DSpace Solr index: solr.xml
<?xml version='1.0'?>
<Context
    docBase="[dspace]/webapps/solr"
    reloadable="true"
    cachingAllowed="false"/>
DEFINE A CONTEXT PATH FOR DSpace OAI User Interface: oai.xml
<?xml version='1.0'?>
<Context
    docBase="[dspace]/webapps/oai"
    reloadable="true"
    cachingAllowed="false"/>
Advertisements