Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

Contents

Table of Contents
outlinetrue
stylenone

...

Setting up multiple DSpace instances in one Tomcat Server.

...

Panel

• cd /usr/lib/postgresql/8.1
• bin/createdb --U dspace dspace-test

8. Add the new database to pg_hba.conf so dspace can connect (as root)

...

15. Copy the dspace assetstore to dspace-test

Panel

• cp --Rv /dspace/assetstore/ /dspace-test/

...

Panel

• su dspace bash
• cd /usr/lib/postgresql/8.1
• bin/pg_dump dspace > dspace
• bin/dropdb dspace-test
• bin/createdb --U dspace dspace-test
• bin/psql --d dspace-test < dspace

    • NOTE** This can be accomplished much easier by using a GUI tool such as PGAdminIII. Simply backup the dspace database, drop the dspace-test database, create a new database called dspace-test with user dspace, and restore the dspace-test database from this backup. The postgresql server may have to be restarted (/etc/init.d/postgresql restart) before you can drop the dspace-test database.
      18. Rebuild the search indices
      Panel

      • /dspace-test/bin/index-all

...

Panel

#

  1. DSpace Configuration
    #
  2. evision: $evision: 1.78 $
    #
  3. Date: $Date: 2006/05/26 14:26:12 $
    #
          1. Basic information ######
  4. DSpace installation directory
    dspace.dir = /dspace2
    ****************************
  5. DSpace base UL. Include port number etc., but NOT trailing slash
    dspace.url = http://dspace.myu.edu:8080/dspace2Image Removed
    ********************************************************
    ...
          1. Database settings #####
  6. Database name ("oracle", or "postgres")
    db.name = postgres
    #db.name = oracle
  7. UL for connecting to database
    db.url = jdbc:postgresql://localhost:5432/dspace2
    *******************************************************
  8. JDC Driver
    db.driver = org.postgresql.Driver
  9. Database username and password
    db.username = dspace2
    db.password = dspace2
    ****************************
  10. Connection pool parameters

...