This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Basic Installation of Liferay
mansoor BASIC STEPS TO START A SERVER AND TO OPEN A LIFERAY PAGE…
Step 1 :
Create a new folder…in that insert plug-ins, server and
portal.
Step 2:
In plug-in folder just copy the “build.ur pcname” properties… It just look like-
build.AHAMED-PC.properties
Then goto server->tomcat->webapps->select (sevencogs hooks,sevencogs mobile,sevencogs themes)and now delete all selected items Now goto server->tomcat->webapps->root->webinf- >classes-> Here copy that portal.ext properties file…open and edit the content
portal-ext.properties
jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost/kumar?useUnicode=true& characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.username=root jdbc.default.password=root
Replace kumar to your database name
Which is used to give connection between Mysql and
liferay….
Step 3 :
Now open Mysql and create one database….using (create database db name;)
Step 4:
Now open eclipse then browse and choose the target
folder…
In eclipse click window in top menu bar…
Give window->show view->navigator
In navigator right click->new->other->javaproject-
>click next……
now enable the existing file and choose the plugins-
>click finish.
Similarly for server………..
In menu bar goto RUN->Run configuration-java
application….
This will open a window like this…..
For main class:
goto server->tomcat->bin->catalina…open that in
notepad and find the org.startup….now copy that and
paste that in main class..
For arguments :
goto server->tomcat->bin->setenv….open that
in notepad and copy this path (-Xmx1024m -
XX:MaxPermSize=256m) to VMarguments….
Now click on working directory Goto other-
>workspace->server->tomcat and click ok
For JRE :
There is no changes in JRE
Class path :
Click on server(default) and remove that….then click
User entities->Add External jars..
Don’t make any changes in Source and Environment
Common :
Enable run and debug….and click ok