The purpose of this guide is to provide instructions for a Liferay Portal bundle. A bundle includes Liferay Portal together with an Open Source application server so that it's ready to run.
Prerrequisites
In order to install a portal bundle you will need the following software installed:
- Java 5 or later
- Note: Java 1.4 can be used for Liferay up to version 4.4
- A web browser such as Firefox or Internet Explorer
Windows
1) Download the desired bundle from http://www.liferay.com/web/guest/downloads/portal
2) Unzip the bundle file by clicking the right button and selecting the appropriate menu from the context menu
Note: It's recommended to avoid unzipping the file within a folder which has spaces in the name or that has a parent with spaces in the name. For example, use c:\liferay
3) Enter the folder created, and the bin subfolder. Run Liferay by double-clicking the startup.bat.
Note that the name of the file to run Liferay varies depending on the application server used. If you are not using the recommended bundle (which uses Tomcat 5.5), refer to the application server documentation.
4) Liferay will startup in 30-60 seconds on modern computers. Wait until you see a line similar to the following appear in the logs:
INFO: Server startup in 42950 ms
5) Open a browser and go to http://localhost:8080
6) Login as user test@liferay.com and password test This user has all administration priviledges.
Linux and Mac OS X
1) Download the desired bundle from http://www.liferay.com/web/guest/downloads/portal
2) Unzip the bundle file using the unzip command. For example:
$ cd /opt/liferay
$ unzip liferay-portal-tomcat-5.5-5.1.0.zip
3) Execute startup.sh from within the bin subdirectory:
$ cd liferay-portal-tomcat-5.5-5.1.0/bin
$ ./startup.sh
4) Liferay will startup in 30-60 seconds on modern computers. Wait until you see a line similar to the following appear in the logs:
INFO: Server startup in 42950 ms
5) Open a browser and go to http://localhost:8080
6) Login as user test@liferay.com and password test This user has all administration priviledges.
Note: that the name of the file to run Liferay varies depending on the application server used. If you are not using the recommended bundle (which uses Tomcat 5.5), refer to the application server documentation.
Next Steps
While the instructions above are enough to get the system up and running you may want to perform some further configuration steps such as:
- Installing plugins from the official repository or the community repository
- Configure Liferay Portal to use a production-ready database instead of the default HSQLDB
- Configure they system to access mail servers for sending and receiving emails
- Fine tune the performance of the system
- Find out how to install Liferay Portal in other application server
You can find information about how to do this and much more in the Portal Administrator's Guide. You can buy the print back book or download the PDF for free!!