Xem mẫu

Installation and Configuration Component OpenOffice.org Flash Player Version 10.x SWFTools Recommendation Alfresco uses OpenOffice for transforming documents from one format to another, for example, a text file to a PDF file. If you do not install OpenOffice, you will not have access to the transformation functionality. Alfresco Share requires Flash Player Version 10.x to upload multiple files and view Flash previews. If you do not install Flash, you see the upload screen for single files. Alfresco Share uses the pdf2swf utility for previewing PDF files. If you do not install SWFTools, you will not see PDF previews, but image previews will still be available. Alfresco runs within an instance of the Tomcat application server. The installers and the Tomcat bundles are preconfigured with Tomcat. If you wish to install Alfresco within another application server, use the Alfresco WAR file. Installing a JDK A Java SE Development Kit (JDK) must be installed on your system before you install Alfresco. Some Alfresco installation wizards will detect whether you have a JDK on your machine and, if not, install a version for you. This task explains how to install JDK manually: 1. Browse to the Sun Microsystems Java download website: http://java.sun.com. 2. Select and download Java Development Kit (JDK) 6 for your platform. 3. If prompted, specify a location in which to download. 4. Navigate to where you downloaded the JDK. 5. Install the JDK on your system. After the JDK is installed on your system, verify that the JAVA_HOME environment variable is set. [ 22 ] Download from Wow! eBook Chapter 2 Verifying the JAVA_HOME environment variable location The JAVA_HOME environment variable location must be set to where the JDK is installed. This is done as follows: 1. Open the command prompt. 2. Enter the following: Windows: echo %JAVA_HOME% Linux: echo $JAVA_HOME Installing MySQL This section describes how to set up a MySQL open source Relational Database Management System (RDBMS) to use with Alfresco. Some of the Alfresco installation wizards install an embedded instance of MySQL that is configured with the correct settings. If you prefer to install MySQL database independently, this section describes the configuration settings that you should use: 1. Browse to the MySQL download site: http://dev.mysql.com/downloads. 2. Locate and select the appropriate package for your platform. Alfresco requires MySQL 5.0.67 or higher. 3. If prompted, specify a location on your system in which to download and install MySQL. 4. Browse to the location where you downloaded MySQL and double-click on the installer file. 5. The MySQL Server Setup wizard guides you through the MySQL installation, followed by the Configuration wizard. Verifying the MySQL installation Once you have installed MySQL, this task describes how to verify that it was installed correctly: 1. Open the command prompt. 2. In the prompt, enter: mysql -u root -p [ 23 ] Download from Wow! eBook Installation and Configuration 3. Type the password that you set during the installation and press Enter. Information about the installed MySQL version displays. If no errors are reported, MySQL is installed and running. 4. In the mysql> prompt, type exit to exit MySQL. You have verified that the MySQL installation was successful. Alfresco WCM Alfresco is built on state-of-the-art open source components such as Spring, Hibernate, Lucene, and JSF—often the components of choice for website developers today. It offers one repository for the whole team. This repository is a modern platform for Web Content Management 2.0 with a variety of user and technical benefits as described and discussed through the course of this book. The web development framework comprises: Java JSF, Struts, Wicket, among others Ruby Ruby on Rails .NET ASP.NET PHP Zend, CakePHP, Codelgniter Python Django Alfresco can be used by all of the previously mentioned frameworks. Each of them has different capabilities and often requires different implementation strategies. Using Alfresco WCM, you can provide a wealth of flexibility and choices when designing scalable web architecture. The following diagram shows a possible physical architecture for a WCM solution: [ 24 ] Download from Wow! eBook Chapter 2 WCM can be recommended to be used when: • The authors are comfortable using the Alfresco Web Client and web forms • Minimal time should be spent creating a robust presentation tier • You need the ability to roll back change sets • You only need to link to WCM content and basic URLs • You need to have a staging environment where content is reviewed before it is published • Simple "submit for approval" workflow is sufficient [ 25 ] Download from Wow! eBook Installation and Configuration Installation option that is suitable for you Alfresco is a 100 percent open source software developed using open standards. It can be operated on various operating systems, relational databases, application servers, web browsers, portals, and supports various languages. We shall examine all of the choices and determine which option is right for you. Enterprise and Community Editions Alfresco currently provides two types of product download options: • Alfresco Community Lab Network • Alfresco Enterprise Network The latest release of Alfresco has an Enterprise Edition as well as a Labs edition. Both the options have the same code base and features, and are 100 percent open source. For both the options, you can use Alfresco documentation (wiki), community support (forums), and community-contributed add-on products. The Alfresco Community Lab Network is free. The Alfresco Enterprise Network includes a per CPU license fee. The Alfresco Community Labs Network is an unsupported product and is mainly designed for developers and technical enthusiasts. It is designed in non-critical environments. Alfresco Community Lab releases Early and Often and renders a daily build, offering the latest functionality. It doesn`t provide scalability and high-availability certifications. I would recommend this to be used as the research vehicle for new features and as the platform for the Alfresco Community. And consider it as a test drive before you install. If you are implementing Alfresco for a major corporation, financial, insurance, government, or healthcare organization, I would recommend you go for Alfresco Enterprise Network support. The primary benefit is that with the support of Alfresco and its certified partners you will get a stable, reliable, certified, and supported application with warranty and indemnity. Your Alfresco version will be certified on all available stacks such as Linux, Windows, MySQL, Oracle, and many more. You will benefit from Alfresco support, which includes problem resolution, compatibility advice, migration advice, and upgrade support. For mission-critical applications, you will get 24/7 support from Alfresco experts. [ 26 ] Download from Wow! eBook ... - tailieumienphi.vn