CentOS 7 Installation OpenOffice & Java & Jodconverter

Source: Internet
Author: User

1. Download RPM installation package in OpenOffice http://www.openoffice.org/zh-cn/



2, upload to the archive package (apache_openoffice_4.1.1_linux_x86-64_install-rpm_zh-cn.tar.gz) to the CentOS server,


Tar zxvf apache_openoffice_4.1.1_linux_x86-64_install-rpm_zh-cn.tar.gz

Get ZH-CN folder after decompression

3. Edit the yum.conf file


Vi/etc/yum.conf


Add a row

[Main]

exclude=openoffice.org-ure* libreoffice-ure*


4. Enter the Zh-cn folder for RPM installation


CD ZH-CN

RPM-UVH rpms/*.rpm rpms/desktop-integration/openoffice4.1.1-redhat-*.rpm



5, after the installation of the default directory is in:/opt/directory, open OpenOffice.org monitoring service


/opt/openoffice4/program/soffice-headless-accept= "SOCKET,HOST=127.0.0.1,PORT=8100;URP;"-nofirststartwizard &

5. Install Java

Yum Install Java-y


6, download Jodconverter-2.2.2.zip compressed package, upload to the server decompression

7. Execute the conversion command, Java call Jodconverter-cli-2.2.2.jar

Java-jar/home/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar/home/1.doc/home/1.html


8, PHP by executing the above command exec, if the Exec invalid remember to check php.ini disable_functions there is no way to disable this method


CentOS 7 Installation OpenOffice & Java & Jodconverter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.