Liferay is a leading provider of open source enterprise portal and social collaboration software. Liferay is a Java-Platform Content Management System and it require minimum 1G of RAM to ensure that Liferay is as stable as possible. For further info on Liferay please visit http://www.liferay.com/
What you need?
1. Liferay Portal Community Edition Bundled with Tomcat 5.5
2. Java2 Standard Edition – JDK 5.0 Update 15
I’m going to install Liferay on RedHat5. So this tutorial is going to be all about Liferay in Redhat.
Step 1 – Download Me Now!!.
It’s time to download stuff. Below are installer you need to have.
1. Liferay Portal Community Edition Bundled with Tomcat 5.5
2. Java2 Standard Edition – JDK 5.0 Update 15 > Choose Linux > download jdk-1_5_0_15-linux-i586.bin
Next is to create new folder for Java and Liferay under location /usr/local/.
1. /usr/local/java/
2. /usr/local/liferay/
Than move your download Java and Liferay installer to respective folder you created earlier. So it should be like this:
1. /usr/local/java/jdk-1_5_0_15-linux-i586.bin
2. /usr/local/liferay/liferay-portal-tomcat-5.5-5.2.3.zip
Step 2 – Install Java (Let’s get messy).
Now that we already move Java and Liferay installer into respective folder, its time to do installation. Firstly lets us start by installing Java.
1. Change file modes
chmod +x jdk-1_5_0_15-linux-i586.bin
2. Next – install Java
./jdk-1_5_0_15-linux-i586.bin
Step 3 – Install Liferay.
Install Liferay is so easy.
1. Unzip Liferay
unzip liferay-portal-tomcat-5.5-5.2.3.zip
2. Next is to include few line for JAVA_HOME setting in Catalina locate at /usr/local/liferay/liferay-portal-5.2.3/tomcat-5.5.27/bin/catalina.sh. Edit catalina.sh and include line as below:
export JAVA_HOME=/usr/local/java/jdk1.5.0_15
export PATH=$JAVA_HOME/bin:$PATH
Step 4 – Run Liferay.
To run Liferay execute command as below:
/usr/local/liferay/liferay-portal-5.2.3/tomcat-5.5.27/bin/catalina.sh start
Wait around 30-60 second. Browser will automatic popup with Liferay login page and URL http://localhost:8080/
Default login access.
username: test@liferay.com
password: test
Once login to Liferay please follow instruction give and change your username & password accordingly.
If you have comment/feedback/opinion about this article, please fill in comment box below. TQ.