Install and deploy OpenOffice under centos5 to convert office files to PDF files

Source: Internet
Author: User

OpenOffice.org is a free software that anyone can download, use, and promote for free. The OpenOffice mentioned in this article is mainly used for conversion.

1. Directly install centos5

First, obtain the OpenOffice installation package. Generally, the fedora platform comes with An OpenOffice installation file, or directly installs Yum install * OpenOffice *. resources can be obtained on the Chinese platform.

If you cannot install Yum install * OpenOffice *, You need to download the installation file.

Wget http://mdl1.mydown.yesky.com/21/soft/201004/OOo_3.2.0_LinuxX86-64_install_wJRE_zh-CN.tar.gz


Tar-ivxf OOo_3.2.0_LinuxX86-64_install_wJRE_zh-CN.tar.gzcd OOO320_m12_native_packed-1_zh-CN.9483/RPMS/orcd/home/admin/OOO320_m12_native_packed-1_zh-CN.9483/rpmsrpm-IVH *. rpm

2. Start the command

/Opt/OpenOffice. org3/Program/soffice-Headless-accept = "socket, host = 127.0.0.1, Port = 8100; URP;"-nofirststartwizard

3. Stop OpenOffice

PS aux | grep sffice killl process number

3. Manually uninstall OpenOffice commands
Send a simple command to uninstall OpenOffice and copy it to the terminal and run it as a root user:
Rpm-e 'rpm-Qa | grep OpenOffice ''' rpm-Qa | grep ooobasis'
If you press it manually, note that the comment above is not a single quotation mark, but the key before the number 1.

4. Install Japanese support

Download Japanese support package

Wget http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ja/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86-64_langpack-rpm_ja.tar.gz/download

Decompress the package

Rpm-IVH *. rpm

Install

If an error is reported

Download the entire OpenOffice installation package, decompress the package, and install

Rpm-I ooobasis3.4-core01-3.4.0-9590.x86_64.rpm

Rpm-I ooobasis3.4-calc-3.4.0-9590.x86_64.rpm

Restart OpenOffice

Kill Process

/Opt/OpenOffice. org3/Program/soffice. Bin-Headless-accept = socket, host = 127.0.0.1, Port = 8100; URP;-nofirststartwizard


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.