transcoding switching to LibreOffice processing related operations

Source: Internet
Author: User
Tags socket

transcoding switch to LibreOffice processing related operations uninstall OpenOffice
See if the system is installed OpenOffice

If the output similar to the above is displayed, the description is already installed, using:
Rpm-e rpm-qa |grep OpenOffice rpm-qa |grep ooobasis

Check to see if the OpenOffice socket service has been opened;
Ps-ef | grep soffice

If it is already started, kill the process first:
KILL-9 process PID//

Uninstalling OpenOffice
Note that if you use rpm–e openoffice-4.1.0-9764 directly because of some dependency problems, you will not be able to uninstall. Installing LibreOffice
Extract:
Tar zxvf libreoffice_4.4.5_linux_x86-64_rpm.tar.gz
Enter:
RPMs directory, execute:
RPM-UVH *.rpm
or (if the error above, do the following) Yum Localinstall *.rpm

Install LibreOffice boot LibreOffice
To create a soft link:
Ln-s/opt/libreoffice4.4/program/soffice/usr/bin/soffice

Start command:
/opt/libreoffice4.4/program/soffice "–ACCEPT=SOCKET,HOST=127.0.0.1,PORT=8100;URP; Staroffice.servicemanager "–nologo–headless–nofirststartwizard &
4. See if the port is started
Netstat-anop | grep 8100

When you start, you'll see output similar to the following: Windows processing

Windows can install LibreOffice directly without uninstalling OpenOffice
Check to see if Soffice or 8100 ports have been started, and if so, use Task Manager to close the Soffice process.

Libreoffice_4.4.5_win_x86.msi

After installation, enter the installation directory (program directory) via the command line, for example: F:\setup\LibreOffice\program

To execute a startup command:
Soffice "–ACCEPT=SOCKET,HOST=127.0.0.1,PORT=8100;URP; Staroffice.servicemanager "–nologo–headless–nofirststartwizard

Netstat-a Local run test (upload transcoding function)
In the development process, you need to test locally, just run at the OpenOffice or LibreOffice installation directory (program) command line
Soffice "–ACCEPT=SOCKET,HOST=127.0.0.1,PORT=8100;URP; Staroffice.servicemanager "–nologo–headless–nofirststartwizard

You can start.

Note:
If you have installed OpenOffice, you can directly use LibreOffice, just OpenOffice upload file is, cannot transcode WPS produced by Doc file.

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.