Installation and Conguration [ 42 ] 6. In the Welcome to the InstallJammer Wizard for Alfresco Enterprise window, click on Next. 7. In the Setup Type window, select one of the following options: 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 • OpenOfce • SharePoint Protocol • MySQL database Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 43 ] By default, Alfresco installs an embedded MySQL database instance, which is installed locally in the Alfresco directory and runs on port number 3306. (Optional) Select the database to use. You can choose one of the following: 8. If you wish to use an existing MySQL server rather than the embedded MySQL database, select the Custom option and deselect the MySQL Database option. 9. If you wish to install the embedded MySQL database in addition to your existing MySQL database, select the MySQL Database option. You will be prompted to specify an alternative port number after the installation starts. 10. If you wish to use a production database other than MySQL, deselect the MySQL Database option. Click on Next. Download from Wow! eBook <www.wowebook.com> Installation and Conguration [ 44 ] 11. In the Choose Destination Location window, click on Next to accept the default location for Alfresco or click on Browse to choose another location. 12. In the Start Copying Files window, review the settings and click on Next. 13 The installation starts. If you chose the Typical option, a prompt noties you when OpenOfce is being installed, and if you have an existing MySQL database (optional), the Database Conguration window noties you that the default database port 3306 is already used by the embedded MySQL database and prompts you to enter the root password of your chosen database and an alternative database port. Then click on Next (optional). 14. The installation wizard writes the server name and host to the conguration le called alfrescoglobal.properties. If you are using your existing MySQL database, 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. Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 45 ] 15. In the InstallJammer Wizard Complete window, click on Finish. The installation is complete. The README le opens. When you close the README le, you are directed to the release notes. Installing Alfresco on Windows (excluding JDK) This section describes how to use the Alfresco OpenOfce installation wizard. This installation le has all of the required components for Alfresco, including OpenOfce, but it excludes the Java Developer Toolkit (JDK). 1. Browse to the Alfresco Community Edition downloads area and download the following installation le: Alfresco-Community-3.2-OOo-Setup.exe. 2. Double-click on the downloaded le. 3. You may see an Open File - Security Warning message, prompting you to verify that you wish to run this software. To run the installation wizard, click on Run. 4. At the Language Selection prompt, select English and click on OK. 5. When prompted to conrm that you want to install Alfresco on your computer, click on Yes. The installation wizard launches. Download from Wow! eBook <www.wowebook.com> Installation and Conguration [ 46 ] 6. In the Welcome to the InstallJammer Wizard for Alfresco Community Edition window, click on Next. 7. The Browse for Folders window displays, prompting you to locate your JDK installation. Browse to your JDK installation and click on OK. In the Setup Type window, select one of the following options: Option Description Typical To select all the components within the Alfresco full installation Custom To select individual components: • Default Component (includes DM) • WCM • Java • OpenOfce • SharePoint Protocol • MySQL Database Note that, by default, Alfresco installs an embedded MySQL database instance, which is installed locally in the Alfresco directory and runs on port number 3306. 8. (Optional) Select the database to use. You can choose one of the following: ° If you wish to use an existing MySQL server rather than the embedded MySQL database, select the Custom option and deselect the MySQL Database option. ° If you wish to install the embedded MySQL database in addition to your existing MySQL database, select the MySQL Database option. You will be prompted to specify an alternative port number after the installation starts. ° If you wish to use a production database other than MySQL, deselect the MySQL Database option. 9. Click on Next. 10. In the Choose Destination Location window, click on Next to accept the default location for Alfresco or click on Browse to choose another location. 11. In the Start Copying Files window, review the settings and click on Next. The installation starts. You may see a prompt to notify you when the components are being installed. Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 47 ] 12. (Optional) If you have an existing MySQL database, the Database Conguration window noties you that the default database port 3306 is already used by the embedded MySQL database, and prompts you to enter the root password of your chosen database and an alternative database port. 13. (Optional) Click on Next. 14. The installation wizard writes the server name and host to the alfresco- global.properties le. 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. 15. In the InstallJammer Wizard Complete window, click on Finish. The installation is complete. The README le opens. When you close the README le, you are directed to the release notes. Installing the Alfresco Tomcat bundle on Windows 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 OpenOfce.org. For more information on installing these components, refer to the Installing Alfresco components section later in this chapter. 1. Browse to the Alfresco Community Edition downloads area and download the following installation le: alfresco-community-tomcat-3.2.zip. 2. Specify C:\Alfresco as the location for the download. 3. Extract the downloaded le into the location you specied. 4. Ensure that the JAVA_HOME environment variable points to the location of your JDK installation. 5. Open the alfresco-global.properties le. 6. Locate the property dir.root. 7. Change the property to show an absolute path for the alf_data directory. Replace backslashes with slashes. For example: dir.root=C:/Alfresco/alf_data 8. This directory is created for you when you start the server. 9. Add the property settings for your preferred database. 10. Comment out the settings for the remaining databases. 11. Save the alfresco-global.properties le. Download from Wow! eBook <www.wowebook.com> Installation and Conguration [ 48 ] Installing Alfresco on Red Hat Linux This section describes how to install Alfresco on Red Hat Linux using the following methods: • Installation wizard • Tomcat bundle 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: • JDK 6 • MySQL database These instructions are for working on a Graphical User Interface (GUI) in an X11 environment. 1. Browse to the Alfresco Community Edition downloads area and download the following installation le: Alfresco-Community-3.2-Linux-x86-Install. Ensure that you have the correct permissions set for executing the le. 2. Execute the downloaded le. 3. At the Language Selection prompt, select English and click on OK. 4. When prompted to conrm installation, click on Yes. The installation wizard launches. 5. In the welcome window, click on Next. The Browse for Folder window displays, prompting you to locate your JDK installation. 6. Browse to your JDK installation and click on OK. Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 49 ] 7. In the Setup Type window, select one of the following options: 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 • OpenOfce • SharePoint Protocol 8. Click on Next. 9. In the Choose Destination Location window, click on Next to accept the default location for Alfresco. 10. In the Start Copying Files window, review the settings and click on Next. The installation starts. If you chose the Typical option, a prompt noties you when OpenOfce and the SharePoint Protocol are being installed. 11. Click on Next. 12. (Optional) In the Database Conguration window, enter the root password of your MySQL database and a port number. 13. Click on OK. 14. In the OpenOfce Location window, browse to your OpenOfce location and click on OK. If you do not want to use OpenOfce for your document conversions, select the Alfresco installation folder as the location. 15. The installer looks for <path>/soffice.exe. As a temporary workaround, cp soffice.bin soffice.exe will help the installer nish correctly. 16. Click on Next. A prompt noties you when the SharePoint Protocol is being installed. 17. In the InstallJammer Wizard Complete window, click on Finish. 18. The installation is complete. The README le opens. When you close the README le, you are directed to the release notes. Download from Wow! eBook <www.wowebook.com> Installation and Conguration [ 50 ] Installing the Alfresco Tomcat bundle on Linux 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 OpenOfce.org. For more information on installing these components, refer to the Installing Alfresco components section. 1. Browse to the Alfresco Community Edition downloads area and download the following installation le: alfresco-community-tomcat-3.2.tar.gz. 2. Specify /opt/alfresco/ as the location for the download. 3. If you change this location from /opt/alfresco/, edit alfresco.sh to point the APPSERVER variable to the Tomcat bundle location /opt/alfresco/tomcat. 4. Extract the downloaded le into the location you previously specied. 5. Ensure that the JAVA_HOME environment variable points to the location of your JDK installation. 6. Open the alfresco-global.properties le. 7. Locate the property dir.root. 8. Change the property to show an absolute path for the alf_data directory. For example: dir.root=/opt/alfresco/alf_data. 9. This directory is created for you when you start the server. 10. Add the property settings for your preferred database. 11. Comment out the settings for the remaining databases. 12. Save the alfresco-global.properties le. 13. (Optional) If you deployed previous versions of Alfresco, you can remove any temporary les created by your application server. Installing Alfresco on Mac 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: • JDK 6 • MySQL database Download from Wow! eBook <www.wowebook.com> Chapter 2 [ 51 ] If you have these software installed, proceed to the following steps: 1. Browse to the Alfresco Community Edition downloads area and download the following installation le: Alfresco-Community-3.2-MacOSXInstall.tar.gz 2. Double-click on the downloaded le to unpack it. 3. Run the following executable le: Alfresco-Community-3.2-MacOSXInstall 4. At the Language Selection prompt, select English and click on OK. 5. When prompted to conrm installation, click on Yes. The installation wizard launches. 6. In the welcome window, click on Next. The Browse for Folder window displays, prompting you to locate your JDK installation. 7. Browse to your JDK installation and click on OK. 8. In the Setup Type window, select one of the following options: 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 • OpenOfce • SharePoint Protocol 9. Click on Next. 10. In the Choose Destination Location window, click on Next to accept the default location for Alfresco. 11. In the Start Copying Files window, review the settings and click on Next. The installation starts. If you chose the Typical option, a prompt noties you when OpenOfce and the SharePoint Protocol are being installed. 12. In the InstallJammer Wizard Complete window, click on Finish. 13. The installation is complete. The Readme le opens. When you close the Readme le, you are directed to the release notes. Download from Wow! eBook <www.wowebook.com> . installation le: Alfresco-Community-3.2-MacOSXInstall.tar.gz 2. Double-click on the downloaded le to unpack it. 3. Run the following executable le: Alfresco-Community-3.2-MacOSXInstall 4. At the. download the following installation le: Alfresco-Community-3.2-OOo-Setup.exe. 2. Double-click on the downloaded le. 3. You may see an Open File - Security Warning message, prompting you to verify. Community Edition downloads area and download the following installation le: Alfresco-Community-3.2-Linux-x86-Install. Ensure that you have the correct permissions set for executing the le. 2.