Install DSpace in Windows

Source: Internet
Author: User
Tags apache tomcat

I. Installation preparation
1. Java SDK 1.5 or later
2. PostgreSQL 8.3 for Windows (pgadmin III is recommended for PostgreSQL installation)
3. Apache ant 1.7 or later
4. Apache Maven 2.0.9 or later
5. Apache Tomcat 6.0 or later

Ii. Installation Steps

1. Download and unzip the DSpace source code (http://sourceforge.net/projects/dspace)
2. Start the postgresql service and run pgadmin III (START-> PostgreSQL 8.3-> pgadmin III). Use the Postgres account to connect to the local database,
A. Create a 'login role' user. the user name and password are "DSpace ".
B. Create a database that belongs to the DSpace user named "DSpace" and the encoding format is "UTF-8.
3. Modify the DSpace. cfg configuration file. Path: [dSPACE-source]/DSpace/config/DSpace. cfg
Modify the following attributes as needed:
DSpace. dir = D:/dSPACE
Mail. Server = hgs-svr-002.hgs.com
Mail. From. Address = linys@hgs.com
Feedback. Recipient = linys@hgs.com
Mail. Admin = linys@hgs.com
The preceding email addresses can be different.
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
4. Create a dSPACE installation directory (for example, D:/DSpace)
5. In the [dSPACE-source]/DSpace/directory, use the command line window (CMD) to generate the DSpace installation package.
MVN package
Note #1: the installation package is generated in the [dSPACE-source]/DSpace/target/dSPACE-[version]-build. DIR/directory.
Note #2: The default installation package of dSPACE uses the PostgreSQL database. If you want to use the Oracle database command
MVN-DDB. Name = Oracle package
6. initialize the DSpace database and install DSpace in [DSpace] (D:/DSpace). In your [dSPACE-source]/DSpace/target/dSPACE-[version]-build. run CMD in the Dir/directory
Ant fresh_install
7. Create an administrator account and run CMD in your [DSpace]/bin (D:/DSpace/bin) directory.
Dsrun org. DSpace. Administer. createadministrator
Enter information as prompted
8. Copy the webapps project under the [DSpace] Directory to the directory with the same name as Tomcat (for example, D:/program files/Apache-Tomcat-6.0.16/webapps)
9. Start the Tomcat service.
10. Enter http: // localhost: 8080/jspui or http: // localhost: 8080/xmlui in the browser.

Contact DSpace. If you have any questions during use, please contact us!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.