Install 3.0:

Changing the default port: If we want to run it on a port other than 8080, modify the tomcat/conf/server.xml 

*Installing the license file: you will have to create tomcat\shared\classes\alfresco\extension\license directory yourself.

using mysql instead of the default db:

1. use the extras\databases\mysql\db_setup.sql script to create the mysql db (make sure mysql is default to utf-8)

2. It doesn't come with the mysql jar file, so you will have to download  (or move it from a previous alfresco installation) mysql-connector-java.5.0.x-bin.jar to tomcat\lib directory.

3. change tomcat\shared\classes\alfresco\extension\custom-repository.properties file and custom-hibernate-dialect.properties file to use mysql

Troubleshooting:

if you see an error about JAXB 2.0 API during start up, cp the file jaxb-api-2.1.jar from alfresco.war's \WEB-INF\lib<tt> to tomcat\endorsed directory and restart the server

If you see error messages about  ERROR [activities.feed.AbstractFeedGenerator] Exception during generation of feeds
you need a custom-scheduled-action-services-context.xml file. See the post http://forums.alfresco.com/en/viewtopic.php?f=9&t=13093&p=43250&hilit=abstractfeedgenerator#p43250

Using Alfresco share:

1. if the port is not 8080, replace all the reference to port 8080 under webapps/share to the new port

2. to enable the sharepoint protocol support, make sure in amps directory there are alfresco-recordsmanagement.amp and vti-module.amp. Run apply_amps.sh in alfresco root directory. Please be aware that it will apply those amps to the alfresco.war file, clean up the webapps\alfresco directory. Next time you restart alfresco, that directory will be regenerated. All changes made directly in webapps/alfresco directory will be lost and have to be remade.

Installing the swf tools:

Alfresco Share uses the pdf2swf utility of the SWFTools for previewing PDF files. The pdf2swf utility generates one frame per page of fully formatted text inside a Flash movie. This is optional and may be installed after you have installed Alfresco.

Download the tar.gz file from http://www.swftools.org/&nbsp;and follow the instruction in the INSTALL file (basically running configure and make install to install the binaries in the path).

Installing OpenOffice:

Alfresco uses OpenOffice to transform files from one format to another.

Download the latest (stable) rpm version of OpenOffice for linux at http://download.openoffice.org

unpack and go to the RPMS directory and type rpm -ivh *.rpm.

the default installation directory is probably /opt/

change the tomcat/shared/classes/alfresco/extension/bootstrap/openoffice-startup-context.xml file and set the openOfficeStartupCommand as      

<value><![CDATA[/opt/openoffice.org3/program/soffice.bin "-accept=socket,host=localhost,port=8100;urp;StarOffice.\
ServiceManager" "-env:UserInstallation=file:////opt/openoffice.org3" -nologo -headless -nofirststartwizard -nocrashrep -norestore]]\
></value>
note: 3E uses a different format, but the same idea.

Restart alfresco and make sure there is no error or warning in alfresco.log about the swftools or openoffice.

Troubleshooting:

If an error occurs while running the apply_amp.sh program on "Caused by: java.util.MissingResourceException: Bundle de.schlichtherle.io.DefaultRaesZipDetector not found", add the following line in the apply_amp.sh script:

export JAVA_HOME="/usr/local/jdk1.6.0"

also change "java -jar " to "$JAVA_HOME/bin/java -jar"

Then rerun the apply_amp.sh program

  • No labels