Installing LifeRay on a local machine
There are 2 different ways of setting up a Liferay Development Environment
1) We can download Liferay IDE from liferay website.
2) We can configure the existing eclipse IDE for making it as a Liferay Development Environment.
1) Downloading Liferay IDE from Liferay official website
How to download Liferay IDE from liferay website?
Step : 1) Go to www.liferay.com
Click on Developers dropdown list --> Select Downloads
Click on Liferay projects dropdown list --> Select Liferay IDE
You will be prompted with Liferay IDE and Liferay Developer Studio.
Step : 2) Based on OS you are using select the required Liferay IDE and Click on Download
Ex : I am using Windows 64-bit OS so I opt for
Eclipse Luna + Liferay IDE 2.2.4-ga5 (Windows 64-bit)
This will give us Integrated Liferay + Eclipse IDE.
OR
2) Configuring existing Eclipse IDE with Liferay Development Environment
Step : 1) Download the required Liferay Zip files
Make sure you download the latest stable version/relaease of below mentioned files.
File:1) Download the liferay-ide-updatesite-XXX.zip file.
Ex : liferay-ide-updatesite-2.2.4-ga5-201507230603.zip
Link : http://sourceforge.net/projects/lportal/files/Liferay%20IDE/2.2.4%20GA5/
File:2) Download the liferay-plugins-sdk-6.2-XXX.zip file.
Ex : liferay-plugins-sdk-6.2-ce-ga4-20140319114139101.zip
Link : http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.3%20GA4/
File:3) Download the liferay-portal-tomcat-6.2-XXX.zip file.
Ex : liferay-portal-tomcat-6.2-ce-ga4-20150416163831865.zip
Link: http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.3%20GA4/
Step:2) Add Downloaded liferay-ide-updatesite-XXX.zip to Eclipse
Open the existing Eclipse IDE.
Click Help --> Install New Software --> Add --> Archive --> Select the downloaded liferay-ide-updatesite-XXX.zip File
Type some name like: Liferay IDE
Click OK --> Select All --> Next --> Accept Licence Agreement --> Finish
Restart your eclipse after successful installation.
Step : 3) Configuring Liferay SDK
After Eclipse is restarted you can notice few new icon’s related to Liferay on the top which has options
like : Create a new Liferay plugin project, Create a new Liferay portlet, Create a new Liferay Server.
Click on Window --> Preferences --> Liferay --> Installed Plugin SDK’s --> Add --> Browse --> Select the downloaded liferay-plugins-sdk-6.2-XXX (Unzipped) file --> OK --> OK
Step : 4) Configure Liferay Tomcat Server
Click on Window --> Preferences --> Server --> Runtime Environment --> Add Liferay, Inc. Liferay v6.1 CE (Tomcat 7) --> Browse --> Select the liferay-portal-6.2-ce-ga4\tomcat-7.0.42 in downloaded liferay-portal-tomcat-6.2-XXX file --> Finish --> OK
Now setting up development environment is done.
Step : 5) Create and Start a Liferay tomcat server
Go to Server Tab Right click --> new --> server --> select Liferay v6.1 CE Server (Tomcat 7) --> Next --> Finish
Now restart the created Server.
Right click on server --> Click on Open Liferay Portal Home
Now, Liferay Portal Home gets opened in eclipse browser.
Step : 6) Login to Liferay Account
Sign In to Liferay Account with your credentials
If you don’t have a Liferay account that you can create one by clicking on Create Account.
Now We have successfully installed Liferay development environment with eclipse.
There are 2 different ways of setting up a Liferay Development Environment
1) We can download Liferay IDE from liferay website.
2) We can configure the existing eclipse IDE for making it as a Liferay Development Environment.
1) Downloading Liferay IDE from Liferay official website
How to download Liferay IDE from liferay website?
Step : 1) Go to www.liferay.com
Click on Developers dropdown list --> Select Downloads
Click on Liferay projects dropdown list --> Select Liferay IDE
You will be prompted with Liferay IDE and Liferay Developer Studio.
Step : 2) Based on OS you are using select the required Liferay IDE and Click on Download
Ex : I am using Windows 64-bit OS so I opt for
Eclipse Luna + Liferay IDE 2.2.4-ga5 (Windows 64-bit)
This will give us Integrated Liferay + Eclipse IDE.
OR
2) Configuring existing Eclipse IDE with Liferay Development Environment
Step : 1) Download the required Liferay Zip files
Make sure you download the latest stable version/relaease of below mentioned files.
File:1) Download the liferay-ide-updatesite-XXX.zip file.
Ex : liferay-ide-updatesite-2.2.4-ga5-201507230603.zip
Link : http://sourceforge.net/projects/lportal/files/Liferay%20IDE/2.2.4%20GA5/
File:2) Download the liferay-plugins-sdk-6.2-XXX.zip file.
Ex : liferay-plugins-sdk-6.2-ce-ga4-20140319114139101.zip
Link : http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.3%20GA4/
File:3) Download the liferay-portal-tomcat-6.2-XXX.zip file.
Ex : liferay-portal-tomcat-6.2-ce-ga4-20150416163831865.zip
Link: http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.3%20GA4/
Step:2) Add Downloaded liferay-ide-updatesite-XXX.zip to Eclipse
Open the existing Eclipse IDE.
Click Help --> Install New Software --> Add --> Archive --> Select the downloaded liferay-ide-updatesite-XXX.zip File
Type some name like: Liferay IDE
Click OK --> Select All --> Next --> Accept Licence Agreement --> Finish
Restart your eclipse after successful installation.
Step : 3) Configuring Liferay SDK
After Eclipse is restarted you can notice few new icon’s related to Liferay on the top which has options
like : Create a new Liferay plugin project, Create a new Liferay portlet, Create a new Liferay Server.
Click on Window --> Preferences --> Liferay --> Installed Plugin SDK’s --> Add --> Browse --> Select the downloaded liferay-plugins-sdk-6.2-XXX (Unzipped) file --> OK --> OK
Step : 4) Configure Liferay Tomcat Server
Click on Window --> Preferences --> Server --> Runtime Environment --> Add Liferay, Inc. Liferay v6.1 CE (Tomcat 7) --> Browse --> Select the liferay-portal-6.2-ce-ga4\tomcat-7.0.42 in downloaded liferay-portal-tomcat-6.2-XXX file --> Finish --> OK
Now setting up development environment is done.
Step : 5) Create and Start a Liferay tomcat server
Go to Server Tab Right click --> new --> server --> select Liferay v6.1 CE Server (Tomcat 7) --> Next --> Finish
Now restart the created Server.
Right click on server --> Click on Open Liferay Portal Home
Now, Liferay Portal Home gets opened in eclipse browser.
Step : 6) Login to Liferay Account
Sign In to Liferay Account with your credentials
If you don’t have a Liferay account that you can create one by clicking on Create Account.
Now We have successfully installed Liferay development environment with eclipse.
No comments:
Post a Comment