This chapter provides information for installing Alfresco and its components. Depending on your system, you can install Alfresco using a number of different methods. For example, you can install Alfresco by:
A typical manual installation scenario includes the following procedure:
This section describes how to install Alfresco using the following methods:
The installation wizard for Microsoft Windows installs all of the software and components that you require for running Alfresco.
Alfresco-Community-3.2-Full-Setup.exe
.
Option |
Description |
---|---|
Typical |
To select all of the components within the Alfresco full installation |
Custom |
To select individual components: Default Component (includes DM) WCM Java OpenOffice SharePoint Protocol MySQL database |
alfrescoglobal.properties
.The installation is complete. The README
file opens. When you close the README
file, you are directed to the release notes.
This section describes how to use the Alfresco OpenOffice installation wizard. This installation file has all of the required components for Alfresco, including OpenOffice, but it excludes the Java Developer Toolkit (JDK).
Alfresco-Community-3.2-OOo-Setup.exe
.
Option |
Description |
---|---|
Typical |
To select all the components within the Alfresco full installation |
Custom |
To select individual components:
|
alfresco-global.properties
file. You need to modify and run the example scripts in the extras
directory to create the Alfresco database and user for this instance of MySQL. README
file opens. When you close the README
file, you are directed to the release notes.This section describes how to install Alfresco using the Tomcat bundle on a Windows platform. Before you start, ensure that you have a JDK installed. Refer to the Installing a JDK section earlier in this chapter. Alfresco also requires Flash Player, SWFTools, and OpenOffice.org. For more information on installing these components, refer to the Installing Alfresco components section later in this chapter.
alfresco-community-tomcat-3.2.zip
. C:Alfresco
as the location for the download. JAVA_HOME
environment variable points to the location of your JDK installation. alfresco-global.properties
file. dir.root
. alf_data
directory. Replace backslashes with slashes. For example:dir.root=C:/Alfresco/alf_data
alfresco-global.properties
file.This section describes how to install Alfresco on Red Hat Linux using the following methods:
The installation wizard for Red Hat Linux installs the software and components that you require for running Alfresco. This installation wizard does not include JDK or an embedded database. Before you install Alfresco, ensure that you have the following softwares installed on your system:
These instructions are for working on a Graphical User Interface (GUI) in an X11 environment.
Alfresco-Community-3.2-Linux-x86-Install
.
Option |
Description |
---|---|
Typical |
To select all of the components within the Alfresco full installation |
Custom |
To select individual components: • Default Component (includes DM) • WCM • Java • OpenOffice • SharePoint Protocol |
<path>/soffice.exe
. As a temporary workaround, cp soffice.bin soffice.exe
will help the installer finish correctly. README
file opens. When you close the README
file, you are directed to the release notes.This section describes how to install the Alfresco Tomcat bundle on Linux.
Before you start, ensure that you have a JDK installed. Refer to the Installing a JDK earlier in this chapter. Alfresco also requires Flash Player, SWFTools, and OpenOffice.org. For more information on installing these components, refer to the Installing Alfresco components section.
alfresco-community-tomcat-3.2.tar.gz
. /opt/alfresco/
as the location for the download. /opt/alfresco/
, edit alfresco.sh
to point the APPSERVER
variable to the Tomcat bundle location /opt/alfresco/tomcat
. JAVA_HOME
environment variable points to the location of your JDK installation. alfresco-global.properties
file. dir.root
. alf_data
directory. For example: dir.root=/opt/alfresco/alf_data
. alfresco-global.properties
file.The installation wizard for Mac installs all of the software and components that you require for running Alfresco. This installation wizard does not include JDK or an embedded database. Before you install Alfresco, ensure that you have the following softwares installed on your system:
If you have these software installed, proceed to the following steps:
Alfresco-Community-3.2-MacOSXInstall.tar.gz
Alfresco-Community-3.2-MacOSXInstall
Option |
Description |
---|---|
Typical |
To select all of the components within the Alfresco full installation |
Custom |
To select individual components:
|
Use the Web Archive (WAR) file to install Alfresco on any platform. A WAR file is a JAR file used to distribute a collection of files (JavaServer Pages, servlets, Java classes, XML files, tag libraries, and static web pages) that together constitute a web application.
Use this method of installing Alfresco if you already have installed a JDK, a supported database, an application server, and the additional Alfresco components. The WAR zip includes the binaries for ImageMagick and pdf2swf. To download and install the Alfresco WAR file you need to carry out the following:
alfresco-community-war-3.2.zip
alfresco-community-war-3.2.tar.gz
alfresco.war
file and share.war
file to the appropriate location for your application server, for example:<TOMCAT_HOME>/webapps
.If you deployed previous versions of Alfresco, you must remove any temporary files created by your application server.
If you install Tomcat 6.x separately, some of the directories that were present in Tomcat 5.x will not be present in the former. For example, Tomcat 6.x does not contain the shared/classes
and shared/lib
directories. Alfresco uses these directories to locate some of the configuration override files. This section describes how to configure Tomcat 6.x to use the correct directory structure and files for Alfresco:
<TOMCAT_HOME>
. shared/classes
directory.<TOMCAT-HOME>/conf/catalina.properties
file. shared.loader=
to the following:shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
lib/
. commons-el.jar
file is in the lib
directory. .jar
files that needed to go into the Tomcat common/endorsed
directory into the following directory:...jdk6/jre/lib/endorsed.
Each Alfresco distribution includes a download containing sample extension files, such as the Spring configuration. You can use these sample extensions for advanced Alfresco customizations by downloading and installing the files mentioned below, as follows:
alfresco-community-sample-extensions-3.2.zip
alfresco-community-sample-extensions-3.2.tar.gz
<classPathRoot>
.This task provides information for running Share in a separate Tomcat instance. These instructions are for Windows deployments, but Linux-based deployments can use the same methods:
/conf/server.xml
file for the new Tomcat instance as follows:a. Change the port number in the line (for example, to 8006):
<Server port="8005" shutdown="SHUTDOWN">
b. Change the port number in the section (for example, to 8180):
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" ....
share.war
file from the original Tomcat /webapps
directory to the new Tomcat /webapps
directory. commons-el.jar
file is in the Share Tomcat lib
directory. web-extension
directory, as follows: webscript-framework-config-custom.xml
file. http://<server-name>:8080
.This section describes how to install components that integrate with Alfresco. These can be installed any time before or after installing Alfresco. This section will take you through the installation of these components:
This section describes how to set up Alfresco Web Content Management (WCM) to an existing instance of Alfresco:
alfresco-community-wcm-3.2.zip
alfresco-community-wcm-3.2.tar.gz
C:Alfresco
/opt/alfresco
wcm-bootstrap-context.xml
file to the<extension>
directory.This ensures that the Alfresco server starts to use the installed WCM components. To restart the Alfresco server, see the Starting the Alfresco server section further on in this chapter. WCM is installed and configured.
Verify the WCM installation after you have installed, configured, and started the Alfresco server:
alfresco.log
. alfresco.log
, search for the following text: The Web Forms folder was successfully created:
and The Web Projects folder was successfully created:
WCM has been installed, configured, started, and verified. To use the Website Preview feature, start the Alfresco virtualization server (see the Starting the Alfresco virtualization server section later in this chapter).
The standalone deployment receiver allows a web project from WCM to be deployed to a remote file server, typically a web or application server. The published files are then typically published by a web server such as Apache for static content, or an application server such as Tomcat or JBoss for dynamic content. To carry out the installation follow the steps mentioned below:
Alfresco-DeploymentCommunity-3.2-Setup.exe
Alfresco-DeploymentCommunity-3.2-Linux-x86-Install
C:alfrescodeployment
on Windows or /opt/alfresco/deployment
on Linux.
Deployment setting |
Description |
---|---|
Temporary Data |
The directory in which to store temporary data files |
Log Location |
The directory in which to store log data |
Metadata Location |
The directory in which to store metadata |
Target Location |
The directory in which to store deployment files |
Name of default filesystem target |
The default name of the filesystem target is default |
C:\directory1\directory2
. Alternatively, you can use the slash character as a separator, for example, C:/directory1/directory2
.
Deployment setting |
Description |
---|---|
RMI Registry Port Number |
The port number for the RMI registry. Choose the default of 44101 to avoid conflict with the other services. |
RMI Service Port Number |
The port number to use for the RMI service. Choose this so that there are no conflicts with other services. |
The deployment receiver, out of the box, is configured with a single filesystem deployment target.
We already talked about the build process for the code deployment in the previous sections. So we have the build file ready and now we will see how we can deploy the code or customizations we have done for Alfresco WCM. There are two main approaches for this.
In this approach, we will integrate the files directly in the alfresco.war
file. For this you need to run the integrate-extension target. This target has some dependent targets, which will compile the Java source files. Make the JAR file and then package everything in one ZIP file and then integrate it with the alfresco.war
file.
AMP stands for Alfresco Module Package. Using this approach, you can install the code as a module. If you are installing using AMP, you should follow the folder-specific folder structure for that, which has already been described earlier in the Source code tree section. Apart from the folder structure, there are two other files that need to be created:
module.properties:
This will specify the metadata of the module with the ID and version number.The sample module.properties file that we have used here will look like:
# Cignex module module.id=Cignex module.title=Cignex Website module.description=Cignex Website module module.version=1.0
file-mapping.xml:
This file will be used if you want to customize the way in which your AMP file is mapped into the WAR. If it is not provided, then the default mapping information will be used.Here we have customized this for the WEB-INF
folder, which generally contains the faces-config-custom.xml
or any faces-related configuration files.
The content for file-mapping.xml
file is:
# Custom AMP to WAR location mappings /web/WEB-INF=/WEB-INF
For deploying the code as an AMP, you need to run the update-war
target. This target has some dependent targets, which will compile the Java source files. Make the JAR file and then create an AMP package with all of the customized files and finally install this AMP to the Alfresco WAR file and update the WAR file.
Within Alfresco, you can transform a document from one format to another, for example, a text file to a PDF file. To have access to these transformation facilities in Alfresco, you must install OpenOffice. This is optional and can be done any time after Alfresco is installed. If you installed Alfresco using an installation wizard, OpenOffice may already be installed.
c:AlfrescoOpenOffice
/opt/alfresco/OpenOffice
ooo.exe=
property in the<classPathRoot>alfresco-global.properties
file to point to the OpenOffice binary office.exe
.To enable image manipulation in Alfresco, you must install and configure ImageMagick. Alfresco uses ImageMagick to manipulate images for previewing. If you installed Alfresco using one of the installation wizards, ImageMagick has already been installed. If however, ImageMagick has not been installed, you can choose to do so by downloading it and installing it to work with your Alfresco instance.
convert
command, which is part of ImageMagick and is usually located in /usr/bin.
img.root=
and img.exe=
properties in the<classPathRoot>/alfrescoglobal.properties
file to point to the ImageMagick root directory.For example, in Windows:
img.root=
property to img.root=C:/Alfresco/ImageMagick
. img.exe=
property to img.exe=C:/Alfresco/ImageMagick/bin/convert.exe
.And for Linux:
img.root=
property to img.root=/ImageMagick
. img.exe=
property to img.exe=/ImageMagick/bin/convert.exe
.(/)
at the end of the path. For example, /ImageMagick/
.This task describes how to install Alfresco Add-ins for Microsoft® Office applications, such as Word, Excel, and PowerPoint. The Alfresco add-ins have been designed with Microsoft Office 2003 in mind. However, they are also compatible with Microsoft Office 2007. Before you start, make sure that:
Now proceed to the following steps:
alfresco-community-office2003-addins-3.2.zip.
alfresco-community-word2003-addin-3.2.zip
alfresco-community-excel2003-addin-3.2.zip
alfresco-community-powerpoint2003-addin-3.2.zip
setup.exe
.For example: http://server:8080/alfresco/.
webdav/
to the Alfresco Explorer URL.For example: http://server:8080/alfresco/webdav/.
For example: \server_aalfresco
or \serveraalfresco.
Alfresco Share uses the Flash Player for viewing Flash previews and also when you use the multi-file upload facility. This is optional and may be installed after you have installed Alfresco.
Alfresco Share uses the pdf2swf utility of the SWFTools for previewing PDF files. The pdf2swf utility generates one frame per page of fully-formatted text inside a Flash movie. To install the pdf2swf utility, you must install the complete SWFTools. This is optional and may be installed after you have installed Alfresco.
Follow these steps to install SWFTools on Windows:
.exe
. swf.exe=
property in the alfresco-global.properties
file to point to the SWFTools root directory.For example: swf.exe=C:/Alfresco/bin/pdf2swf.
/usr/bin/
.Alfresco Share uses the features provided in the development snapshots of the tools. For Linux, there is no binary version, so you need to compile a development snapshot. Before you compile, ensure that the following packages are installed in your machine:
zlib-devel
ibjpeg-devel
giflib-devel
freetype-devel
gcc
gcc-c++
You can download and install all of these packages using the following command:
yum install zlib-devel libjpeg-devel giflib-devel freetype-devel gcc gcc-c++
To download and install the SWFTools:
.tar.gz
. tar.gz
file. The installation file contains detailed instructions on how to compile and install the SWFTools../configure
./configure build=x86_64-pc-linux-gnu
. ./configure -disable-lame
.make
make check
command to run any self-tests that come with the package.make install
/usr/local/bin
directory. swf.exe=
property in the alfreso-global.properties
file to point to the SWFTools root directory, for example: swf.exe=/usr/bin/pdf2swf
.(/)
at the end of the path. For example, /usr/bin/.The SWFTools are installed. For the most up-to-date instructions on installing the SWFTools, refer to the SWFTools website.
Translations in Alfresco use the language pack supplied in the default bundle. This default bundle includes English (en), French (fr), German (de), Japanese (jp), Spanish (es), and Italian (it). If you have a translation that is not supplied with Alfresco, then you must add the appropriate TinyMCE language pack for the translation to work correctly.
If you installed Alfresco using one of the installation wizards or bundles, the default language packs are already installed. You can also download and install the language packs from the TinyMCE website.
<TOMCAT_HOME>/webapps/share/modules/editors/tiny_mce
.<TOMCAT_HOME>/webapps/alfresco/scripts/tiny_mce
.An Alfresco Module Package (AMP) is a bundle of code, content model, content, and the directory structure that is used to distribute additional functionality for Alfresco. This section describes how to install an AMP in an Alfresco WAR using the Module Management Tool (MMT). The MMT is used to install and manage AMP files, and it is included in the Alfresco installers. The MMT is also available as a separately downloadable JAR file from the Alfresco release download area (alfresco-mmt-3.2.jar).
For Tomcat, alternatively, run the apply_amps.bat
command, which is in the root Alfresco directory. This batch file applies all of the AMP files that are located in the amps
directory. You can verify the correctness of installation of AMP as follows:
/bin
directory: C:Alfrescoin
/opt/alfresco/bin
java -jar alfresco-mmt.jar install <AMPFileLocation> <WARFileLocation>[options]
Option |
Description |
---|---|
|
The location of the AMP file that you want to install. |
|
The location of the WAR file for your Alfresco installation. |
|
Install command [options]. Enables detailed output containing what is being updated and to where it is being copied. |
|
Install command [options]. Indicates that the AMP file location specified is a directory. All AMP files found in the directory and its sub-directories are installed. |
|
Install command [options]. Forces installation of AMP regardless of currently installed module version. |
|
Install command [options]. Previews installation of AMP without modifying the WAR file. It reports the modifications that will occur on the WAR without making any physical changes, for example, the changes that will update existing files. It is a good practice to use this option before installing the AMP. |
|
Indicates that the WAR will not be backed up before the AMP is installed. |
example-amp.amp
, and assumes that the AMP file is in the same directory as WAR file:java -jar alfresco-mmt.jar install example-amp.amp alfresco.war -preview
java -jar alfresco-mmt.jar install example-amp.amp alfresco.war -verbose
java -jar alfresco-mmt.jar list <WARFileLocation>
work
and temp
directories while Tomcat is shut down.The Microsoft Office SharePoint Protocol Support offers Microsoft users greater choice by providing a fully-compatible SharePoint repository that allows the Microsoft Office Suite applications (for example, Word, PowerPoint, Excel) to interact with Alfresco as if it was SharePoint. This enables your users to leverage the Alfresco repository directly from Microsoft Office.
You can also use Microsoft Office SharePoint Protocol Support to enable online editing for Office documents within Alfresco Share. It enables your users to modify Office files without checking them in and out. Alfresco locks the file while it is being modified and releases the lock when the file is saved and closed. The following diagram shows the architecture of the SharePoint Protocol Support in relation to an Alfresco installation.
The SharePoint Protocol Support architecture embeds a Jetty web server within the Alfresco repository. Microsoft Office clients communicate directly with the Jetty server using WebDAV-like calls with proprietary extensions and on a different port number from Alfresco Share. This port number can be configured in the SharePoint Protocol Support properties files.
The SharePoint Protocol support functionality is installed from an Alfresco AMP. If you use the Windows or Linux installers to install Alfresco, the SharePoint Protocol Support is installed by default. These instructions describe how to install the SharePoint Protocol Support into the Alfresco WAR. When you install this file, it responds to the SharePoint requests from Office, and therefore allows Alfresco to appear as the SharePoint server.
If you installed Alfresco using an installation wizard, the SharePoint Protocol may already be installed.
Follow the steps listed below to apply the SharePoint AMP to your Alfresco instance:
vti-module.amp
file. amps
directory. vti-module.amp
file into the alfresco.war
file using the Module Management Tool (MMT). The vti-module.amp
file holds the functionality for the SharePoint connector. For Tomcat, alternatively, run the apply_amps.bat
command, which is in the root Alfresco directory. This batch file applies all of the AMPS that are located in the amps
directory./webapps/alfresco/WEB-INF/classes/ alfresco/module/org.alfresco.module.vti/context
The SharePoint Protocol Support functionality uses the properties in the default configuration file called vti.properties
in<TOMCAT_HOME>/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context
.
Custom properties and overrides can be set in the alfresco-global.properties
file. Ensure that you have applied the SharePoint Protocol Support AMP. This can be done and verified as follows:
alfresco-global.properties
file.vti.server.port=7070 vti.alfresco.deployment.context=/alfresco vti.alfresco.alfresoHostWithPort=http://your-host:8080 vti.share.shareHostWithPort=http://your-share-host:8080
Property |
Description |
---|---|
|
Use this property to configure on which port the SharePoint server listens. The default port number is 7070. |
|
Use this property to specify the URL that you enter in the Microsoft Office Shared Workspace. The default is set to |
|
Use this property to specify the IP address or host name of the Alfresco server. Replace |
|
Use this property to specify the Share instance. Replace |
The vti.properties
file in<TOMCAT_HOME>/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context
contains the full list of properties. Do not change the properties in this file; use only the alfresco-global.properties
file. Now, perform the following:
alfresco-global.properties
file.This section describes how to start and stop the following:
Before running Alfresco, you may need to modify the configuration settings. If you have installed Alfresco using one of the installation wizards, the configuration is set for you.
Once you have installed Alfresco, you can test the installation by starting the server.
For Windows:
C:alfresco
and double-click on alf_start.bat
.A command prompt opens with a message indicating the server has started.
INFO: Server startup in nnnn ms
For Linux:
/opt/alfresco/
and run alfresco.sh start
. sh
. You can edit the alfresco.sh
file to change to your preferred shell.Once you have installed Alfresco, you can start Alfresco Share using a browser.
http://localhost:8080/share
. In Windows, alternatively, you can click on the Start menu and select All Programs | Alfresco Community Edition | Alfresco Share. Alfresco Share opens.Once you have installed Alfresco, you can start Alfresco Explorer using a browser.
http://localhost:8080/alfresco
. In Windows, alternatively, you can click on the Start menu, and select All Programs | Alfresco Community Edition | Alfresco Explorer. Alfresco Explorer opens. C:alfresco
and double-click on alf.stop.bat
.The command prompt that opened during startup closes. Alfresco has now stopped.
For Linux:
/opt/alfresco/
and run alfresco.sh stop
.If you have installed Alfresco WCM, you can use the Preview Website feature by starting the Alfresco virtualization server.
For Windows:
C:alfresco
and double-click on virtual.start.bat
.For Linux:
/opt/alfresco/
and run virtual.alf_sh start
. C:alfresco
and double-click on virtual.stop.bat
.For Linux:
/opt/alfresco/
and run sh virtual_alf.sh stop
.The standalone deployment engine is implemented as a set of Java libraries and is multi-platform. Bourne shell scripts are provided for Unix, and Windows batch files are provided for Windows.
For Windows, to start the standalone deployment engine:
deploy_start
script, or select Start Menu | All Programs | Alfresco Standalone Deployment Receiver | Start Alfresco Standalone Deployment Receiver. deploy_start.bat
script. It is also possible to install the standalone deployment engine as a Windows service, which can automatically start when Windows starts.For Linux, to start the standalone deployment engine, open a command prompt and run the deploy_start.sh
script.
deploy_start.sh
or deploy_start.bat:
-Djava.rmi.server.hostname=x.x.x.x
Here x.x.x.x
is the IP address assigned to the NIC to which you want to bind.
The standalone deployment engine is implemented as a set of Java libraries and is multi-platform. Bourne shell scripts are provided for Unix, and Windows batch files are provided for Windows.
For Windows, to stop the standalone deployment engine:
deploy_stop.bat
, or select Start Menu | All Programs | Alfresco Standalone Deployment Receiver | Stop Alfresco Standalone Deployment Receiver.For Linux, to stop the standalone deployment engine open a command prompt and run the deploy_stop.sh
script.
The options for starting and stopping Alfresco as a console application can be viewed by clicking on Start | All Programs | Alfresco Enterprise as shown in the following screenshot:
The options there are discussed next:
Alternatively, you can always start, stop, and restart the Tomcat application server and the MySQL database server manually by going to their respective directories. It gives more control to the user. However, the console option gives batch files to perform the start/stop procedures in a consolidated way, relieving the user of any unwanted errors.
Let's take a peek into the installation directory<alfresco_installation_folder>
to look at the folders:
alfresco:
All of the shortcuts to installing, uninstalling, starting, and stopping Alfresco as a Windows service, and restarting, stopping, and starting of Alfresco as a normal console application from the Start menu of Windows points to this folder.alf_data:
All of the Alfresco content and Lucene indexes are stored in this directory.amps:
All of the AMP extensions files are required to be put here, and then use the apply_amps
script to perform the update.bin:
This directory contains the sub-installations of Alfresco. The main installation scripts in the alfresco
directory calls the sub-scripts in this folder to start the sub-Alfresco Tomcat
component of the installation, creating and setting up the permissions for the Alfresco MySQL database. This folder is very useful for people going for the manual installation rather than using an installer.extras:
Contains additional files such as space template for records management file plan, which can be imported into the Alfresco repository.java:
As is evident by the name, it contains the Java Development Kit. All of the Alfresco development is done using Java as the core programming language.licenses:
This directory contains the licenses for Alfresco, MySQL, Apache, and licenses for the other third-party applications used inside Alfresco.tomcat:
Again, as evident from the name, this directory holds the Tomcat installation where the Alfresco application is deployed as a WAR file. You can see the alfresco.war
and share.war
files in the webapps
sub-folder of this directory.openoffice:
This directory contains the entire portable Office suite installation that is used for word processing, spread sheet processing, and so on.virtual-tomcat:
This folder contains the customized Tomcat, which is used for previewing the files in the WCM. README
file gives information about using CIFS and some troubleshooting tips.You can uninstall the program by clicking on the uninstall.exe
application.
You can also configure Alfresco as a Windows service in a standard Alfresco/Tomcat Installation. With the default installation, Alfresco is bundled as a web application that launches within Tomcat. To configure Alfresco to run as a Windows service, you need to set up Tomcat to run as a Windows service.
To configure Alfresco as a Windows service:
<alfresco_installation_folder>/tomcat/bin
directory.
service.bat install alfresco
tomcat5.exe //US//alfresco --DisplayName "Alfresco Server"
tomcat5.exe //US//alfresco --JvmMs=256 --JvmMx=512 --JvmSs=64
tomcat5.exe //US//alfresco --JavaHome=<alfresco_installation_folder>/java
tomcat5.exe //US//alfresco --Environment ALF_HOME=<alfresco_installation_folder>/
tomcat5.exe //US//alfresco --Environment PATH=<alfresco_installation_folder>/bin;%PATH%
tomcat5.exe //US//alfresco --StartPath <alfresco_installation_folder>--Startup auto
<alfresco_installation_folder>/tomcat/bin
and enter the following command:
service.bat uninstall alfresco
<alfresco_installation_folder>/tomcat/bin
and enter the following command:
tomcat5w.exe //ES//alfresco