Sunday 19 February 2017

Liferay 7

Install liferay 7 in Eclipse Luna

Download liferay plugin update site( Liferay IDE 3.0.1-ga2 Archieved Update-site) from the below link
Open Eclipse Go to HelpàInstall New Software





Upload the liferay updated site in Archieve and enter Name as Liferay .
Click ok and continue the liferay installation .Select  the check box and finish it.
After liferay installation You can configure liferay server.
Goto àPreferences à Server àRuntime Environments àchoose Liferay 7.x  and  click next






After Browse…  click finish.
Start the server
Once server starts it will open URL as localhost:8080 in browser with default configurations.
If you want to change the DB change here (or) finish with default configuration and DB as hypersonic.
If everything goes well you can see the below screen.





Please upgrade to at least MySQL 5.6.4. The portal no longer supports older versions of MySQL.
After configuring mysql as DB you may get the above error in console if my sql version is below 5.6

So please try to upgrade the sql  version and try.

Friday 17 February 2017

Liferay 7

Steps for  liferay 7 through command prompt in windows
1)Install  java 8  in your system
2) Path setting should be proper
For Example:
JAVA_HOME - C:\Program Files\Java\jdk1.8.0_101
JRE_HOME   - C:\Program Files\Java\jdk1.8.0_101\jre
Based on your installation you can provide the path but JRE_HOME should be inside jdk’s (JRE as mentioned above)
3)Download liferay 7 from the below path
Choose your version and download here
Extract the downloaded zip file
Open the command prompt   and run the below commands
If you are in C drive move to required path for Example
C:\Users\user>D:
D:\>cd D:\softwares\Liferay NEW\liferay-ce-portal-7.0-ga2\tomcat-8.0.32\bin
After entering into bin just start the server with startup.bat  command once if server starts It will come in browser as localhost:8080 with basic configurations.
Enter name and  email id or continue with defaults as test@liferay.com.
Choose password and reminder question and finish it.
If page looks like the below diagram make sure your JRE path once again and try.




If your path is proper then you can see the page as