Page History
Info | ||
---|---|---|
| ||
An updated guide to Installing DSpace on OSX has been created. See: Install DSpace on OSX (2014) |
Reference documentation: http://dspace.org/technology/system-docs/install.html
...
- create a user postgres - use this for your postgres install
- create a user dspace - use this for both dspace and tomcat
- Update
java
With system update (J2RE version 1.5) - Install xcode tools. You need it for Ant. Probably other stuff too.
- Install
tomcat5.5
http://www.bartbusschots.ie/blog/?p=201 is a good guide - just remember to use the user dspace instead of tomcat. I have only done steps one to three.
Install
postgresql-8.1
http://www.entropy.ch/software/macosx/postgresql/ is a good guide that includes postgres prebuilt as a osx package for easy installation. (works fine for 10.4)Code Block sudo mkdir /dspace; sudo chown dspace /dspace
Create the PostgreSQL 'dspace' user and the 'dspace' database. The key here is to issue each command using
sudo
as the Unix 'postgres' user:Code Block sudo -u postgres createuser -U postgres -d -A -P dspace sudo -u dspace createdb -U dspace -E UNICODE dspace
...
modify /etc/profile as follows;
Code Block |
---|
# System-wide .profile for sh(1)
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
export PATH
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
#For Tomcat
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
export CATALINA_HOME=/usr/local/tomcat
export JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"
|
...
Overview
Content Tools