java

Installation Of Liferay Portal 6.0.5 Community Edition With Java And MySQL On Ubuntu 10.04 Server

Liferay Portal is an enterprise web platform for building business solutions that deliver immediate results and long-term value. Get the benefits of packaged applications and an enterprise application framework in a single solution.

1. Install Java JDK

a) First we will create a directory for java

mkdir /usr/java

b) Now we must download the JDK.

For this tutorial I will be using the 64bit version, if you are using the 32bit version of Ubuntu you will need to download the i586 version.
Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html and download ‘jdk-6u21-linux-x64.bin’ to the java directory you created in step 1

c) Now we will make the bin file executable and run it

cd /usr/java
chmod +x jdk-6u21-linux-x64.bin
./jdk-6u21-linux-x64.bin

d) We must insert the following lines inside /etc/profile for both JDK6 and Liferay Portal

Open /etc/profile

nano /etc/profile

e) Ensure that JAVA_HOME and LIFERAY_HOME environment are correctly set. To do this, open a new terminal and type the following commands

echo $JAVA_HOME
echo $LIFERAY_HOME

2. Create the database

mysql -u root –p

Create a database

CREATE DATABASE lportal DEFAULT CHARACTER SET utf8;
quit;

3. Create a directory for Liferay

mkdir /usr/liferay

Continue reading “Installation Of Liferay Portal 6.0.5 Community Edition With Java And MySQL On Ubuntu 10.04 Server” »

Be the first to comment - What do you think?  Posted by Aniruddh - December 8, 2011 at 6:21 pm

Categories: java, MySQL, Ubuntu   Tags: