Thursday, 28 September 2017

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

TEST

I am Java Developer. I have 6 year Experiance in this field and like to post in blogging. So keep sharing and like my post

1 comments:

 

Copyright @ 2017 Liferay Article.