Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Deleted the redundant code from the Windows Installation section

...

DSpace uses the Apache Solr application underlaying the statistics. There is no need to download any separate software. All the necessary software is included. To understand all of the configuration property keys, the user should refer to DSpace Statistic Configuration for detailed information.

Windows Installation

Pre-requisite Software

If you are installing DSpace on Windows, you will still need to install all the same Prerequisite Software, as listed above.

Essentially installing on Windows is the same as installing on Unix so please refer back to the main Installation section.

  • Download the DSpace source from SourceForge and unzip it (WinZip will do this)
  • If you install PostgreSQL, it's recommended to select to install the pgAdmin III tool. It provides a nice User Interface for interacting with PostgreSQL databases.

Installation Steps

...

  • Create a 'Login Role' (user) called dspace with the password dspace
  • Create a database called dspace owned by the user dspace, with UTF-8 encoding

...

  • Note: Use forward slashes / for path separators, though you can still use drive letters, e.g.: dspace.dir = C:/DSpaceAlso, make sure you change all of the parameters with file paths to suit, specifically:

    Code Block
    dspace.dir
    config.template.log4j.properties
    config.template.log4j-handle-plugin.properties
    config.template.oaicat.properties
    assetstore.dir
    log.dir
    upload.temp.dir
    report.dir
    handle.dir

...

Generate the DSpace installation package by running the following from command line (cmd) :

Code Block
cd [dspace-source]/dspace/
mvn package
  • Note #1: This will generate the DSpace installation package in your [dspace-source]/dspace/target/dspace-[version]-build/ directory.
  • Note #2:Without any extra arguments, the DSpace installation package is initialized for PostgreSQL. If you want to use Oracle instead, you should build the DSpace installation package as follows:

    Code Block
    mvn -Ddb.name=oracle package

...

Initialize the DSpace database and install DSpace to [dspace] (e.g. C:\DSpace) by running the following from command line from your [dspace-source]/dspace/target/dspace-[version]-build/directory:

Code Block
ant fresh_install
  • Note: to see a complete list of build targets, run: ant help

...

Create an administrator account, by running the following from your [dspace] (e.g. C:\DSpace) directory:

Code Block
[dspace]\bin\dspace create-administrator

...

  • Alternatively, Tell your Tomcat installation where to find your DSpace web application(s). As an example, in the <Host> section of your [tomcat]/conf/server.xml you could add lines similar to the following (but replace [dspace]with your installation location):

    Code Block
    <!-- DEFINE A CONTEXT PATH FOR DSpace XML User Interface  -->
    <Context path="/xmlui" docBase="[dspace]/webapps/xmlui" debug="0"
    	reloadable="true" cachingAllowed="false"
    	allowLinking="true"/>
    
    <!-- DEFINE A CONTEXT PATH FOR DSpace JSP User Interface  -->
    <Context path="/jspui" docBase="[dspace]/webapps/jspui" debug="0"
    	reloadable="true" cachingAllowed="false"
    	allowLinking="true"/>
    
    <!-- DEFINE A CONTEXT PATH FOR DSpace OAI User Interface  -->
    <Context path="/oai" docBase="[dspace]/webapps/oai" debug="0"
    	reloadable="true" cachingAllowed="false"
    	allowLinking="true"/>
    
    <!-- DEFINE ADDITIONAL CONTEXT PATHS FOR OTHER DSPACE WEB APPLICATIONS (SOLR, SWORD, LNI, etc.).
         CHANGE THE VALUE OF "[app]" FOR EACH APPLICATION YOU WISH TO ADD -->
    <Context path="/[app]" docbase="[dspace]/webapps/[app]" debug="0"
    	reloadable="true" cachingAllowed="false"
    	allowLinking="true"/>
    

...

  • For all path separators use forward slashes/.

Checking Your Installation

...