Simple installation
Download and install
JDK 1.4.2. Set the% java_home% environment variable points to the JDK installation directory.
download
Liferay-portal-ent-3.2.0-jboss-tomcat.zip.
Unzip LifeRay-portal-ent-3.2.0-jboss-tomcat.zip to C: / Liferay (Other paths can also, the path name is preferably not included).
Perform C: /LifeRay/bin/run.bat, will start the database server and web server. The database server uses the Hypersonic database system built by the JBoss by default. Since LifeRay-portal-ent-3.2.0-jboss-tomcat.zip is included in the JBoss Tomcat server using the 80-port, you must ensure that there is no other program to occupy this port before performing run.bat.
Open your browser, enter
http:// localhost Click on the upper right corner
My Liferay enters the login interface and entered in the username
Test@lifeRay.com Enter
Test.
Advanced installation
Download and install
JDK 1.4.2. Set the% java_home% environment variable points to the JDK installation directory.
Download and install
JBoss Tomcat.
download
LifeRay-portal-ent-3.2.0.ear.
Create a database script provided by Liferay
database
Edit / Server/default/conf/jboss-service.xml.
Delete / Server/default/deploy/jbossweb-tomcat50.sar/root.war.
Edit / Server/default/deploy/jbossweb-tomcat50.sar/web.xml.
init-param>
init-param>
init-param>
Use PrefixDeployments in replacementdePloymentsSorter
Edit / Server/default/conf/jboss-service.xml.
Close some unnecessary logs to improve performance
Edit / Server/default/deploy/transaction-service.xml.
Configure the data source. Make sure JBoss Tomcat enables JDBC drivers to the database
Create a mail session binding
Mail / mailsession. You only need to set the address of the IMAP, POP3, and SMTP servers
Editor / Server/default/deploy/mail-service.xml.
configure>
attribute>
mbean>
Configure JaaS.
Edit / Server/default/conf/login-config.xml Comment out the login module Login Module.
authentication> ->
deploy
LifeRay-portal-ent-3.2.0.ear.
Copy Liferay-Portal-Ent-3.2.0.EAR T to / Server / Default / Deploy Directory
Start JBoss Tomcat.
If an error prompt appears
Java.Lang.OutofMemoryError Exception While Starting Up Jboss Tomcat, by setting
-XMX512M options give JVM more memory
Open your browser, enter
http:// localhost Click on the upper right corner
My Liferay enters the login interface and entered in the username
Test@lifeRay.com Enter
Test.
If you want to configure Liferay to run in the JBoss Tomcat Apache environment, use MOD_JK2. Can refer to this article
Documentation.