AnsweredAssumed Answered

Installing Alfresco on OS X - Help Needed

Question asked by kjrainforth on Jul 2, 2007
Latest reply on Jul 6, 2007 by alexandra

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 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 ./ start
./ line 16: /opt/alfresco/tomcat/bin/ No such file or directory

This is my file :


# Start or stop Alfresco server
# Set the following to where Tomcat is installed
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
  if [ -r ./ ]; then
    sh ./
  if [ -r ./ ]; then
    sh ./
elif [ "$1" = "stop" ]; then
  if [ -r ./ ]; then
    sh ./
  if [ -r ./ ]; then
    killall soffice.bin

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

Thanks in advance.