HOW TO INSTALL LIFERAY 7 ON WINDOWS
Liferay Installation -:
To install liferay on windows below are the required steps -:
But first the minimum requirements for the setup
- Liferay Eclipse IDE 3 (Extract to a location)
- JAVA 8 (Won't work below java 8)
- Mysql 5.6+
- Liferay Portal (Extract to a location)
In the first step we are going to check if JAVA-8 is installed on the system.
In the next step configure the Eclipse IDE as usual, by giving up the workspcae name. Once done with this step we will create a new servre.
Open Eclispe and click on the create new server. Now select the Lifery 7x option.
You will get the above screen, now select Next this will produce the below screen. Click on the browse button and select the portal directory in which you had extracted the liferay portal.
In most of the cases the old JDK/JRE will be installed on the system. And the eclipse will be probably starting using the same. Also if you see the eclipse uses JRE by default. So to overcome that you have to define a new JDK/JRE that points to JAVA8. To do that click on the installed JRE as shown in the below figure. Now select the path to JDK of java 8. Generally it is C:\Program Files\Java\jdk1.8.0_101 for Windows.
Once done with the above steps you will see that a new server has been created in the servers tab. Click on the start button and wait for it to start.
Once the server is up you can see the above screen in eclipse and below in the browser.
Liferay by default uses the Hypersonic database, we need to change it for further development. So to change it click on the Change button on the above screen. Post that the below screen will pop up. By default liferay users the lportal database name. So you need to create a new database with the name lportal. Now insert the username and password of the database in the form and click save.
Once the values are saved these configurations will be saved in the portal-setup-wizard.properties in the LIFERAY_HOME.
Now in order to make the database change effect we need to restart the portal.
Restart the portal, while restarting Liferay will fill up the required database with the sample data and your portal will be up. Once the portal is up the below home page will be visible.
Congratulations you have installed liferay 7 successfully :)
For
more details on the above topic please go through the below video on my you tubechannel.
To install liferay on windows below are the required steps -:
But first the minimum requirements for the setup - Liferay Eclipse IDE 3 (Extract to a location)
- JAVA 8 (Won't work below java 8)
- Mysql 5.6+
- Liferay Portal (Extract to a location)
In the first step we are going to check if JAVA-8 is installed on the system.
Open Eclispe and click on the create new server. Now select the Lifery 7x option.
Congratulations you have installed liferay 7 successfully :)
Liferay Installation -:
ReplyDeleteTo install liferay on windows below are the required steps -:
But first the minimum requirements for the setup
1) JAVA 8 (Won't work below java 8)
2) Mysql 5.6+
3) Liferay Eclipse IDE 3
4) Liferay Portal
Step 1 -: In the first step we are going to check if JAVA-8 is installed on the system.
Very well Introduced.
ReplyDeleteAlso developers need to take care that they must install JDK8 in their system otherwise Liferay plugins will not be visible in IDE.
Hi, can we do this in sts instead of eclipse
ReplyDelete