Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / Java / JavaSE

Installation of Alfresco in Step by Step Manner

3.55/5 (6 votes)
20 May 2009CPOL2 min read 46.4K  
An open source Content Management System (CMS) built on top of Java

Alfresco Modules

  • Document Management
  • Web Content Management
  • Collaboration
  • Content Platform and Repository
  • Content Management Interoperability Services (CMIS)
  • Records Management
  • Image Management

Alfresco Features

  • Smart Spaces
  • Desktop File Access
  • Auditable Content
  • Workflow
  • Categories
  • Advanced Search
  • Administration

Alfresco Installation

Install Java JDK “jdk-6u13-windows-i586-p.exe”. It installs JDK (including JRE).

Then download “Alfresco-Labs-3Stable-Full-Setup.exe” from Alfresco for Windows.

This will install application server (Tomcat), OpenOffice, Derby database.

For production, we need mysql database. For evaluating Derby built-in Java database is enough.

After installing Alfresco.exe:

Double click on alf_start.bat file. No need to edit anything in this file if (installed in default path c:\Alfresco) in doubt.

It makes Apache Tomcat application server run. It takes time to run all the commands in that bat file.

If the screen is flickering and disappearing very fast it means there is a problem in starting the given Tomcat Server.

On double click of Alf_start.bat file, it should run Tomcat and the screen should be like the one shown below:

Tomcat Starting 1.JPG

Tomcat starting 2.JPG

Tomcat starting 3.JPG

On double click of alf_start.bat file, if it is throwing an error like JAVA_HOME or JRE_HOME was not configured like the below error...

Second-JDKError.JPG

... then check the environment variables like shown below:

  • Right Click on “My Computer”- Select Properties.
  • System Properties window opens. Go to Advanced tab.

    First-SystemProperties.JPG

  • Click “Environment Variables” button.
  • Set the below environment variables:
    JAVA_HOME   : [Installation
    Drive]\Program Files\Java\jdk1.6.0_07
    
    JRE_HOME     : [Installation
    Drive]\Program Files\Java\jre1.6.0_07

    Third-EnvironmentVariables.JPG

  • Press Ok and Apply Ok.

Installation Steps

Select Language.

First-LanguageSelection.JPG

Press Ok. “This will install Labs on your computer. Continue?” alert comes.

First Do u want to continue.JPG

Press ok.

InstallJammer Wizard opens.

Second-Welcome.JPG

Press Next.

Select Typical as Setup Type screen.

Third-SetupType.JPG

Click Next.

Choose Destination Location. Default path C:\Alfresco is recommended for Tomcat Application Server to identify it.

Fourth-DestinationLocation.JPG

Press Next.

Start Copying Files screen comes.

Fifth-StartCopyingFiles.JPG

Press Next.

Installation starts.

Sixth-Installing.JPG

Java installation screen comes and automatically starts.

Open Office Installation screen automatically comes.

Seventh-OpenOffice.JPG

Press Next.

Database selection comes. Select built-in Java database (for evaluation purposes, this is sufficient).

Eight-Database Selection.JPG

Press Next.

InStallJammer Wizard Complete screen opens which indicates Alfresco was successfully installed.

Nine-InstallJammer.JPG

Alfresco uses 8080 port for Tomcat server.

Type http://localhost:8080/alfresco in the browser.

First My Alfresco.JPG

Click on Login (default values)

  • Username: admin
  • Password: admin
  • Language: English

Second Login.JPG

Admin screen opens.

Third Navigator.JPG

Click on Navigator dropdown at the left topmost corner: It contains Navigator, Shelf, OpenSearch, Categories.

From here, you can find different modules given out of the box.

Start -> Programs -> Alfresco Labs: It has:

  • Start Alfresco Server
  • Start Virtual Server
  • Stop Alfresco Server
  • Stop Virtual Server

Start Alfresco Server (is similar to double clicking alf_start.bat file).

For shutting down Tomcat server, use Stop Alfresco Server.

References

History

  • 20th May, 2009: Initial version

Links to Other CMS Installations

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)