Thursday, 15 December 2011

Run Your Liferay on Shared Server.

1.Download Liferay Portal
            http://www.liferay.com/downloads/liferay-portal/available-releases

2.Extract Portal on your Shared Server.

3.Goto ..\liferay-portal-Version\tomcat-6.0.18\webapps\ROOT\WEB-INF\classes\

4.Edit portal-ext.properties  , if file is not there create a new file same name.

5. put cofiguration of database.(or it will take default liferay DB HSQL )


       #
       #   db connection
       #
       jdbc.default.driverClassName=com.mysql.jdbc.Driver
       jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
       jdbc.default.username=xxxx
       jdbc.default.password=xxxx

       #
       #  if running from sub folder.because you are running on shared.
       #  change Root foleder naem to your context.
       #
      
      portal.ctx=/portal    


       #
       #  Document ,Articles and images Stored

       # 
     
        liferay.home=/home/lportal/liferay
create a .htaccess file to Liferay root directory 
and Add following contentc to file ..
     SetHandler jakarta-servlet
     SetEnv JK_WORKER_NAME ajp13

No comments:

Post a Comment

Infinidb _CpNoTf_ problem

infinidb table with a varchar column insert string as a '_CpNoTf_' while using Cpimport. The Problem is occured if inserted string ...