SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
Liferay 6.2 Portal Installation

2014

Liferay 6.2 Portal Installation

1. Environment: Windows, Tomcat Server and Liferay 6.2CE with MySQL
Note:
I have used windows 7 operating system you can apply same steps to any environment. Only
change in setting environment variables and download software based on OS remaining all are
same for any operating system.
2. Required Steps

1.
2.
3.
4.
5.
6.

Install JDK and setting required environment variables (JAVA_HOME, path)
Download MySQL server and Start MySQL server
Download HeidiSQL and install(Optional)
Connecting to MySQL server and create Database for Liferay
Download Liferay 6.2 Tomcat Bundles
Configure database setting in portal-ext.properties file and place properties file in
Liferay Home directory.
7. Start tomcat server and access Liferay Portal
8. Complete required basic configurations for liferay portal
3. Install JDK and setting required environment variables (JAVA_HOME, path) java SDK 1.6
4. Download MySQL server and Start MySQL server
5. Download HeidiSQL and install
Download HeidiSQL to access MySQL server databases. This is very good user interface to
access database and modifies the data base tables.
6. Connecting to MySQL server and create Database for Liferay
We can do this in two ways

1. Connecting MySQL from HeidiSQL and create Liferay Data base
2. Connecting to MySQL from MS DOS command prompt and create data base for liferay

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 1
Liferay 6.2 Portal Installation

2014

7. Connecting MySQL from HeidiSQL and create Liferay Data base
Once successful installation of HeidiSQL, go to windows start and click on HeidiSQL.

8.In Login window enter following details and connect to MySQL server.
Click on New and enter the following details
Host Name: 127.0.0.1 OR localhost
User: root
Password: nothing it’s empty

9. Once you successfully login you can see databases view as follows

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 2
Liferay 6.2 Portal Installation

2014

10. Create lportal database for Liferay portal. Right click on root node and select create
new database

11. Enter database name lportal and click on Ok then database will be created
12. Connecting to MySQL from MS DOS command prompt and create data base for liferay
This is another way to connecting to MySQL server with windows command prompt
Open MS Dos command prompt from your system
Go to MySQL server bin directory from command prompt and enter following command
and press enter
It will ask password no need to enter password (because our password is empty) and
again press enter

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 3
Liferay 6.2 Portal Installation

2014

13. Now create data base using following command and press enter then loprtal data
base will be created.

14. Download Liferay 6.2 Tomcat bundle.
Download Liferay 6.2 Tomcat bundle from following location
https://www.liferay.com/downloads/liferay-portal/available-releases

Now extract the Liferay 6.2 Tomcat Bundle Zip file in your desired location of your system
Once you extract the zip file go to extracted folder then you can see following directories and
files.

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 4
Liferay 6.2 Portal Installation

2014

Note:
This extracted directory is called Liferay Home
15. Configure database setting in portal-ext.properties file and place properties file in
Liferay Home directory
Once you extracted the zip file then you can see liferay-potal-6.2.0-ce-rc4 directory this is
called Liferay Home directory or we can say the directory which contains tomcat server is called
Liferay Home directory
Create one file called portal-ext.properties file in Lifeay Home Directory and add following
MySQL data base configurations.

Note:
Here our data base name is lportal already we created in previous step. You can create any
database name of your choice but you need specify in portal-ext.properties file.
The following screen shows you portal-ext.properties file in Liferay Home directory

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 5
Liferay 6.2 Portal Installation

2014

16. Start Tomcat server and access Liferay Portal
Go to Liferay Home and you can find tomcat (tomcat-7.0.40) directory
Open tomcat directory in side you can find bin directory
Open bin directory double click on startup.bat then tomcat server will be started.
The following screen shows tomcat bin directory startup.bat
When you see the server startup in some seconds then it indicates liferay application is
started
17. Access Liferay Portal
Use following URL in browser address bar to access liferay portal
http://localhost:8080/
18. Complete required basic configurations for liferay portal
Once access Liferay portal from above URL it will show basic configuration page and we need to
fill information like
Portal Name: anything your choice
Default Language: your choice from select box
Admin First Name: anything your choice
Admin Last Name: anything your choice
Admin Email: anything your choice (default is test@liferay.com)
In data base section you can find our lportal congigurations
After fill the information click on Finish Configuration button it will take few seconds to store
configurations.
Note:
Remember email which you have given, this is admin email for next login.
The following is liferay portal basic configuration page

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 6
Liferay 6.2 Portal Installation

2014

The following is liferay portal welcome page

References :
Go through following liferay user guide to do more things in your portal
https://www.liferay.com/documentation/liferay-portal/6.2/user-guide

Created by Prabhakaran .J (EWT Portal Practice Team)

Page 7

Contenu connexe

En vedette

En vedette (7)

Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
 
EclipseCon Europe 2015 - liferay modularity patterns using OSGi -Rafik Harabi
EclipseCon Europe 2015 - liferay modularity patterns using OSGi -Rafik HarabiEclipseCon Europe 2015 - liferay modularity patterns using OSGi -Rafik Harabi
EclipseCon Europe 2015 - liferay modularity patterns using OSGi -Rafik Harabi
 
Social Media Marketing
Social Media MarketingSocial Media Marketing
Social Media Marketing
 
Liferay portals in real projects
Liferay portals  in real projectsLiferay portals  in real projects
Liferay portals in real projects
 
Liferay architecture By Navin Agarwal
Liferay architecture By Navin AgarwalLiferay architecture By Navin Agarwal
Liferay architecture By Navin Agarwal
 
Social networking presentation
Social networking presentationSocial networking presentation
Social networking presentation
 
iProfs-Liferay Roadshow-03-10-13 - LPSF Highlights
iProfs-Liferay Roadshow-03-10-13 - LPSF HighlightsiProfs-Liferay Roadshow-03-10-13 - LPSF Highlights
iProfs-Liferay Roadshow-03-10-13 - LPSF Highlights
 

Plus de prabakaranbrick (10)

Install and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windowsInstall and configure mongo db nosql db on windows
Install and configure mongo db nosql db on windows
 
Sonar
SonarSonar
Sonar
 
Web services for remote portlets v01
Web services for remote portlets v01Web services for remote portlets v01
Web services for remote portlets v01
 
Jmeter
JmeterJmeter
Jmeter
 
Nuxeo dm installation
Nuxeo dm installationNuxeo dm installation
Nuxeo dm installation
 
Gwt portlet
Gwt portletGwt portlet
Gwt portlet
 
Jackrabbit setup configuration
Jackrabbit setup configurationJackrabbit setup configuration
Jackrabbit setup configuration
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
Hadoop cluster configuration
Hadoop cluster configurationHadoop cluster configuration
Hadoop cluster configuration
 
Installation and configure the oracle webcenter
Installation and configure the oracle webcenterInstallation and configure the oracle webcenter
Installation and configure the oracle webcenter
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Liferay portal installation 6.2

  • 1. Liferay 6.2 Portal Installation 2014 Liferay 6.2 Portal Installation 1. Environment: Windows, Tomcat Server and Liferay 6.2CE with MySQL Note: I have used windows 7 operating system you can apply same steps to any environment. Only change in setting environment variables and download software based on OS remaining all are same for any operating system. 2. Required Steps 1. 2. 3. 4. 5. 6. Install JDK and setting required environment variables (JAVA_HOME, path) Download MySQL server and Start MySQL server Download HeidiSQL and install(Optional) Connecting to MySQL server and create Database for Liferay Download Liferay 6.2 Tomcat Bundles Configure database setting in portal-ext.properties file and place properties file in Liferay Home directory. 7. Start tomcat server and access Liferay Portal 8. Complete required basic configurations for liferay portal 3. Install JDK and setting required environment variables (JAVA_HOME, path) java SDK 1.6 4. Download MySQL server and Start MySQL server 5. Download HeidiSQL and install Download HeidiSQL to access MySQL server databases. This is very good user interface to access database and modifies the data base tables. 6. Connecting to MySQL server and create Database for Liferay We can do this in two ways 1. Connecting MySQL from HeidiSQL and create Liferay Data base 2. Connecting to MySQL from MS DOS command prompt and create data base for liferay Created by Prabhakaran .J (EWT Portal Practice Team) Page 1
  • 2. Liferay 6.2 Portal Installation 2014 7. Connecting MySQL from HeidiSQL and create Liferay Data base Once successful installation of HeidiSQL, go to windows start and click on HeidiSQL. 8.In Login window enter following details and connect to MySQL server. Click on New and enter the following details Host Name: 127.0.0.1 OR localhost User: root Password: nothing it’s empty 9. Once you successfully login you can see databases view as follows Created by Prabhakaran .J (EWT Portal Practice Team) Page 2
  • 3. Liferay 6.2 Portal Installation 2014 10. Create lportal database for Liferay portal. Right click on root node and select create new database 11. Enter database name lportal and click on Ok then database will be created 12. Connecting to MySQL from MS DOS command prompt and create data base for liferay This is another way to connecting to MySQL server with windows command prompt Open MS Dos command prompt from your system Go to MySQL server bin directory from command prompt and enter following command and press enter It will ask password no need to enter password (because our password is empty) and again press enter Created by Prabhakaran .J (EWT Portal Practice Team) Page 3
  • 4. Liferay 6.2 Portal Installation 2014 13. Now create data base using following command and press enter then loprtal data base will be created. 14. Download Liferay 6.2 Tomcat bundle. Download Liferay 6.2 Tomcat bundle from following location https://www.liferay.com/downloads/liferay-portal/available-releases Now extract the Liferay 6.2 Tomcat Bundle Zip file in your desired location of your system Once you extract the zip file go to extracted folder then you can see following directories and files. Created by Prabhakaran .J (EWT Portal Practice Team) Page 4
  • 5. Liferay 6.2 Portal Installation 2014 Note: This extracted directory is called Liferay Home 15. Configure database setting in portal-ext.properties file and place properties file in Liferay Home directory Once you extracted the zip file then you can see liferay-potal-6.2.0-ce-rc4 directory this is called Liferay Home directory or we can say the directory which contains tomcat server is called Liferay Home directory Create one file called portal-ext.properties file in Lifeay Home Directory and add following MySQL data base configurations. Note: Here our data base name is lportal already we created in previous step. You can create any database name of your choice but you need specify in portal-ext.properties file. The following screen shows you portal-ext.properties file in Liferay Home directory Created by Prabhakaran .J (EWT Portal Practice Team) Page 5
  • 6. Liferay 6.2 Portal Installation 2014 16. Start Tomcat server and access Liferay Portal Go to Liferay Home and you can find tomcat (tomcat-7.0.40) directory Open tomcat directory in side you can find bin directory Open bin directory double click on startup.bat then tomcat server will be started. The following screen shows tomcat bin directory startup.bat When you see the server startup in some seconds then it indicates liferay application is started 17. Access Liferay Portal Use following URL in browser address bar to access liferay portal http://localhost:8080/ 18. Complete required basic configurations for liferay portal Once access Liferay portal from above URL it will show basic configuration page and we need to fill information like Portal Name: anything your choice Default Language: your choice from select box Admin First Name: anything your choice Admin Last Name: anything your choice Admin Email: anything your choice (default is test@liferay.com) In data base section you can find our lportal congigurations After fill the information click on Finish Configuration button it will take few seconds to store configurations. Note: Remember email which you have given, this is admin email for next login. The following is liferay portal basic configuration page Created by Prabhakaran .J (EWT Portal Practice Team) Page 6
  • 7. Liferay 6.2 Portal Installation 2014 The following is liferay portal welcome page References : Go through following liferay user guide to do more things in your portal https://www.liferay.com/documentation/liferay-portal/6.2/user-guide Created by Prabhakaran .J (EWT Portal Practice Team) Page 7