Tuesday, November 27, 2007

A quick note on how to install Alfresco

1. Install (if not already there) jre/jdk1.5x (no jdk-1.4x)

2. Set JAVA_HOME environment variable
In the .bash_profile file of root add these line at the last
JAVA_HOME=/Path_Of_Jdk1.5
export JAVA_HOME

3. Create a dir 'alfresco' in /opt

$cd /opt
$ mkdir alfresco

4. Download this file 'alfresco-community-tomcat-2.0.0.tar.gz' from
sourceforge
http://sourceforge.net/project/showfiles.php?group_id=143373

5. Untar the tar file at /opt/alfresco
$ cd /opt/alfresco
$tar -xzf /Path/alfresco-community-tomcat-2.0.0.tar.gz

6. Create one mysql database
$ cd alfresco/extras/databases/mysql
$ mysql -u root -p < db_setup.sql

7. Remove 3 files (default for HSQL) from here

$ cd /opt/alfresco/tomcat/shared/classes/alfresco/extension

custom-db-and-data-context.xml
custom-db-connection.properties
custom-hibernate-dialect.properties

8. Start the tomcat server and run the alfresco
$cd /opt/alfresco
$ alfresco.sh start


9. Point browser at
http://localhost:8080/alfresco

10. Stop alfresco
$cd /opt/alfresco
$ alfresco.sh stop

No comments:

Whats new in Ajuby 0.5