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