Tuesday 29 August 2017

Liferay 7 Installation

Liferay 7 Installation


Step 1 Download Liferay and Java 8 and Eclipse

Step 2 Server Configuration
  • Open your Eclipse IDE GoTo Windows--Show View--click on server 
  • Click available link to create new server 
  • Go to Liferay  and configure Liferay 7.x as shown below

  • Click Next and set path of your local directory where you have extracted Liferay portal tomcat. 
  • Note Liferay 7 requires complete jdk8 not just jre so click on Installed JRE and configure your jdk as shown below.

  • Click on Add
  • Select Standard VM and click on Next
  • Then give path of your jdk and click finish 
  • Now select available jdk option and click on Finish 

Step 3 Creating Liferay Workspace
  • Goto File ---New--click on liferay workspace project.
  • Enter name of workspace and download liferay bundle must be unchecked since we have already download  liferay bundle.
  • Click on Finish.
  • This will create your liferay workspace as shown below.

Step 4 Database Configration
  • Create portal-ext.properties file and add database properties as shown bellow
  • Note here liferayportal is my database name in mysql
  • Change username,password and liferay home path according to your configration and installation directory
  • Place portal-ext.properties parallel to your tomcat server directory
jdbc.default.driverClassName=com.mysql.jdbc.Driver

jdbc.default.password=root

jdbc.default.username=root

jdbc.default.url=jdbc:mysql://localhost/liferayportal?characterEncoding=UTF-8&dontTrackOpenResources=true&holdResultsOpenOverStatementClose=true&useFastDateParsing=false&useUnicode=true

liferay.home=D:/LiferayDXP/liferay-dxp-digital-enterprise-tomcat-7.0-ga1-20160617092557801/liferay-dxp-digital-enterprise-7.0-ga1

Step 5 Start tomcat server
  • Create database  liferayportal  in your mysql.
  • Finally we have completed all our configration 
  • Start your server.

No comments:

Post a Comment