Liferay Portal Administrator's Guide by Richard L
Total Page:16
File Type:pdf, Size:1020Kb
Portal Administrator's Guide Liferay Portal Administrator's Guide by Richard L. Sezov, Jr. and Stephen Kostas Copyright © 2010 by Liferay, Inc. Put ISBN Number Here if this is a published work This work is offered under the Creative Commons Attribution-Share Alike Unported license. You are free: ● to share—to copy, distribute, and transmit the work ● to remix—to adapt the work Under the following conditions: ● Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). ● Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. The full version of this license appears in the appendix of this book, or you may view it online here: http://creativecommons.org/licenses/by-sa/3.0 Contributors: Ray Auge, Jian Cao (Steven), Brian Chan, Alice Cheng, Bryan Cheung, Ivan Cheung, Shepherd Ching, Alexander Chow, Bruno Farache, Jorge Ferrer, Mike Han, Jeffrey Handa, JR Houn, Scott Lee, Wei Hong Ma (Sai), Charles May, James Min, Alberto Montero, Jerry Niu, Michael Saechang, Li Ji Shan (Dale), Ed Shin, Joseph Shum, Stephen Wilburn, Michael Young Table of Contents 1. Introduction.................................................................................................................15 ROBUST FUNCTIONALITY..........................................................................................................................16 AWARD-WINNING USER INTERFACE .........................................................................................................17 MULTI-TENANCY VIA COMMUNITIES AND ORGANIZATIONS .......................................................................17 FLEXIBLE ARCHITECTURE ........................................................................................................................17 ENTERPRISE APPLICATION INTEGRATION ..................................................................................................17 SECURITY ...............................................................................................................................................17 HIGH AVAILABILITY AND HIGH PERFORMANCE .........................................................................................18 THEMING AND EASE OF BRANDING ..........................................................................................................18 READY INTEGRATION ...............................................................................................................................19 CUSTOMIZATION AND EASE OF DEVELOPMENT...........................................................................................19 2. Initial Setup..................................................................................................................21 EDITIONS OF LIFERAY...............................................................................................................................21 OBTAINING LIFERAY.................................................................................................................................22 INSTALLING A BUNDLE.............................................................................................................................23 INSTALLING LIFERAY FOR AN ENTERPRISE.................................................................................................25 SAMPLE DATA..................................................................................................................................25 LIFERAY HOME.................................................................................................................................25 DATABASE SETUP.............................................................................................................................26 DEFAULT METHOD: AUTOMATIC................................................................................................26 MANUAL METHOD....................................................................................................................26 TURNING A BUNDLE INTO AN ENTERPRISE PORTAL.............................................................................27 THE PORTAL-EXT.PROPERTIES FILE............................................................................................29 INSTALLING LIFERAY ON AN EXISTING APPLICATION SERVER.............................................................30 INSTALLING LIFERAY IN 10 EASY STEPS.....................................................................................30 GLASSFISH 3.X..........................................................................................................................32 JETTY 6....................................................................................................................................35 JBOSS 5.X.................................................................................................................................37 RESIN 3.1.X..............................................................................................................................40 RESIN 3.2.X..............................................................................................................................42 TOMCAT 6.0.X..........................................................................................................................43 WEBLOGIC 10...........................................................................................................................45 ORACLE WEBLOGIC 10.3...........................................................................................................49 WEBSPHERE 6.1........................................................................................................................53 WEBSPHERE 7.0........................................................................................................................57 MAKING LIFERAY COEXIST WITH OTHER JAVA EE APPLICATIONS.......................................................60 SUMMARY...............................................................................................................................................61 3. Configuration...............................................................................................................63 LIFERAY'S USER INTERFACE......................................................................................................................63 NAVIGATING LIFERAY.......................................................................................................................64 NAVIGATING THE CONTROL PANEL....................................................................................................67 PORTAL ARCHITECTURE...........................................................................................................................69 USERS..............................................................................................................................................70 USER GROUPS..................................................................................................................................70 ROLES..............................................................................................................................................71 ORGANIZATIONS...............................................................................................................................71 COMMUNITIES..................................................................................................................................72 TEAMS.............................................................................................................................................72 USING THE CONTROL PANEL.....................................................................................................................72 ADDING USERS.................................................................................................................................73 USER MANAGEMENT........................................................................................................................75 ORGANIZATIONS...............................................................................................................................76 iii COMMUNITIES..................................................................................................................................78 SITE TEMPLATES.......................................................................................................................80 USER GROUPS..................................................................................................................................82 USER GROUPS AND PAGE TEMPLATES........................................................................................82 ROLES..............................................................................................................................................87 DEFINING PERMISSIONS ON A ROLE............................................................................................88 SPECIAL NOTE ABOUT THE POWER USERS ROLE.........................................................................91 TEAMS.............................................................................................................................................91 GLOBAL SERVER SETTINGS.......................................................................................................................92