Download and install Geronimo/Tomcat into your preferred directory. From now on, the directory where you installed Gernonimo will be referred to as $GERONIMO_HOME.
Download and install JDK 5 . Set an environment variable called %JAVA_HOME% to point to your JDK directory.
Download MySQL from www.mysql.com and install.
Download liferay-portal-4.1.x.war.
Download portal-kernal.jar from liferay Portal 4.1.x Dependencies.
Populate your database with the portal schema and default data.
Download script create-mysql.sql from Liferay Portal 4.1.0 SQL Scripts.
In command prompt, run mysql script by entering mysql < create-mysql.sql.
Edit $GERONIMO_HOME\bin\geronimo.bat
insert at line 219:
set JAVA_OPTS=-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT
Point browser to localhost:8080/console to enter Administration Console.
Login in as User: system and Password: manager
Click Common Libs under Services.
Click Browse, find portal-kernal.jar and add
Group: Liferay
Artifact: Portal-kernel
Version: enter version number of jar
Type: Jar
Click Install???
Click Database Pools under Services
Click Using the Geronimo database pool wizard
Name of Database Pool: LiferayPool
Database Type: MySql
Click Next
Driver Jar: click Download a Driver and select MySQL Connector/J3.0.17
Click Next
DB User Name: <none>
DB Password: <none>
Port: 3306 (default)
Host: localhost
Database: lportal
Click Next
Click Test Connection
Click Deploy
Click Deploy New under Applications
Archive: Browse for lieray-portal-4.x.war
Click Install
Click Web App WARs
Uninstall geronimo/welcome-tomcat/1.1/car
Start -default/liferayportal/xxxxxxx.../war
Open your browser to http://localhost:8080. Click on My Liferay at the upper right hand corner to enter the login screen. Your login is test@liferay.com and your password is test.