Install Alfresco on Ubuntu 10.10

 

Install

wget http://dl.alfresco.com/release/community/build-3835/alfresco-community-4.0.b-installer-linux-x64.bin

sudo chmod 55 alfresco-community-4.0.b-installer-linux-x64.bin

sudo ./alfresco-community-4.0.b-installer-linux-x64.bin

Advanced setting:

Locationl:  /opt/alfresco

Database Server Port: 5434

Web Server Domain:  doc.zhenglei.net

Tomcat Server Port:         8118

Tomcat Shutdown Port:   8119

Tomcat SSL Port:              8120

Tomcat AJP Port:              8121

FTP port:                          8122

RMI port:                          50500

Sharepoint Port:               7070

Install as service:             Yes

OpenOffice Sevice Port:   8100

 

 

Launch Alfresco

/opt/alfresco/manager-linux-x64.run

 

Modify Alfresco Global Properties

alf_data parameter identifies the location of alfresco data store, where all the documents will be stored. Make sure this is pointing to an absolute path.

   cat /opt/alfresco/tomact/shared/classes/alfresco-global.properties

 

Using ubuntu default  openoffice

   Modify ooo.exe property of /opt/alfresco/tomact/shared/classes/alfresco-global.properties:

ooo.exe=/usrlib/openoffice/program/soffice.bin

jodconverter.officehome=/usr/lib/openoffice

 

Using ubuntu default  ImageMagick

img.root=/usr

 

 

 Change alf_data location:

    Modify /opt/alfresco/tomact/shared/classes/alfresco-global.properties

    Copy /opt/alfresco/alf_data/* to the new location:

cp -r /opt/alfresco/alf_data/*   /data/alfresco/

 

Launch java with command line option:

All global properitie can be change with java command line option:

Just set environment variable JAVA_OPTS, eg:

   export JAVA_OPTS=-Ddir.root=/data/alfresco