Install OpenOffice4.0 on CentOS6.6

Source: Internet
Author: User
Recently, due to project requirements, we need to install Openoffice on the company's server. after searching for some information on the Internet, we have successfully installed Openoffice. I will share it with you. 1, first download the required rpm Package: Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz or direct command Download: wgethttp: // heanet.dl.sourceforge.net/projec

Recently, due to project requirements, we need to install Openoffice on the company's server. after searching for some information on the Internet, we have successfully installed Openoffice. I will share it with you.

1, first download the required rpm Package: Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

Or direct command Download: wget http://heanet.dl.sourceforge.net/project/openofficeorg.mirror/4.0.0/binaries/zh-CN/Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

Put it in the server directory (I put it under opt)

2. decompress the downloaded openoffice (I directly decompress it to the opt directory): tar-zxvf Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_zh-CN.tar.gz

3. decompress the package and generate the folder zh-CN to go to the RPMS directory and directly run yum localinstall *. rpm.

4, then install RPMS/desktop-integration directory openoffice4.0-redhat-menus-4.0-9702.noarch.rpm: yum localinstall openoffice4.0-redhat-menus-4.0-9702.noarch.rpm

5. directly start the Openoffice service after the installation is complete:

Temporarily start/opt/openoffice4/program/soffice-headless-accept = "socket, host = 127.0.0.1, port = 8100; urp;"-nofirststartwizard
Start nohup/opt/openoffice4/program/soffice-headless-accept = "socket, host = 127.0.0.1, port = 8100; urp;"-nofirststartwizard &

6. check whether the service is started (Port 8100 is occupied by soffice): netstat-lnp | grep 8100

Result: tcp 0 0 127.0.0.1: 8100 0.0.0.0: * LISTEN 19501/soffice. bin

SUCCESS !!!

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.