Book Image

Liferay Beginner's Guide

Book Image

Liferay Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

Time for action – deploying on Tomcat


To start with, you will need to download the latest community version of the Liferay Tomcat bundle from the download page of Liferay (http://www.liferay.com/downloads/liferay-portal/available-releases). At the time of writing, the latest Liferay bundle that is available is Liferay 6.0.6. Next, follow these steps to configure Tomcat with Liferay:

  1. Extract the zip file that you downloaded to the folder called bundles.

  2. We will call the extracted folder LIFERAY_HOME.

  3. There will be a tomcat folder inside LIFERAY_HOME which we will refer to as TOMCAT_HOME.

  4. Navigate to TOMCAT_HOME/bin and double-click on startup.bat.

  5. Your server should start up properly and you should see the console as shown in the following screenshot:

  6. Open a browser and type http://localhost:8080; this will open the Liferay home page.

What just happened?

We have got Liferay up and running in Tomcat. We will be using this configuration for the rest of the chapters.

Now, we will see how to deploy Liferay...