Liferay

Potential Components for Liferay - Glassfish Bundle 4.4.2

These are the components that a successful Liferay installation will need:

Configure Liferay-4.4.2 with Glassfish Bundle on Gentoo

This note is a work in progress. I've got it to work. But performance is a big problem. We can't deploy it unless I am able to reduce the average response time from 5+ seconds down to less than 500 milliseconds per page.

Configure the database

Here is my note on Configure Liferay-4.4.2 with Glassfish Bundle to Use MySQL on Gentoo

Configure Liferay-4.4.2 with Glassfish Bundle to Use MySQL on Gentoo

  1. Install mysql server:
    1. # emerge -pv dev-db/mysql
    2. # USE=-berkdb emerge -v dev-db/mysql
      (Berkeley DB is deprecated in msyql, so no need to install it)
    3. At the end of above command, it suggested to run the following:
      # emerge --config =dev-db/mysql-5.0.54
      (This command will setup the mysql root pwd)
    4. # rc-update add mysql default
    5. # /etc/init.d/mysql start
  2. Install MySQL JDBC connector:

Become Liferay Developer

  1. Register via Liferay Sign In to join Liferay Community
  2. Source file:
    Goto Liferay on Sourceforge and download the source file zipped package. Don't download the whole repositary via subversion, which is huge and take many hours to download.
  3. Project file:

Install Liferay with GlassFish Bundle on Gentoo

Installation doc:

Below is what I had done to install Liferay with Glassfish bundle: