Downloading and Installing WCM
From AlfrescoWiki
These procedures describe how to download and install 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
- Set the
Linux:
export JAVA_HOME='This is where your java installation is.'
- Add Java's
/bindirectory to thePATHenvironment variable
- Add Java's
Linux:
export PATH=$PATH:$JAVA_HOME
[edit] Download WCM
To download and install WCM:
- Go to SourceForge and download the package matching your Alfresco, which is 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
- (Windows)
[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.

