Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleUpdated Guide Available
An updated guide to Installing DSpace on OSX has been created. See: Installing DSpace on OSX (2014)

<?xml version="1.0" encoding="utf-8"?>
<html>
This tutorial is an aid to doing the bits of the standard install in a mac-specific way. I'll try to keep the headings/numbering the same so you can follow.

See [ Installing + DSpace + on + OSX] for an older, more terse version.

...

4. PostgreSQL 8.0+
I like OSX Postgres installer found at http://www.entropy.ch/software/macosx/postgresql/Image Removed as it puts PostgreSQL in /usr/local thus saving me from the game of 'hunt the os specific path' that can make your life hell. This way everything is where you expect it to be (especially if you are looking postgresql documentation that assumes unix/linux)
There are a number of OSX installers/builds. Use the one you like best.

Note: you can also install PostgreSQL using MacPorts (or you can read here [http://www.mac-how.net/ Mac How] )

Panel
  1. for example
    sudo port install postgresql-jdbc postgresql80 postgresql80-doc postgresql80-server

...

5. Edit dspace-source/config/dspace.cfg, in particular you'll need to set these properties:
try

Panel

dspace.url = http://localhost:8080/dspaceImage Removed
dspace.hostname = localhost
dspace.name = DSpace at my desk
db.password (the password you entered in the previous step)

...

Panel

/usr/local/tomcat/bin/shutdown.sh (if http://localhost:8080/Image Removed tomcat is running)
/usr/local/tomcat/bin/startup.sh

Visit the base URL of your server, e.g. http://localhost:8080/dspaceImage Removed

</html>