Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Liferay Beginner's Guide

You're reading from   Liferay Beginner's Guide Quick and easy techniques to build, deploy, and maintain your own Liferay portal with this book and ebook

Arrow left icon
Product type Paperback
Published in Dec 2011
Publisher
ISBN-13 9781849517003
Length 396 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Planning Your Portal FREE CHAPTER 2. Installing a Liferay Portal Instance 3. Understanding Portal Basics and Theming 4. Tips and Tricks-Advanced Configuration 5. Building your First Liferay Site 6. Managing Pages, Users, and Permissions 7. Creating and Publishing Content 8. Exploring Communities 9. Setting up an Online Shop 10. Liferay Server Administration PayPal Test Account Configuration
Pop Quiz Answers Index

Time for action – installing MySQL database server


If you have not already installed the MySQL database, follow these steps to install the latest version of MySQL Community Server on your computer:

  1. Go to http://dev.mysql.com/downloads/ to download the MySQL database installation package. You will find the page similar to the following screenshot:

  2. Download a mysql-5.5.14-win32.msi file to a local directory. That file is Microsoft Installer (MSI) for MySQL database server.

  3. Double-click on the mysql-5.5.14-win32.msi file. A window pops up. Click on Run.

  4. Click on Next. Check the I accept the terms in the License Agreement and click on Next.

  5. For the setup type, choose Custom and click on Next.

  6. For the installation folder, browse to C:\mysql and click on Next:

  7. Click on Next. Click on Install.

  8. When the installation is done, leave Launch the MySQL Instance Configuration Wizard checked and click on Finish.

  9. Click on Next to configure the MySQL server.

  10. Select Standard Configuration and click on Next.

  11. Input the root password and click on Next.

  12. Click on Execute to perform configuration.

  13. When the configuration is done, click on Finish.

  14. Add C:\mysql\bin as a value in the Path system variable, as we did for Java.

  15. In a DOS window, type mysql –uroot –p on the command line. Press Enter.

What just happened?

The previous screenshot confirms that the MySQL database server has been installed successfully.

Web browser

You can use Firefox (3.0 and above), Internet Explorer (IE) (7.0 and above), Chrome, Safari, and Opera to browse a Liferay Portal site.

The ability of a web browser to access a website depends on the user interface (UI) technologies used in the development of that website. Because Liferay Portal is highly customizable, you may be able to interact with a customized Liferay Portal site with more varieties of browsers on the market.

A Liferay Portal theme decides most of the look-and-feel of a Liferay Portal site. In almost all situations, a client will develop a custom theme for their site. The user interface technologies that they use for their custom theme decide the accessibility of their site.

Liferay 6.0 CE uses Alloy user interface (Alloy UI). Alloy UI has combined the following technologies:

  • Hyper Text Markup Language 5 (HTML5)

  • Cascading Style Sheets Level 3 (CSS3)

  • Yahoo! User Interface Version 3 (YUI3)

HTML 5 defines the HTML elements in a webpage. It is used for the structure of a portal page. CSS3 is used to add styles to document object models (DOM). YUI3, which includes JavaScript API, is used to make the HTML elements dynamic.

HTML 5 is the latest revision of the HTML standard. HTML 5 is still a work in progress. However, Safari, Chrome, Firefox, and Opera already support some of its features in their latest versions. IE 9 will also be available to support some HTML 5 features.

Liferay Portal has a feature to support browsing in iPad and smart phones in its 6.1 CE version. This is achieved by detecting the screen layout of the device with JavaScript code. When the computer screen layout is 960px wide, Liferay Portal knows that it is a desktop computer or iPad in landscape mode; when the screen layout is 320px wide, Liferay Portal knows it is a smart phone in portrait mode. Liferay Portal will apply a corresponding Cascading Style Sheet (CSS) class, and thus adjust the dimensions of an image and other content on the portal page.

Installing OpenOffice

Liferay Portal has a feature to convert web content, wiki articles, and message board content into PDF files and files of other formats. This feature relies on the integration of the OpenOffice application. OpenOffice is an open source office software that consists of a word processor, a spreadsheet program, a drawing tool, and a math program.

You have been reading a chapter from
Liferay Beginner's Guide
Published in: Dec 2011
Publisher:
ISBN-13: 9781849517003
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image