Liferay enviorment set up step by step.
1. Download liferay-portal, liferay-plugin from github
Portal URL:https://github.com/liferay/liferay-portal
Plugin URL:https://github.com/liferay/liferay-plugins
You can download as zip or git clone from here.
2. Go to downloaded liferay-portal directory and run the command "ant all"
Before this install java and ant.
And install ecj. For this follow the below link:
http://tariqliferay.blogspot.com/2015/02/liferay-builds-with-ecj-compilertricks.html
After some times BUILD FAILED and show, If you already have Tomcat
installed, make sure the property "${app.server.tomcat.dir}" points to your
Tomcat installation.
Please run the below command
"ant -buildfile build-dist.xml unzip-tomcat"
And then again run the command "ant all"
3. This will be created a folder named "bundle" in the same directory.
4. Go to bundle folder and there should be appear apache tomcat directory.
5. Go to bin folder and run the command "./catalina.sh start"
6. To see the log run the command "tail -f ../logs/catalina.out"
7. Create a database in mysql name lportal (or your wish)
8. Change the database configuration as below:
Open new tab in browser and type localhost:8080
Click on change button below database.
9. Click on finish configuration.
10. How to install liferay in eclipse:
10.1 Go to Help-->Eclipse MarketPlace
Type Liferay in search text filed and enter.
Here you find Liferay IDE and install this.
11. How to configure liferay-plugin and liferay server in eclipse
11.1 Go to Window > Preferences > Expand liferay > Installed Plugin SDK.
Add plugin sdk(Browse your downloaded liferay plugin sdk)
11.2 Go to Window > Preferences > Server > Runtime Environment >Add > Liferay v6.2
Portal URL:https://github.com/liferay/liferay-portal
Plugin URL:https://github.com/liferay/liferay-plugins
You can download as zip or git clone from here.
2. Go to downloaded liferay-portal directory and run the command "ant all"
Before this install java and ant.
And install ecj. For this follow the below link:
http://tariqliferay.blogspot.com/2015/02/liferay-builds-with-ecj-compilertricks.html
After some times BUILD FAILED and show, If you already have Tomcat
installed, make sure the property "${app.server.tomcat.dir}" points to your
Tomcat installation.
Please run the below command
"ant -buildfile build-dist.xml unzip-tomcat"
And then again run the command "ant all"
3. This will be created a folder named "bundle" in the same directory.
4. Go to bundle folder and there should be appear apache tomcat directory.
5. Go to bin folder and run the command "./catalina.sh start"
6. To see the log run the command "tail -f ../logs/catalina.out"
7. Create a database in mysql name lportal (or your wish)
8. Change the database configuration as below:
Open new tab in browser and type localhost:8080
Click on change button below database.
9. Click on finish configuration.
10. How to install liferay in eclipse:
10.1 Go to Help-->Eclipse MarketPlace
Type Liferay in search text filed and enter.
Here you find Liferay IDE and install this.
11. How to configure liferay-plugin and liferay server in eclipse
11.1 Go to Window > Preferences > Expand liferay > Installed Plugin SDK.
Add plugin sdk(Browse your downloaded liferay plugin sdk)
11.2 Go to Window > Preferences > Server > Runtime Environment >Add > Liferay v6.2



Comments
Post a Comment