Saturday, October 24, 2009

STEP 4: Install Liferay (Tomcat)

These are instructions to install Liferay with Tomcat.

DOWNLOAD: liferay-portal-tomcat-6.0-5.2.3.zip
FROM URL: http://www.liferay.com/web/guest/downloads/portal



Install

Open a terminal window, and enter the following commands. Replace [download location] with the directory where you downloaded the software. Note that your login id will be added to the users group, and that access to the liferay server installation will be granted to members of the users group.

$ cd [download location]
$ sudo adduser `whoami` users
$ newgrp users
$ sudo unzip -o liferay-portal-tomcat-6.0-5.2.3.zip -d /usr/local/
$ sudo chown -R root:users /usr/local/liferay-portal-5.2.3
$ sudo chmod -R g=u /usr/local/liferay-portal-5.2.3



Test

Open a new terminal window...

$ cd /usr/local/liferay-portal-5.2.3/tomcat-6.0.18/bin
$ ./catalina.sh run


If a web browser window does not open automatically, go to...

http://localhost:8080/web/guest

In the terminal window...

CTRL-C

No comments:

Post a Comment