Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
This page describes the process of installing Alfresco 3.2r2 CE in the packaged XAMPP bundle on a Windows platform. The test system is Windows XP, however these instructions should also work with XAMPP on other variants of windows, linux and macintosh.
Alfresco has a Windows installer which may be more appropriate for the casual user without much configuration to perform. The Alfresco installer is an all-in-one solution which includes everything required and which starts and stops MySQL and Tomcat with a single menu selection. XAMPP, on the other hand, installs many things which are not strictly required (Apache, Perl, PHP, etc.) and fails to install Alfresco. XAMPP provides a convenient status and control panel from which each of the components may be started and stopped individually. In addition, the XAMPP package also includes the phpMyAdmin tool to aid database management.
The ability to start components individually is critical for 'development' deployments where configuration issues are being debugged. In particular, the case where you must troubleshoot user import from LDAP or active directory requires that you stop tomcat while leaving the MySQL server running. Having access to phpMyAdmin is 'gravy' if you're familiar with the command line tools, but is convenient in any case.
Deploying Alfresco within the XAMPP environment also affords users the opportunity to configure the Apache webserver to frontend Tomcat. Not only does this eliminate the somewhat annoying ':8080' at the end of the hostname, it allows Apache to handle the details involved with SSL and HTTPS.
The instructions on this page are not meant for use on a production server. There are additional steps you must take to secure your server if you intend to use this in a production environment. (See XAMPP security.)
These instructions assume that a sun Java runtime environment (1.5+) is already installed and the 'JAVA_HOME' environment variable is properly set.
By default, this will place everything in a directory called 'C:\xampp'. The remainder of this document assumes that 'C:\xampp' is the install directory, so adjust your paths appropriately if you did something different. This document also assumes that you chose to put a shortcut to the 'XAMPP Control Panel' on your desktop.
As discussed in Install Tomcat6, the newest version of Tomcat requires more setup than the old version (version 5.x.x and below). This additional setup is summarized here.
Alfresco will initialize an empty database on its first run. However, it will not create the database, nor will it create its own user.
To perform a 'cold start' of all the components, use the XAMPP control panel to start MySQL, then Tomcat (waiting for confirmation that MySQL is running before starting Tomcat.) To shut everything down, use the XAMPP control panel to stop Tomcat, then MySQL (waiting for confirmation that Tomcat is stopped prior to shutting off MySQL).
Obviously one of the main reasons to choose this deployment method over the all in one installer is the ability to leave MySQL running when tomcat has been stopped. This allows you to make configuration changes, delete C:\Alfresco\alf_data, and drop/re-create the alfresco database. This is an effective means of deleting all users (as well as everything else). Restarting tomcat will then cause alfresco to re-initialize its repository and database and re-bootstrap whatever users exist in the defined user registries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.