How to integrate openoffice and liferay for document conversion.

Follow below steps:

1. First to download openoffice open terminal and execute.

wget http://freefr.dl.sourceforge.net/project/openofficeorg.mirror/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86-64_install-deb_en-US.tar.gz

2. Go to download folder. execute
 tar -xvzf Apache_OpenOffice_4.0.0_Linux_x86-64_install-deb_en-US.tar.gz

3. Install the .deb files by typing

sudo dpkg -i *.deb

4. Got to /opt/openoffice4/program$
execute
sudo sh soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

5. Go to liferay control panel>server administrator>external services and then enable open office with port 8100

Enjoy..

Comments

Popular posts from this blog

JPA vs Spring JPA vs Spring Data JPA vs Hibernate

How to add portlet in liferay theme.

How to enable cross origin in apache.