Thursday, December 1, 2011

How to install Alfresco Application

As per my client request today I have installed Alfresco Enterprise version in my window platform.It is very good Open source CMS tools.My client using this tool only for Document Management
Here I am Posting the installtion steps
Installation Guide Alfresco Application

  1. Install Tomcat Application server in Alfresco Folder
  2. Configure Tomcat for Alfresco Application
 Create the directories required for an Alfresco installation:
  1. Create the shared/classes directory.
  2. Create the shared/lib directory.
       Open the <TOMCAT-HOME>/conf/catalina.properties file.
       Change the value of the shared.loader= property to the following: shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

        Edit the <TOMCAT_HOME>/conf/server.xml file as below
<Connector port="80" protocol="HTTP/1.1" URIEncoding="UTF-8"
               connectionTimeout="20000"
               redirectPort="8443" />
Save server.xml file
        Go C:\Alfresco\tomcat\bin folder and edit catlina bat file
Add the value as
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%  -Xms128m -Xmx512m -Xss96k -XX:MaxPermSize=160m

  1. Install My Sql and set path in environment variable and make sure MySQL are running by command mode also.
  1. MySQL database Configuration
Put jdbc  mysql-connector-java-5.1.7-bin jar file under the C:\Alfresco\tomcat\lib

Run database file script which is provided by Alfresco for database creation.

Make sure alfresco database is created

4. Configuration Alfresco application.
Extract the setup WAR file
alfresco.war file and share.war files from C:\alfresco-enterprise-3.4.1\web-server\webapps to the appropriate location for your application server. For example, for Tomcat, move the .war files to the <TOMCAT_HOME>/webapps directory.

Edit the /shared/classes.alfresco-global.properties.sample file from      C:\alfresco-enterprise-3.4.1\web-server\shared\classes with your configuration settings.
     Save the file without the .sample extension.
Move the alfresco-global.properties file to <classpathRoot>. For example, <TOMCAT_HOME>/shared/classes
Create the the folder structure as below mentioned
bin and licenses folder taken from as a copy from C:\alfresco-enterprise-3.4.1 setup file location

Copy alfresco folder from  C:\alfresco-enterprise-3.4.1\web-server\shared\classes to C:\Alfresco\tomcat\shared\classes
Edit the alfresco-global.properties

Put  your license file (XYZ.lic.installed) to location        C:\Alfresco\tomcat\shared\classes\alfresco\extension\license with rename the file
XYZ.lic (remove only postfix extension).

  1. Restart the Tomcat  -- Deploy your alfresco as well as share application
During deployment getting some exception or error please ignore.
Check alfresco application

By default user ID: admin
                  Password: admin
Check share application
http://localhost:8080/share   (admin/admin)

No comments:

Post a Comment