Posts

Showing posts with the label Openoffice

Run open office as service in Ubuntu.

First You have to create a service for start openoffice. I have created a service under /etc/init.d it called OpenOffice. Script looks like #!/bin/bash     ### BEGIN INIT INFO # Provides:          dovecot # Required-Start:    $local_fs $network # Required-Stop:     $local_fs # Default-Start:     2 3 4 5 # Default-Stop:      0 1 6 # Short-Description: dovecot # Description:       dovecot pop & imap daemon ### END INIT INFO     # openoffice.org headless server script     #     # chkconfig: 2345 80 30     # description: headless openoffice server script     # processname: openoffice     #     # Author: Vic Vijayakumar     # Modified by Federico Ch. Tomasczik     #   ...

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..