Downloading and Installing WCM

From AlfrescoWiki

Jump to: navigation, search

These procedures describe how to download and install Community WCM (Web Content Management) to work with Alfresco on any platform.

Contents

[edit] Prerequisites

Before you start, ensure that:

  • Alfresco is installed (for information on how to install Alfresco, see Installing on Microsoft Windows or Installing on Linux
  • the WCM version you choose is the same as your Alfresco version
  • the latest JDK 5.0 version is installed
  • the following two environment variables are set to the path of your JDK installation:
  1. Set the JAVA_HOME environment variable to point to the base directory of your Java installation
  2. Add Java's /bin directory to the PATH environment variable

[edit] Download WCM

To download and install WCM:

  1. Browse to the Alfresco wiki.
  2. On the Downloads panel, click the Alfresco WCM 2.x link. The Alfresco Community Software Download opens.
  3. Select the options to indicate on which platform or application you intend to use Alfresco WCM. The feedback questions are optional. Alternatively, click Skip to download page to ignore the questions. The Sourceforge.net site opens, where you can download all the Alfresco releases.
  4. Select one of the following files:
  • (Windows) alfresco-community-wcm-2.x.x.zip
  • (Linux) alfresco-community-wcm-2.x.x.tar.gz
  1. Download the file into the Alfresco home directory. For example:
    • (Windows) C:\Alfresco
    • (Linux) /opt/alfresco

[edit] Configure WCM

To configure WCM:

  1. Browse to the Alfresco home directory, and unzip the file. If your unzip program asks about existing directories, allow this because no existing files will be overwritten.
  2. In the root of the Alfresco home directory, move the file wcm-bootstrap-context.xml to the Alfresco extension directory. For example, for tomcat the directory is at:
  • (Windows) C:\Alfresco\tomcat\shared\classes\alfresco\extension
  • (Linux) tomcat/shared/classes/alfresco/extension.
  1. Restart the Alfresco server. This ensures that the Alfresco server starts to use the installed WCM components. For more information on restarting the Alfresco server, see Running Alfresco
  2. To check that the WCM installation is successful, check the alfresco.log file, which is in the Alfresco home directory. Search for the following text The Web Forms folder was successfully created: and The Web Projects folder was successfully created:
  3. Check that the following additional spaces are in your Alfresco repository:
  • Web Projects in Company Home
  • Web Forms in Data Dictionary

[edit] Using the website preview feature

Start the Alfresco virtualization server by running the appropriate file for your platform:

  • (Windows) run virtual_start.bat.
  • (Linux) run sh virtual_alf.sh start.