Downloading and Installing WCM
From AlfrescoWiki
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:
- Set the
JAVA_HOMEenvironment variable to point to the base directory of your Java installation - Add Java's
/bindirectory to thePATHenvironment variable
- Set the
[edit] Download WCM
To download and install WCM:
- Browse to the Alfresco wiki.
- On the Downloads panel, click the Alfresco WCM 2.x link. The Alfresco Community Software Download opens.
- 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.
- Select one of the following files:
- (Windows)
alfresco-community-wcm-2.x.x.zip - (Linux)
alfresco-community-wcm-2.x.x.tar.gz
- (Windows)
- Download the file into the Alfresco home directory. For example:
- (Windows)
C:\Alfresco - (Linux)
/opt/alfresco
[edit] Configure WCM
To configure WCM:
- 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.
- In the root of the Alfresco home directory, move the file
wcm-bootstrap-context.xmlto 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.
- 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
- To check that the WCM installation is successful, check the
alfresco.logfile, 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: - 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.

