cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco on OS X - Help Needed

kjrainforth
Champ in-the-making
Champ in-the-making
Hi,

I have just download Alfresco but am having trouble installing it. I am new to installing software on OS X other than using .DMG files (I have used Windows x.x for 18 years…).

I have installed PHP, MySQL, Apache, all works okay and I used the Terminal application to complete some steps for these but from reading the Alfresco 'Simple Installation Guide' I seem to be stuck.

The instructions seems easy to follow but I'm stuck on what may be a really stupid section. It states that I should install Alfresco into /opt/alfresco .. I have searched for this on the system, even unhiding files and folders incase it was hidden to no avail. I then thought I would just create a directory from my home directory ~xxxxxx/opt/alfresco. I unpacked all the Alfresco files and made sure that the alfresco.sh file pointed to the correct directories but when I try to start it, it say's 'command not found'

I'm typing in terminal :

ken-rainforths-computer:~/opt/alfresco kenrainforth$ sudo ./alfresco.sh start
Password:
./alfresco.sh: line 16: /opt/alfresco/tomcat/bin/startup.sh: No such file or directory

This is my alfresco.sh file :

#!/bin/sh

# Start or stop Alfresco server
# Set the following to where Tomcat is installed
APPSERVER=~/opt/alfresco/tomcat
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME
export PATH
# Set any default JVM values
export JAVA_OPTS='-Xms128m -Xmx512m -server'
# Following only needed for Sun JVMs before to 1.5 update 8
export JAVA_OPTS="${JAVA_OPTS} -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeDeletions"
#
if [ "$1" = "start" ]; then
  "$APPSERVER"/bin/startup.sh
  if [ -r ./virtual_start.sh ]; then
    sh ./virtual_start.sh
  fi
  if [ -r ./start_oo.sh ]; then
    sh ./start_oo.sh
  fi
elif [ "$1" = "stop" ]; then
  "$APPSERVER"/bin/shutdown.sh
  if [ -r ./virtual_start.sh ]; then
    sh ./virtual_stop.sh
  fi
  if [ -r ./start_oo.sh ]; then
    killall soffice.bin
  fi
fi


I really am new to this but any assistance would be most appreciated.

Thanks in advance.

Ken
1 REPLY 1

alexandra
Champ on-the-rise
Champ on-the-rise
Have a look at my experience on installing on Mac OS X here:

http://wiki.alfresco.com/wiki/Installing_on_MacOS_X