Difference between revisions of "SUNScholar/Install DSpace/S03"

From Libopedia
Jump to navigation Jump to search
(Created page with "==Step 4. *** Edit the DSpace configuration ***== Type the following to edit the Dspace (dspace.cfg) config file: nano /home/dspace/dspace-1.7.2-src-release/dspace/config/dspac...")
 
Line 32: Line 32:
 
*%my_email_address% = scholar@sun.ac.za
 
*%my_email_address% = scholar@sun.ac.za
  
  '''[[SUNScholar/Install Dspace/S05|Proceed to the next step]]'''
+
  '''[[SUNScholar/Install Dspace/S04|Proceed to the next step]]'''

Revision as of 11:12, 3 August 2012

Step 4. *** Edit the DSpace configuration ***

Type the following to edit the Dspace (dspace.cfg) config file:

nano /home/dspace/dspace-1.7.2-src-release/dspace/config/dspace.cfg

Replace all the places with a pair of percent signs (%something%) with the settings for your system.

dspace.dir = /home/dspace
dspace.url = http://%hostname%
dspace.baseUrl = http://%hostname%
dspace.hostname = %hostname%
dspace.name = %DSpace for My University%
db.name = postgres
db.url = jdbc:postgresql://localhost:5432/dspace
db.driver = org.postgresql.Driver
db.username = dspace
db.password = %db_user_password%
mail.server = %my_university_mail_server_address%
mail.from.address = %my_email_address%
feedback.recipient = %my_email_address%
mail.admin = %my_email_address%
alert.recipient = %my_email_address%
registration.notify = %my_email_address%
default.language = en_ZA

Example config setup

  • %hostname% = scholar.sun.ac.za
  • %DSpace for My University% = Stellenbosch University Research Repository
  • %db_user_password% = my very secret PostgreSQL DB password
  • %my_university_mail_server_address% = mail.sun.ac.za
  • %my_email_address% = scholar@sun.ac.za
Proceed to the next step